-
1Physical Layout
The Magnetic Sensor should be located near the rotating flywheel magnet.
The Magnetic Sensor wires connect to ground and ESP32 pin 26.
-
2Arduino Code Modification
The only variables that need to be modified in the Arduino code are the wifi username, wifi password, and belt_distance (measured in mm)
const char *ssid = "Your_SSID_here";
const char *password = "Your_Wifi_Password_here";volatile long belt_distance = 142;
-
3Arduino - Board Setup
Use the following partition scheme to fit the program on the ESP32 board:
HUGE APP (3mb NO OTA/1MB SPIFFS)
Discussions
Become a Hackaday.io Member
Create an account to leave a comment. Already have an account? Log In.