Open source coin rotator using ESP32
This repository contains the source code and design schematics for an open-source rotating coin display. The 3d printed device is driven by an ESP32 microcontroller and controls a single FS90R continuous servo for rotation with the ESP-IDF Motor Control Pulse Width Modulator (MCPWM) API. All other components are designed and 3D printed using a Bambu Lab X1C 3D printer.
Why? Because I have a neat coin and I want my room to be more decorated! Also, others may find themselves with a similar goal.
- ESP32 Powered⚡: Utilizes the powerful and versatile ESP32 microcontroller for control logic
- FS90R Servo Motor: Employs a single, cheap FS90R continous servo for rotation
- 3D Printed Design🖨: The coin display was designed in Fusion 360 and printed on a Bambu Lab X1C 3D printer
- PlatformIO Open Source: The entire project is open source, and uses PlatformIO for simple project bootstrapping
- ESP32 Microcontroller , breakout board optional
- FS90R Continuous Servo
- Power supply suitable for the ESP32 and servo (fs90r max current draw is 700mA at 6V)
- Miscellaneous wires and connectors
- The source code is written in C, using the ESP-IDF API. Build and deploy with PlatformIO.
/src
: Contains the C source code for the ESP32./schematics
: Includes the 3d printing files
- Printing: Follow the schematics in
/schematics
to print the necessary components. - Programming: Compile and upload the code from
/src
to the ESP32. - Assembly: Assemble 3D printed components and electronics after verifying each step
Contributions and/or questions are welcome! If you'd like to contribute, please fork the repository and use a feature branch.
Open source under the MIT license.
Useful Resources:
- ESP32 Pinout for my specific devkit
- ESP-IDF Motor Control Pulse Width Modulation API
- Feetech FS90R v2 specs (datasheet links seem to pop up and disappear quickly)
Enjoy the Open Source Coin Rotator! Let me know if you build something similar 😄