The Fibonacci Clock (2024)

Introduction: The Fibonacci Clock

UPDATE: This project has been successfully funded on Kickstarterand is now available for sale at http://store.basbrun.comThank you to all those who supported my campaign!

I present to you the Fibonacci Clock, a clock for nerds with style. Beautiful and fun at the same time, the clock uses the famous Fibonacci sequence to display time in a brand new way.

Step 1: How Do I Tell Time?

The Fibonacci sequence is a sequence of numbers created by the Italian mathematician Fibonacci in the 13th century. This is a sequence starting with 1 and 1, where each subsequent number is the sum of the previous two. For the clock I used the first 5 terms: 1, 1, 2, 3 and 5.

The screen of the clock is made up of five squares whose side lengths match the first five Fibonacci numbers: 1, 1, 2, 3 and 5. The hours are displayed using red and the minutes using green. When a square is used to display both the hours and minutes it turns blue. White squares are ignored. To tell time on the Fibonacci clock you need to do some math. To read the hour, simply add up the corresponding values of the red and blue squares. To read the minutes, do the same with the green and blue squares. The minutes are displayed in 5 minute increments (0 to 12) so you have to multiply your result by 5 to get the actual number.

Often, there are multiple ways to display a single time. To add to the challenge, the combinations are picked randomly from all the different ways a number can be displayed. There are, for example, 16 different ways to display 6:30 and you never know which one the clock will use!

Step 2: Circuit

I built the Fibonacci clock using an Atmega328P micro-controller using Arduino. You could buy an Arduino board and a DS1307 real-time clock break-out board and build a custom shield for your circuit but I preferred to build my own circuit board. That allows me to keep size small and price low.

Step 3: Buttons

The three buttons attached to Arduino pins #3,#4 and #6 are used together to change time. Button on pin #3 can be used alone to change the color palette of the LEDs. An extra button is attached to pin #5 to change between different modes of the clock. Two modes are lamp modes and the default mode is the clock. All buttons are connected to the Arduino pins with a 10K pull-down resistor in parallel.

Step 4: Real-Time Clock

The real-time clock chip DS1307 is connected to the Arduino analog pins 4 and 5 with two 22K pull-up resistors. The clock pin 5 (SDA) is connected to the Atmega328P pin 27 (Arduino A4) and the clock pin 6 (SCL) is connected to the Atmega329P pin 29 (Arduino A5). To keep time while unplugged the DS1307 chip needs a 3V battery connected to pint 3 and 4 of the chip. Finally, the real-time clock is driven by a 32KHz crystal connected on pins 1 and 2. A 5V power is applied on pin 8.

Step 5: LED Pixels Strip

I am using LED pixels built on top of the WS2811 drivers. These microcontrollers allows me to set the color of each individual LED with a single output on the Arduino microcontroller. The Arduino pin used to control the LEDs in this project is pin #8 (Atmega328P pin #14).

Step 6: Microcontroller

You will find all the details on how to connect the Atmega328P to make an Arduino clone on my post “Build an Arduino Clone“. I added a new feature in this project, an FTDI port to program your Arduino microcontroller directly on this circuit. You connect pin one to the reset pin of the Arduino trough a 0.1uF capacitor to synchronize your uploader with the chip bootup sequence.

Pin 2 (RX) of the FTDI port connects to pin 3 of the Atmega328P(Arduino 1-TX) and pin 3 (TX) of the FTDI connector connects to pin 2 of the Atmega328P (Arduino 0 – RX). Finally FTDI pin 4 goes to 5V and 5 and 6 to ground.

Step 7: The Enclosure

The video presents all the steps for the construction of the Fibonacci clock enclosure. The idea is to create 5 square compartments in the clock, two inches deep, matching the size of the five first terms of the Fibonacci sequence, 1, 1, 2, 3 and 5. The LEDs are distributed in all squares and connected in the back of the clock to the circuit board.

The enclosure is built out of birch plywood. The frame is 1/4″ thick and the back panel is 1/8″ thick. The separators are 1/16″ thick and can be made of any opaque material. The dimensions of the clock are 8″x5″x4″. The front of the clock is a piece of 1/8″ thick semi-transparent plexiglass. The separators are marked using a Sharpie pen.

The wood finish is a water based varnish applied after a good sanding using 220 sand paper.

Step 8: Make It a Lamp

The Fibonacci clock can also be converted into an ambiant lamp! The code published already support two lamp modes. Simply push the mode button to toggle between the three modes. The code is open for you to hack, feel free to implement your own modes!

Step 9: You'r Done

You are done! The Fibonacci clock is a fantastic discussion starter...bring it to your next NERD get together or to the Christmas family reunion!

Thanks for reading/watching!

Step 10: The Code

You can find the source code on my github account:

https://github.com/pchretien/fibo

The Fibonacci Clock (2024)

FAQs

What is the Fibonacci sequence answer? ›

The Fibonacci sequence is a type series where each number is the sum of the two that precede it. It starts from 0 and 1 usually. The Fibonacci sequence is given by 0, 1, 1, 2, 3, 5, 8, 13, 21, 34, 55, 89, 144, and so on. The numbers in the Fibonacci sequence are also called Fibonacci numbers.

Whose real name is the first few Fibonacci numbers 0 1 2 3 5 8 these numbers are named after Fibonacci? ›

They are named after the Italian mathematician Leonardo of Pisa, also known as Fibonacci, who introduced the sequence to Western European mathematics in his 1202 book Liber Abaci.

How to tell time on a Fibonacci spiral clock? ›

The screen of the clock is made up of five squares whose side lengths match the first five Fibonacci numbers: 1, 1, 2, 3 and 5. The hours are displayed using red and the minutes using green. When a square is used to display both the hours and minutes it turns blue. White squares are ignored.

How is Fibonacci used in real life? ›

These numbers are used in various fields such as architecture, art, space exploration, engineering, technology, and computing. The Fibonacci sequence, also known as the golden ratio, is utilized in architectural designs, creating aesthetically pleasing structures 1.

What is the Fibonacci rule? ›

The Fibonacci sequence is the series of numbers where each number is the sum of the two preceding numbers. For example, 0, 1, 1, 2, 3, 5, 8, 13, 21, 34, 55, 89, 144, 233, 377, 610, … Mathematically we can describe this as: xn= xn-1 + xn-2.

Why is the Fibonacci sequence so important? ›

The Fibonacci sequence is important for many reasons. In nature, the numbers and ratios in the sequence can be found in the patterns of petals of flowers, the whorls of a pine cone, and the leaves on stems. As the sequence continues, the ratios of the terms approach a number known as the golden ratio.

What is Fibonacci's full name? ›

His name at birth was simply Leonardo, but in popular works today he is most commonly referred to as Fibonacci (from filio Bonacij, literally meaning son of Bonacci, but here taken as of the family Bonacci, since his father's name was not Bonacci, according to [1, p. 604]).

How to solve the Fibonacci sequence? ›

The Fibonacci sequence formula deals with the Fibonacci sequence, finding its missing terms. The Fibonacci formula is given as, Fn = Fn-1 + Fn-2, where n > 1. It is used to generate a term of the sequence by adding its previous two terms.

Who invented the Fibonacci clock? ›

The clock is named after Leonardo Fibonacci, also known as Leonardo of Pisa, an Italian mathematician from the Middle Ages. Fibonacci is most famous for introducing the Hindu-Arabic numeral system to the Western world and for his work in the Fibonacci sequence.

Why is 11 23 Fibonacci day? ›

November 23 is celebrated as Fibonacci day because when the date is written in the mm/dd format (11/23), the digits in the date form a Fibonacci sequence: 1,1,2,3. A Fibonacci sequence is a series of numbers where a number is the sum of the two numbers before it.

What is the best timeframe for Fibonacci? ›

The best time frame to identify Fibonacci retracements is a 30-to-60-minute candlestick chart, as it allows you to focus on the daily market swings at regular intervals.

What are the colors of the Fibonacci clock? ›

The squares in his clock have side length 1, 1, 2, 3, and 5. The squares lit up in red tell you the hour, and the squares lit up in green give you the minutes (in multiples of five). A square lit up in blue means it is to be added for both hour and minute. White squares are ignored.

How do you calculate Fibonacci time? ›

The most useful Fibonacci time zones are generated by choosing a base interval described by the time between two market bottoms or tops. The base interval is then multiplied by the golden ratio, 1.618, in order to determine the length of time from the end of the base interval to the first Fibonacci time zone.

What is the Fibonacci time zone setting? ›

Fibonacci Time Targets (or Fibonacci Time Zones) are a series of vertical lines. They are spaced at the Fibonacci intervals of 1, 2, 3, 5, 8, 13, 21, 34, etc. A major low or high is often chosen as the starting point.

What is Fibonacci sequence in simple words? ›

The Fibonacci sequence is a set of integers (the Fibonacci numbers) that starts with a zero, followed by a one, then by another one, and then by a series of steadily increasing numbers. The sequence follows the rule that each number is equal to the sum of the preceding two numbers.

What is the formula for the Fibonacci sequence? ›

What is the Formula for Generating the Fibonacci Sequence? The Fibonacci sequence formula deals with the Fibonacci sequence, finding its missing terms. The Fibonacci formula is given as, Fn = Fn-1 + Fn-2, where n > 1. It is used to generate a term of the sequence by adding its previous two terms.

Why is 1.618 so important? ›

The golden ratio, approximately between 1 to 1.618, is an extremely important number to mathematicians. But when it comes to art, artists use this golden ratio because it is aesthetically pleasing. The golden ratio can be used in art and design to achieve beauty, balance, and harmony.

What is the next term in the Fibonacci sequence 1 1 2 3 5 8? ›

The Fibonacci sequence is the series of numbers: 0, 1, 1, 2, 3, 5, 8, 13, 21, 34... In this series, the next number is found by adding the two numbers before it. Hence, the next term in the series is 8 + 13 = 21.

Top Articles
Latest Posts
Article information

Author: Madonna Wisozk

Last Updated:

Views: 6066

Rating: 4.8 / 5 (48 voted)

Reviews: 87% of readers found this page helpful

Author information

Name: Madonna Wisozk

Birthday: 2001-02-23

Address: 656 Gerhold Summit, Sidneyberg, FL 78179-2512

Phone: +6742282696652

Job: Customer Banking Liaison

Hobby: Flower arranging, Yo-yoing, Tai chi, Rowing, Macrame, Urban exploration, Knife making

Introduction: My name is Madonna Wisozk, I am a attractive, healthy, thoughtful, faithful, open, vivacious, zany person who loves writing and wants to share my knowledge and understanding with you.