Thanks to nice projects on DIY Digital Setting Circles in this forum. I tried developing the DSC based on M5Stack (ESP32) which has the display, buttons, and battery add-on. The M5Stack core is available for about $31 and the battery add-on $13 in Aliexpress and Banggood.com. I want to make the M5-DSC as simple as possible. There is no need to have the knowledge in code compilation.
Setup steps for Windows:
1. Install the device driver from:
http://m5stack.com/d...VCP_Windows.zip
2. Get the M5-DSC firmware from
https://drive.google...0xy?usp=sharing
Download and uncompress M5-DSC.zip
NOTE: Inside the zipped file, there is an executable file “esptool.exe” which may be flagged as a virus. Please ignore the warning. If you are unhappy, choose the file: M5-DSC NO EXE FILES.zip. And get the executable file from the chip manufacturer: https://dl.espressif...24e-windows.zip and put the executable file “esptool.exe” in the unzipped folder.
3. Plug the M5Stack to your PC.
4. Inside the folder M5-DSC, double click the file “Upload.bat” The firmware will be uploaded to the M5Stack. DONE!
Wiring:
AZ encoder: Ch A to Pin 2, Ch B to Pin 5
ALT encoder: Ch A to Pin 21, Ch B to Pin 22
For CUI AMT102 encoders, use 3.3V Pin to supply voltage. For other 5V encoders, use 5V Pin to supply voltage.
ESP32 is 5V tolerant. Refer to the response by Espressif CEO in:
https://www.facebook...hc_location=ufi
With the battery add-on, the M5-DSC can work for 5 hours.
How to use:
1) When M5-DSC is powered on, the screen will show
- SSID as M5-DSC_XXXX,
- Password which is the MAC address of the device,
- IP address (192.168.4.1) and
- Port (8888).
The display will turn off after 5 sec. You can press the middle button (Button B) to turn on the display.
2) Use your mobile device to connect to the Wifi access point created by the M5-DSC
3) In Skysafari, set the protocol as “Basic Encoder System” and “Alt-Az Push-to”. And input the IP address and Port as shown in the display.
4) Click “Telescope” and then “Connect”. Now you can enjoy using the M5-DSC.
Edited by anat, 12 June 2018 - 05:23 PM.