my DIY Christmas Village and Train music box
Support webpage control
Support OTA
In the data folder rst.mp3 if for reset the music it is the copy of pno-cs.mp3
In the root folder the two mp3 files are the example tested for uploading both 32kbps.
PS: The gear on the thingiverse is ok to use
but the gear on the tinkercad need to adjust x and y size to 95%
https://www.thingiverse.com/thing:5599288
https://youtube.com/shorts/ej0nH_mT4Pg?feature=share
- 1x Wemos D1 mini (ESP8266)
- 1x 9g servo(180/360<-default you can change it in the code)
- 2x LED strips (suggest to use the multipul colour "led strip for balloons")
- 1x speaker
- 1x s8050 or other npn
- 1x 100 uF capacitor
- 1x 100 ohm resistor there are more GPIO for upgrade
1.sound amplifier and speaker
1.1 NPN: s8050
1.2 C1: 100 uF
1.3 R1: 100 ohm
1.4 small speaker
Rx ------- +C1- --(NPNb)-\
G ---------------(NPNe) R1
5V/3.3V -- +SP- --(NPNc)-/
2.led
D5 ---- +LEDs1- ----G
D6 ---- +LEDs2- ----G
3.servo
D4 ---- 9g servo(360 / 180)- ----G
+
|
5V