Software
Arduino IDE and configuration files
1. Follow the OnStep Wiki instructions carefully for setting up Arduino IDE correctly for
flashing both the Wemos R32 and the ESP8266 (Link and Link). Pay special
attention to Library versions!
2. Download OnStep V4.x Master File and extract to default Arduino sketch folder
(Direct Download Link)
3. Download and populate the Configuration Calculation sheet with correct values for
your mount, stepper motors and gears (Direct Download Link):
a. 400 steps motors with 0.9deg
b. 32 microsteps
c. Axis 1 Gear Ratio 1 with my setup = 3 (48/16)
d. Axis 1 Gear Ratio 2 for EQ5 = 144 (EQ5 internal worm gear)
e. Axis 2 Gear Ratio 1 with my setup = 4 (48/12)
f. Axis 2 Gear Ratio 2 for EQ5 = 144 (EQ5 internal worm gear)
g. Desired Slewing Speed = 3
4. Then we need to use the Web Configurator for making a new config.h (Link):
a. 4.x Masterfile selected
b. Equatorial mount selected
c. Desired Slewing Speed = 3
d. Select 400step 0.9deg motor for both axis
e. Select 32 micro steps
f. Axis 1 Gear Ratio 1 with my setup = 3 (48/16)
g. Axis 1 Gear Ratio 2 for EQ5 = 144 (EQ5 internal worm gear)
h. Axis 2 Gear Ratio 1 with my setup = 4 (48/12)
i. Axis 2 Gear Ratio 2 for EQ5 = 144 (EQ5 internal worm gear)
j. DS3231 I2C RTC enabled
k. ST4 Port for guiding enabled
l. All else is left at default or “NO”
m. Generate the “Config.h” file and replace the Config.h file in the folder from
step 2.
Flashing instructions
5. Flashing the Wemos R32 with Arduino IDE:
a. Connect the Wemos R32 to the computer and start Arduino IDE
b. Open the onstep.ino file in the folder from step 2.
c. Identify correct board type (ESP32 Dev Module) and com port
d. Select “Upload” to start the flashing process
e. When flashing is done disconnect the Wemos R32
6. Flashing the ESP8266 Wifi Module with Arduino IDE:
a. Connect the ESP8266 to the computer and start Arduino IDE
b. Open the wifi.ino file in the folder from step 2.
c. Identify correct board type (Generic ESP8266 Module) and com port
d. Select “Upload” to start the flashing process
e. When flashing is done disconnect the ESP8266
7. That's it for the software part. Now we need to connect everything...