DIY

Timer + clock in the form of a robot R2-D2

Timer + clock in the form of a robot R2 -D2

Well, first, let's remember who R2-D2 is. Many probably remember the epic Star Wars saga. So, R2-D2, called Artu-ditu, Ardva-didva or, often, Ardva for short, was an R2-series astromech droid. Together with his fellow protocol droid C-3PO, R2-D2 was directly involved in key moments in galactic history.
Timer + clock in the form of a robot R2-D2 Since this film was released in cinemas, many DIYers are trying to make similar characters of this saga … Basically, they try to make robots, but they copy both masters Yoda and Chewbacca, and in one country, Darth Vader tried to register as a presidential candidate in the elections.
Our DIY master has more modest requests and will try to make R2-D2 as a timer and clock. Well, in addition, the robot will make various cool sounds.
Tools and materials:
-ESP32 board;
-5v 2A power supply unit;
-Connecting terminal – 2 pcs; -DC2.5 connector; -Mp3 module; -Micro SD card;
-40 mm speaker;
-Blue 7-segment display;
-Rotary encoder;
-Resistors 220 Ohm; -LEDs 3 mm and 5 mm ( blue, red and white); – Super glue; -Jumpers; -Paints for models; -3D-printer;
Timer + clock in the form of a robot R2 -D2 Step one: 3D printing
The first step is to print the parts in 3D -the printer. PLA media, 20% coverage, 0.2mm layer. Supports must be used for the bottom of the robot.
Files for printing parts can be downloaded below.
Rotary_Encoder_Knob.stlBody.stlcenterfoot.stlcenterleg.stlhead.stlleftfoot.stlleftleg.stlrightfoot.stlrightleg.stl
Timer + clock in the form of a robot R2-D2 Step two: assembly
After printing, the wizard assembles the robot. The details are fixed with superglue.
Timer + clock in the form of a robot R2 -D2  Timer + clock in the form of a robot R2-D2 Timer + clock in the form of a robot R2-D2 Timer + clock in the form of a robot R2-D2 After assembly, paints the parts according to the original color scheme.
Timer + clock in the form of a robot R2 -D2  Timer + clock in the form of a robot R2-D2 Timer + clock in the form of a robot R2-D2 Timer + clock in the form of a robot R2-D2 Step three: preparing the electronics
Four pin connectors are soldered to the display board .
Timer + clock in the form of a robot R2 -D2  Timer + clock in the form of a robot R2-D2 Timer + clock in the form of a robot R2 -D2 The rotary encoder needs a pull-up resistor to detect when the built-in button is pressed.
The resistor must be soldered between 3.3V and input # 27.
Timer + clock in the form of a robot R2-D2 Timer + clock in the form of a robot R2-D2 Timer + clock in the form of a robot R2-D2 Solders wires to speaker.
Timer + clock in the form of a robot R2-D2 Timer + clock in the form of a robot R2-D2 Solders a 220 Ohm resistor to the cathodes of the white and red LEDs and connects the two cathodes together.
 Timer + clock in the form of a robot R2-D2 Timer + clock in the form of a robot R2-D2 Solders blue LEDs according to the scheme.
Timer + clock in the form of a robot R2-D2 Timer + clock in the form of a robot R2-D2 Step Four: Assembly
Now you can start installing parts inside the robot. First, he glues the speaker to the top of the robot.
Timer + clock in the form of a robot R2-D2 Timer + clock in the form of a robot R2-D2  Timer + clock in the form of a robot R2-D2 Installs the connector.
Timer + clock in the form of a robot R2-D2  Timer + clock in the form of a robot R2-D2 Connects terminals to connector, one + 5V (red) and one for ground (black).
Connects four red wires and 4 black wires, these will be used to power each module/component.
 Timer + clock in the form of a robot R2-D2 Sets the encoder. The encoder handle goes through a hole in the back of the robot.
Timer + clock in as a robot R2-D2  Timer + clock in the form of a robot R2-D2 Sets the display.
Timer + clock in the form of a robot R2-D2  Timer + clock in the form of a robot R2-D2 Now you need to connect each component according to the diagram.
 Timer + clock in the form of a robot R2-D2 Glues the encoder button. < br> Timer + clock in the form of a robot R2-D2 Timer + clock in the form of a robot R2-D2 Sticks LEDs to the head.
Timer + clock in the form of a robot R2-D2 Timer + clock in the form of a robot R2-D2 Timer + clock in the form of a robot R2-D2 Step five: code
The following libraries are required for the device to work:
arduino-tm1637-master
DFPlayer_Mini_Mp3_by_Makuna
DNSServer — esp32-master
EspSoftwareSerial
NTPClient
WiFiNINA_Generic < br> The code can be downloaded below.
R2D2_clock_timer_V1.ino
Timer + clock in the form of a robot R2-D2 Timer + clock in the form of a robot R2-D2 Timer + clock in the form of a robot R2-D2 Timer + clock in the form of a robot R2-D2  Timer + clock in the form of a robot R2-D2 Step Six: MP3 Files
Now you need to download the MP3 files to your SD card. You need to create an mp3 folder of the SD-card and put the mp3 files into it.
Files can be downloaded below.
0004.mp30005.mp30006.mp30007.mp30008.mp30001.mp30002.mp30003.mp3
Timer + clock in the form of a robot R2-D2 Now all that remains is to put the head back in place and turn on the power.
Timer + clock in the form of a robot R2-D2 Timer + clock in the form of a robot R2-D2  Timer + clock in the form of a robot R2-D2 The entire assembly process, as well as a demonstration of the operation of such a device, can be viewed in the video.

Source:

usamodelkina.ru

Show More

Related Articles

Leave a Reply

Your email address will not be published. Required fields are marked *

Back to top button