Target practice for toy guns using SG90 servos and an ESP32 controller.
The base with roomfor 5 servos fits on a 256x256 build plate. If you need less, use the cut option in your slicer.
I've attached code for this project. By default it will rotate a random servo 90 degrees after a random timehas passed between 1 and 5 seconds, then rotate it back to 0 degrees after a random time between 1 and 5 seconds.
It's for an ESP32C3 Super Mini with 5 servos.
If given WiFi credentials it will connect to the network and run an interface where you can customize the behavior: min and max time for rotating and rotating back, rotation angle, enebled servos.
If it can't connect to a WiFi network, it will start an access point which can be connected to and you can customize the behavior.
I used:
1 x ESP32C3 Super Mini - cheap, has WiFi, can handle the 5 servos, small
5 x SG90 9g servos
10 x M2x10 - secure the target holders to the servo arms
some wiring to power everything
5 Volt power supply
모델 소스
