Professional Documents
Culture Documents
R2D2 Clock Timer
R2D2 Clock Timer
by jerome95
https://www.youtube.com/embed/_s5Bg4asuXA
Behind you'll nd a rotary button to set the timer.
Step 1: Components
1x ESP32 board
1x 5v 2A power supply
R2D2 Clock & Timer: Page 1
2x Wago terminals
1x DC2.5 connector
1x MP3 module + micro SD card
1x 40mm speaker
1x blue 7 segment display
1x rotary coder
220 ohms resistors
Led 3mm and 5mm (blue, red and white)
Super glue 3
Wires : female-female, male-male, male-female
Paint :
Step 2: 3D Printing
You need to use some support especially for the bottom of the body.
https://www.instructables.com/ORIG/FG4/J0P5/KQV85HRX/FG4J0P5KQV85HRX.stl
View in 3D Download
https://www.instructables.com/ORIG/FXB/UE11/KQV85HRY/FXBUE11KQV85HRY.stl
View in 3D Download
https://www.instructables.com/ORIG/FYL/A4KJ/KQV85HRZ/FYLA4KJKQV85HRZ.stl
View in 3D Download
https://www.instructables.com/ORIG/FFN/9901/KQV85HS0/FFN9901KQV85HS0.stl
View in 3D Download
https://www.instructables.com/ORIG/FWD/GS39/KQV85HS1/FWDGS39KQV85HS1.stl
View in 3D Download
https://www.instructables.com/ORIG/F9A/85EC/KQV85HS3/F9A85ECKQV85HS3.stl
View in 3D Download
https://www.instructables.com/ORIG/FQ8/2EQ8/KQV85HS4/FQ82EQ8KQV85HS4.stl
View in 3D Download
https://www.instructables.com/ORIG/FP1/CXXL/KQV85HS5/FP1CXXLKQV85HS5.stl
View in 3D Download
https://www.instructables.com/ORIG/FKG/V487/KQV85HS6/FKGV487KQV85HS6.stl
Step 3: Assembly
For the head you can use a "metal grey spray paint" that you can nd in every DIY shop.
The rotary coder needs a pull up resistor in order to detect when you push the embedded button.
The resistor should be solder between the 3.3v and the N°27 input
Solder two wires female-male on the speaker and bend them at 90°.
Solder a 220 ohms resistor on each cathode and solder the two cathodes together.
Put a drop on the edge of the speaker and put inside the model
Connect two wires (male-male) to the connector et put it inside the model.
Normally you don't need to glue it, try just to push it.
Connect the Wago terminals to the connector, one for the +5v (red) and one for de ground (black).
Connect 4 red wires (male-female) and 4 black wires (male-female), these will be used to supply every
module/component
Leave a little gap between the body and the button in order to have enough space to push the button.
Needed libraries :
arduino-tm1637-master
DFPlayer_Mini_Mp3_by_Makuna
DNSServer---esp32-master
EspSoftwareSerial
NTPClient
WiFiNINA_Generic
https://www.instructables.com/ORIG/F6F/LHYT/KQWCMK8W/F6FLHYTKQWCMK8W.ino
Important : You have to create a mp3 folder in the root of your SD card and put the mp3 les in it.
Download
https://www.instructables.com/ORIG/FI4/X9B4/KQWCMNC2/FI4X9B4KQWCMNC2.mp3
Download
https://www.instructables.com/ORIG/F3F/MTQO/KQWCMNC3/F3FMTQOKQWCMNC3.mp3
Download
https://www.instructables.com/ORIG/F80/4CZA/KQWCMNC4/F804CZAKQWCMNC4.mp3
Download
https://www.instructables.com/ORIG/FLT/U7Z0/KQWCMNC5/FLTU7Z0KQWCMNC5.mp3
Download
https://www.instructables.com/ORIG/FQP/L3IA/KQWCMNC6/FQPL3IAKQWCMNC6.mp3
Download
https://www.instructables.com/ORIG/FIA/TJZO/KQWCMNC7/FIATJZOKQWCMNC7.mp3
Download
https://www.instructables.com/ORIG/F5F/IPW8/KQWCMNC8/F5FIPW8KQWCMNC8.mp3
Download
https://www.instructables.com/ORIG/F6Y/69YT/KQWCMNC9/F6Y69YTKQWCMNC9.mp3
Nice