Horloge de Fibonacci/en : Différence entre versions

(Page créée avec « Glue the separation walls »)
(Mise à jour pour être en accord avec la nouvelle version de la source de la page)
 
(34 révisions intermédiaires par 3 utilisateurs non affichées)
Ligne 1 : Ligne 1 :
{{ {{tntn|Tuto Details}}
+
{{Tuto Details
 
|SourceLanguage=fr
 
|SourceLanguage=fr
 
|Language=en
 
|Language=en
Ligne 16 : Ligne 16 :
 
|Main_Picture=horloge fibo.JPG
 
|Main_Picture=horloge fibo.JPG
 
}}
 
}}
{{ {{tntn|Introduction}}
+
{{Introduction
 
|Introduction=This tutorial is inspired from the creation of Philippe Chrétien. Here is his website : http://geekoclock.com/
 
|Introduction=This tutorial is inspired from the creation of Philippe Chrétien. Here is his website : http://geekoclock.com/
  
Ligne 23 : Ligne 23 :
 
This project use a addressable RGB LEDs strip. It enable to control color and intensity of each LED individually, using only one control pin on the Arduino.
 
This project use a addressable RGB LEDs strip. It enable to control color and intensity of each LED individually, using only one control pin on the Arduino.
 
}}
 
}}
{{ {{tntn|Materials}}
+
{{Materials
 
|Material=* plywood 5mm thick
 
|Material=* plywood 5mm thick
 
* plexi
 
* plexi
Ligne 43 : Ligne 43 :
 
}}
 
}}
 
{{Separator}}
 
{{Separator}}
{{ {{tntn|Tuto Step}}
+
{{Tuto Step
 
|Step_Title=Cut the plywood
 
|Step_Title=Cut the plywood
 
|Step_Content=Cut 4 plywood board for outside walls, 2 others for bottom and double-bottom, and 4 littles more for inside walls to split squares. Dimensions are the following :  
 
|Step_Content=Cut 4 plywood board for outside walls, 2 others for bottom and double-bottom, and 4 littles more for inside walls to split squares. Dimensions are the following :  
Ligne 62 : Ligne 62 :
 
|Step_Picture_01=horloge fibo 2.jpg
 
|Step_Picture_01=horloge fibo 2.jpg
 
}}
 
}}
{{ {{tntn|Tuto Step}}
+
{{Tuto Step
 
|Step_Title=Cut sides to fit together
 
|Step_Title=Cut sides to fit together
 
|Step_Content=Cut 4mm slots to fit together the four sides.
 
|Step_Content=Cut 4mm slots to fit together the four sides.
Ligne 70 : Ligne 70 :
 
|Step_Picture_01=horloge fibo 14.jpg
 
|Step_Picture_01=horloge fibo 14.jpg
 
}}
 
}}
{{ {{tntn|Tuto Step}}
+
{{Tuto Step
 
|Step_Title=Cut and weld the LED strip
 
|Step_Title=Cut and weld the LED strip
 
|Step_Content=Cut the LED strip into 3 strips of 1 LED and 3 strips of 2 LEDS.
 
|Step_Content=Cut the LED strip into 3 strips of 1 LED and 3 strips of 2 LEDS.
Ligne 82 : Ligne 82 :
 
|Step_Picture_01=horloge fibo 4.jpg
 
|Step_Picture_01=horloge fibo 4.jpg
 
}}
 
}}
{{ {{tntn|Tuto Step}}
+
{{Tuto Step
 
|Step_Title=Assemble and glue the box
 
|Step_Title=Assemble and glue the box
 
|Step_Content=Glue the 4 sides with the double-bottom, positioning it at 5cm from the front.
 
|Step_Content=Glue the 4 sides with the double-bottom, positioning it at 5cm from the front.
Ligne 90 : Ligne 90 :
 
|Step_Picture_01=horloge fibo 5.jpg
 
|Step_Picture_01=horloge fibo 5.jpg
 
}}
 
}}
{{ {{tntn|Tuto Step}}
+
{{Tuto Step
 
|Step_Title=Glue the separation walls
 
|Step_Title=Glue the separation walls
|Step_Content=Un fois bien sec, on colle les séparations.
+
|Step_Content=Once dry, glue the separations.
 
|Step_Picture_00=horloge fibo 6.jpg
 
|Step_Picture_00=horloge fibo 6.jpg
 
}}
 
}}
{{ {{tntn|Tuto Step}}
+
{{Tuto Step
|Step_Title=Coller une plaque support pour le circuit
+
|Step_Title=Glue a support board for the electronic board
|Step_Content=On s'occupe ensuite de l'autre coté du double fond :
+
|Step_Content=Prepare now the other side of the double-bottom :
  
Pour pouvoir fixer le circuit sans que les vis ne dépassent de la planche, on rajoute une épaisseur de bois la ou l'on fixera le circuit.
+
To fix the electronic board, and avoid screw exceed from the wood board, we add wood thickness where we want to place the electronic board.
 
|Step_Picture_00=horloge fibo 7.jpg
 
|Step_Picture_00=horloge fibo 7.jpg
 
}}
 
}}
{{ {{tntn|Tuto Step}}
+
{{Tuto Step
|Step_Title=Fixer la carte Arduino
+
|Step_Title=Fix the Arduino board
|Step_Content=Faire tout d'abord des petits trous à l'emplacement des vis, puis viser la carte arduino sur le double fond
+
|Step_Content=Put small pre-holes for the srew, then fix the arduino board on the double-bottom.
 
|Step_Picture_00=horloge fibo 8.jpg
 
|Step_Picture_00=horloge fibo 8.jpg
 
}}
 
}}
{{ {{tntn|Tuto Step}}
+
{{Tuto Step
|Step_Title=Souder les composants
+
|Step_Title=Weld components
|Step_Content=On réalise ensuite le circuit en soudant les fils en suivant le schéma ci-contre. J'ai scotché les fils pour qu'ils restent bien en place. Seuls les fils sur la carte Arduino ne sont pas soudés.
+
|Step_Content=Follow the given scheme to weld wires. I tape wires in order that they stay in place. Only wire on the Arduino board aren't weld.
 
|Step_Picture_00=Horloge_de_Fibonacci_clock-fritzing_bb.png
 
|Step_Picture_00=Horloge_de_Fibonacci_clock-fritzing_bb.png
 
|Step_Picture_01=Horloge_de_Fibonacci_01155236.JPG
 
|Step_Picture_01=Horloge_de_Fibonacci_01155236.JPG
 
}}
 
}}
{{ {{tntn|Tuto Step}}
+
{{Tuto Step
|Step_Title=Charger le programme
+
|Step_Title=Load the program
|Step_Content=Si vous ne l'avez pas déjà, télécharger l'IDE Arduino : https://www.arduino.cc/en/Main/Software
+
|Step_Content=Download Arduino IDE : https://www.arduino.cc/en/Main/Software
  
  
Il est nécessaire d'installer également la librairie NeoPixel, disponible ici : https://github.com/adafruit/Adafruit_NeoPixel
+
Install the NeoPixel Library, available here : https://github.com/adafruit/Adafruit_NeoPixel
  
Après l'avoir téléchargé, renommez le répertoire en 'Adafruit_NeoPixel' et installez le dans le répertoire 'librairie' de votre installation de l'IDE Arduino.
+
After download it, rename the directory to 'Adafruit_NeoPixel' and place it into the directory 'librairie' into the directory of your IDE installation.
  
  
Le programme Arduino de l'horloge est disponible sur github :: https://github.com/pierreboutet/fibonacciClock
+
The Arduino program of the clock is available on Github : https://github.com/pierreboutet/fibonacciClock
  
Télechargez le et ouvrez le avec l'IDE arduino
+
Download it, and open it with the Arduino IDE
  
Branchez la carte Arduino avec le cable USB, et téléversez le programme depuis l'IDE.
+
Plug the arduino board with the usb wire, et upload the program from the IDE.
 
}}
 
}}
{{ {{tntn|Tuto Step}}
+
{{Tuto Step
|Step_Title=Ajouter la vitre de plexiglas
+
|Step_Title=Add the plexi windows
|Step_Content=Afin d'avoir l'opacité souhaitée, j'ai mis une feuille de papier calque entre 2 plaques de plexiglass transparent.
+
|Step_Content=To get good opacity, i place a tracing-paper between two transparent plexi.
  
Ainsi, c'est suffisamment opaque pour diffuser la lumière de manière homogène, sans voir directement les LEDs.
+
Thus, it is enough opaque to transmit light homogeneously. And LEDs aren't directly visibles.
  
Idéalement une seule plaque de plexiglass blanc non opaque suffirait, mais je n'en ai pas trouvé.
+
Idealy one unique white plexy board  non opaque would fit, but I didn't have any.
 
|Step_Picture_00=horloge fibo 10.jpg
 
|Step_Picture_00=horloge fibo 10.jpg
 
|Step_Picture_01=horloge fibo 11.jpg
 
|Step_Picture_01=horloge fibo 11.jpg
 
|Step_Picture_02=horloge fibo 12.jpg
 
|Step_Picture_02=horloge fibo 12.jpg
 
}}
 
}}
{{ {{tntn|Tuto Step}}
+
{{Tuto Step
|Step_Title=C'est fini
+
|Step_Title=It's done
|Step_Content=Vous pouvez brancher votre horloge,et ré-apprendre à lire l'heure ;)
+
|Step_Content=You can plug your clock, and learn how to read time. :)
  
Comment lire l'heure ?
+
How to read time ?
  
Les carrés ont les valeurs de la suite de fibonacci  (du plus petit au plus grand) :  
+
Squares have values of the Fibonacci sequence :  
  
 
1 1 2 3 5
 
1 1 2 3 5
  
  
Les carrés rouges sont pour les heures,  
+
Red squares count for hours,  
  
Les carrés vert pour les minutes,
+
Green squares count for minutes,
  
et les carrés bleu comptent pour les heures et les minutes.
+
and blue squares count for both hours and minutes.
  
On trouve les heures et les minutes en faisant la somme des valeurs des carrés correspondants.
+
We get hours and minute by addition of the matching squares values. For minutes the values must be multiplied by 5, because the clock count by 5 minutes steps.
Pour les minutes, il faut multiplier la valeur obtenue par 5, car l'horloge ne compte par pas de 5 minutes.
 
  
  
Exemple, sur la photo ci contre :
+
Exemple, on the below picture :
  
il faut additionner les valeur des carrés rouge et bleu pour les heures, cela fait donc :
+
We addition red and blue squares for hours, it gives :
  
 
1 + 3 + 5 = 9h
 
1 + 3 + 5 = 9h
  
et les valeurs des carrés vert et bleu pour les minutes , que l'on multiplie par 5 :
+
and green and blue squares for minutes, multiplied by 5, it gives :  
 
(1 + 1 + 3 ) * 5 = 25min
 
(1 + 1 + 3 ) * 5 = 25min
  
  
il est donc ici  9h25
+
It is so 9:25
 
|Step_Picture_00=horloge fibo.JPG
 
|Step_Picture_00=horloge fibo.JPG
 
}}
 
}}
{{ {{tntn|Notes}}|}}
+
{{Notes|}}
{{ {{tntn|Tuto Status}}
+
{{Tuto Status
|Complete=Yes
+
|Complete=Published
 
}}
 
}}
 
{{Separator}}
 
{{Separator}}

Version actuelle datée du 2 novembre 2020 à 15:54

Auteur avatarPierre Boutet | Dernière modification 2/11/2020 par FuzzyBot

Horloge fibo.JPG
This strange clock use the Fibonacci sequence to display time. Each square represents a value of the sequence. We must add the square's values to get the hour and the minutes. Hours are red squares, minutes are green squares and blue squares count for hour and minutes.

Introduction

This tutorial is inspired from the creation of Philippe Chrétien. Here is his website : http://geekoclock.com/

This version is base on an Arduino UNO board.

This project use a addressable RGB LEDs strip. It enable to control color and intensity of each LED individually, using only one control pin on the Arduino.

Matériaux

  • plywood 5mm thick
  • plexi
  • Arduino UNO board
  • Real Time clock module RTC DS1307
  • addressable RGB LED strip
  • 4 push buttons
  • power supply for arduino
  • supply connector
  • electric wires

Warning : check that your RGB LED strip is addressable. The strip I used has the following reference : WS2812B

Outils

  • scie
  • fer à souder
  • perceuse
  • cutter
  • lime à bois
  • colle à bois

Étape 1 - Cut the plywood

Cut 4 plywood board for outside walls, 2 others for bottom and double-bottom, and 4 littles more for inside walls to split squares. Dimensions are the following :

For outside walls :

  • 2 boards 85mm * 221mm
  • 2 boards 85mm * 138mm

for bottom and double-bottom :

  • 2 boards 128mm * 211mm

for inside walls:

  • 1 board 50mm * 128mm
  • 1 board 50mm * 78mm
  • 1 board 50mm * 50mm
  • 1 board 50mm * 26mm



Étape 2 - Cut sides to fit together

Cut 4mm slots to fit together the four sides.

Use a wood file for the finishing.



Étape 3 - Cut and weld the LED strip

Cut the LED strip into 3 strips of 1 LED and 3 strips of 2 LEDS.

Weld with small wires with good length, to place them into squares, as shown on the picture.

Then glue the strip on the wood board of the double-bottom.

Put a hole to pass wires to the other side of the double-bottom.



Étape 4 - Assemble and glue the box

Glue the 4 sides with the double-bottom, positioning it at 5cm from the front.

Wait until the glue dries. (20 min minimum)



Étape 5 - Glue the separation walls

Once dry, glue the separations.




Étape 6 - Glue a support board for the electronic board

Prepare now the other side of the double-bottom :

To fix the electronic board, and avoid screw exceed from the wood board, we add wood thickness where we want to place the electronic board.




Étape 7 - Fix the Arduino board

Put small pre-holes for the srew, then fix the arduino board on the double-bottom.




Étape 8 - Weld components

Follow the given scheme to weld wires. I tape wires in order that they stay in place. Only wire on the Arduino board aren't weld.



Étape 9 - Load the program

Download Arduino IDE : https://www.arduino.cc/en/Main/Software


Install the NeoPixel Library, available here : https://github.com/adafruit/Adafruit_NeoPixel

After download it, rename the directory to 'Adafruit_NeoPixel' and place it into the directory 'librairie' into the directory of your IDE installation.


The Arduino program of the clock is available on Github : https://github.com/pierreboutet/fibonacciClock

Download it, and open it with the Arduino IDE

Plug the arduino board with the usb wire, et upload the program from the IDE.

Étape 10 - Add the plexi windows

To get good opacity, i place a tracing-paper between two transparent plexi.

Thus, it is enough opaque to transmit light homogeneously. And LEDs aren't directly visibles.

Idealy one unique white plexy board non opaque would fit, but I didn't have any.


Étape 11 - It's done

You can plug your clock, and learn how to read time. :)

How to read time ?

Squares have values of the Fibonacci sequence :

1 1 2 3 5


Red squares count for hours,

Green squares count for minutes,

and blue squares count for both hours and minutes.

We get hours and minute by addition of the matching squares values. For minutes the values must be multiplied by 5, because the clock count by 5 minutes steps.


Exemple, on the below picture :

We addition red and blue squares for hours, it gives :

1 + 3 + 5 = 9h

and green and blue squares for minutes, multiplied by 5, it gives : (1 + 1 + 3 ) * 5 = 25min


It is so 9:25




Commentaires

Published