WALL-E Clock & Lamp

by jerome95 in Workshop > 3D Printing

1760 Views, 43 Favorites, 0 Comments

WALL-E Clock & Lamp

WALL-E Alarm Clock and Lamp - TUTORIAL [ENG SUB]

That cute wall-e will give you time, a bit of light and a lot of love.

As you'll see, I integrated a resistive touch screen. It's not our smartphones' touch screen, which are capacitive screens. This one consumes very little energy (convenient to save battery). The downside is that it's a little less responsive, less fluid, but for this, it is more than enough.

Features:

  •    Clock
  •    Alarm clock
  •    Lamp

That's simple and very cute.

Normally it's pretty easy to make it but you'll need to be patient.

Supplies

Electronique.png
Pièces 3D.png

I sell all components in my website: https://jeje-linge.fr/pages/wall-e

The battery: https://a.co/d/3ZW8Pab

Assemble Wheels

Tuto Wall-e.mp4_snapshot_02.46.191.jpg
Tuto Wall-e.mp4_snapshot_04.49.000.jpg

Assemble the right and left wheels with the tracks.

Assemble Arms

Tuto Wall-e.mp4_snapshot_05.29.000.jpg
Tuto Wall-e.mp4_snapshot_06.07.000.jpg

Assemble the right and left arms.

I preferred a long arm to carry the bulb, and a shorter arm for the rest.

But you can make two long arms two short ones... As you want.

Painting Part 1

Tuto Wall-e.mp4_snapshot_06.45.000.jpg
Tuto Wall-e.mp4_snapshot_06.58.000.jpg
Tuto Wall-e.mp4_snapshot_07.07.000.jpg
Tuto Wall-e.mp4_snapshot_07.24.000.jpg

I'll start by putting a bit of grey wash on all the pieces.

https://a.co/d/j6pi1it

Painting Part 2

Tuto Wall-e.mp4_snapshot_07.39.000.jpg
Tuto Wall-e.mp4_snapshot_09.44.000.jpg
Tuto Wall-e.mp4_snapshot_10.17.000.jpg
Tuto Wall-e.mp4_snapshot_08.00.000.jpg
Tuto Wall-e.mp4_snapshot_10.33.000.jpg

Then use grey and brown paint, to give a slightly rusty appearance.

https://a.co/d/8kZ7NNe

Lens in the Eyes

Tuto Wall-e.mp4_snapshot_09.16.249.jpg
Tuto Wall-e.mp4_snapshot_09.18.287.jpg

For the eyes, I'll add something that is not obligatory, but I think it gives a bit of style, it's small lenses (29mm).

Glue the Wheels

Tuto Wall-e.mp4_snapshot_10.52.000.jpg
Tuto Wall-e.mp4_snapshot_11.10.348.jpg
Tuto Wall-e.mp4_snapshot_11.17.462.jpg
Tuto Wall-e.mp4_snapshot_11.27.353.jpg

Assemble the wheels to the lower piece.

Pay close attention, the big wheel, which go to the back.

2.8 Touch Screen

TFT 2.8 (0-00-02-00).jpg
Tuto Wall-e.mp4_snapshot_13.19.261.jpg

I use wires with female connectors, because it's simpler than soldering.

We're not using the T_IRQ.

The T_DO, T_DIN and T_CLK will be solder direclty to the SDO, SDI and SCK

Power Board

Power supply (0;00;02;00).jpg
Tuto Wall-e.mp4_snapshot_14.20.271.jpg

It will power the entire system.

Wire a 18650 battery to it.

RTC Module

RTC (0;00;02;00).jpg
Tuto Wall-e.mp4_snapshot_14.55.766.jpg

The RTC module will allow you to have a reliable clock.

Don't put a battery at the back, it's useless.


MP3 Module

DFplayer (0;00;02;00).jpg
Tuto Wall-e.mp4_snapshot_15.35.257.jpg

Don't forget to put the MP3 files on the microSD card.

Relay and Bulb

Relay (0;00;02;00).jpg
Tuto Wall-e.mp4_snapshot_16.31.726.jpg

On the D+, put a red wire which will then go to the VCC.

On the D-, put a black wire which will go to the GND.

On the IN input, which controls the relay, to know if it is open or closed.

The Bulb

Tuto Wall-e.mp4_snapshot_17.08.513.jpg
Tuto Wall-e.mp4_snapshot_16.52.036.jpg

Solder a black and red wires on the bulb.

If the tin doesn't stick well enough, you can sand the connectors a little bit.

Voltage Divider Bridge

Pont diviseur (0;00;02;00).jpg
Tuto Wall-e.mp4_snapshot_17.33.004.jpg
Tuto Wall-e.mp4_snapshot_17.49.000.jpg

Solder 2 resistors together and add a wire in the middle for the tension to be divided.

This will give you an idea of the state of charge of the battery.


Connect Modules

Complet (0;00;02;00).jpg
Tuto Wall-e.mp4_snapshot_20.01.000.jpg
Tuto Wall-e.mp4_snapshot_20.08.000.jpg

Connect every module to the ESP32.

Do not wire the battery to the GND Wago to avoid powering the whole thing.

What do first is connect the ESP to the PC and send the program.

MP3 Files

Tuto Wall-e.mp4_snapshot_20.36.000.jpg

Put your micro SD card into your PC and send the MP3 files on the micro-SD card.

Keep the MP3 folder don't put the files in the root.

Send the Code

Tuto Wall-e.mp4_snapshot_20.52.000.jpg
Tuto Wall-e.mp4_snapshot_22.07.000.jpg
Tuto Wall-e.mp4_snapshot_22.37.000.jpg

Install the TFT_eSPI library.

Once the library is installed, you go to your documents, then in Arduino, Libraries and you should see it appear here.

In this folder, you have a file called User_setup.h

Open it in a text editor.

We're simply going to uncomment the lines (see picture)

Touch_CS we'll replace 21 by 5.

Go back to the Arduino IDE and click on upload.

Download the code here : https://github.com/jejelinge/WALL-E

Touch Screen Calibration

Tuto Wall-e.mp4_snapshot_23.06.810.jpg
Tuto Wall-e.mp4_snapshot_24.02.000.jpg

First thing to do, insert the micro SD card in DFplayer with the MP3s on it.

Your screen should be in calibration mode, and asking you to touch the four corners.

You can now connect the battery.

Put Screen and Speaker

Tuto Wall-e.mp4_snapshot_25.21.000.jpg

First put the screen in the front part.

On the back, put the speaker.


Power Board

Tuto Wall-e.mp4_snapshot_25.32.000.jpg
Tuto Wall-e.mp4_snapshot_25.34.415.jpg
Tuto Wall-e.mp4_snapshot_25.48.000.jpg

Once the speaker's on, put the small power board in the hole of the back part.


Assemble Sides

Tuto Wall-e.mp4_snapshot_26.06.000.jpg
Tuto Wall-e.mp4_snapshot_26.14.000.jpg
Tuto Wall-e.mp4_snapshot_26.24.000.jpg

Take the sides and glue them.

Assemble Arm and Bulb

Tuto Wall-e.mp4_snapshot_26.43.347.jpg
Tuto Wall-e.mp4_snapshot_26.49.189.jpg
Tuto Wall-e.mp4_snapshot_27.03.626.jpg

Take the light bulb arm, and the light bulb.

Pass wires one after the other through the arm.

Then, pass the wires through the hole, and force the arm in.

Assemble Second Arm

Tuto Wall-e.mp4_snapshot_27.48.525.jpg

Put the second arm in the same way.

The Head

Tuto Wall-e.mp4_snapshot_28.04.381.jpg
Tuto Wall-e.mp4_snapshot_28.13.032.jpg

And finally, we put the head.

Waaall-eeee

Miniature 1920x1080.jpg
DSC03636_5.jpg
Tuto Wall-e.mp4_snapshot_28.36.222.jpg
Tuto Wall-e.mp4_snapshot_28.28.938.jpg
DSC03679.JPG
DSC03636_3.jpg
DSC03636_2.jpg
DSC03636_4.jpg