Back to the Future Clock - RTC MODULE

by jerome95 in Workshop > 3D Printing

24955 Views, 424 Favorites, 0 Comments

Back to the Future Clock - RTC MODULE

TUTO - L'horloge du futur [English Subtitles]

Build your own clock !

Find all needed components just right there : https://jeje-linge.fr/pages/back-to-the-future-clock-rtc

I designed this little clock because I'm a big fan of the movies and I couldn't really find an equivalent on the internet. Either I found models that were too simple that did not look too much like, or models that were too complicated to make, which is quite demotivating.

If you have some basic notions like :

  • Soldering
  • Stripping a wire
  • Read a wiring diagram

It should go well !

The interface is not exactly the same as the movies but everybody recognize anyway !

The first line (red displays) and last line (yellow displays) are fixed in the code, you can put whatever you want (date, hour...).

The green line is a clock animated by a RTC module.

Components & Tools

Step 1 matos.JPG
Step 1 matos 2.JPG

Bundle available here : http://jeje-linge.fr/clock_bundle

Available on my website (above):

  • 9 displays (3 reds, 3 greens and 3 yellows)
  • 6 LEDs (2 reds, 2 greens and 2 yellows)
  • 1 Arduino Nano
  • USB to mini USB cable
  • 1 RTC module
  • 1 Power supply (5V 2A)
  • 1 Connector
  • 4 Resistors (270 Ohms)
  • heat-shrinkable sleeve
  • Wire cutter
  • Electronic wires multicolor
  • 0.75mm² wires (black and red)
  • Wago terminals

Not available on my website (yet):

  • Wire stripper
  • Soldering iron
  • tin
  • super glue
  • CR2032 Battery
  • Double sided tape

3D Printing

P1000698_1.jpg

You can print the part like this : PLA, infill 20%, layer 0.2mm

Assembly

Step 2.JPG
Step 2.3.JPG
Step 2 2.JPG

I used Super glue to assemble every 3D printed part.

Painting

Step 3 paint.JPG

You can use a "metal grey spray paint" that you can find in every DIY shop.

Solder the Resistors on LEDs

STep 4 welding.JPG
Step 4 welding led.JPG

In this step you have to solder 270 ohms resistors on 4 leds which are powered (see diagram).

  • 2 leds (one red, one yellow) will be permanently powered
  • 2 green leds will be piloted by D12 and D13 Arduino outputs
  • 2 leds (the other red and the other yellow) will be always off.

Glue LEDs

Step 5 glue led.JPG

Glue every LEDs in the dedicated holes.

In this step you can choose which (red and yellow) LEDs will be powered or not.

Displays Wiring

Step 6 chaine.JPG
Step 6.1.JPG

You can see on the diagram that you have to chained every display by color (red,green and yellow).

One "clk" input by color (A0,A1 and A2).

You have to solder one wire in each DIO display input (D3 to D11).

Displays Fixing

Step 7 double face.JPG
Step 7 double face 3.JPG
Step 7 double face 2.JPG

To fixe displays in the dedicated holes, you can put a little piece of double-sided tape in the two sides of each display.

Don't forget : the red displays on the top, green displays on the middle and yellow displays on the bottom.

Displays and LEDs Powering

Step 8.JPG

To gather every "+5v" and "Gnd" of each component, you can use "Wago terminals" but it also works with classic dominos. The wires between the connector and the terminals are 0.75mm² of cross-section.

Inputs Wiring

Step 9.JPG
Step 10.JPG
Step 9 2.JPG

To wire every inputs (Displays, LEDs, RTC clock) you can also take a look to the global wiring diagram (STEP 13)

Upload Arduino Code

Step 11 code.JPG

Connect your arduino with a USB => mini USB cable and upload the code.

Check :

  • Arduino Nano
  • ATmega328P (Old Bootloader)

You have to add these two libraries :

  • arduino-tm1637-master
  • RTClib-master

Available on my thingiverse project too (I cannot up a zip file here) : https://www.thingiverse.com/thing:2980120

Add Labels

Step 12.JPG
Labels.jpg

I used a self-adhesive sheet because I think it's the easiest way to stick the labels.

Downloads

Global Wiring Diagram

Schéma de câblage.jpg

Et Voilà !

P1000719.jpg