DIY Binary Clock with Arduino

Yesterday I was going to start watching a movie, when me and my friendpedrodecided to give up on the movie and build a binary clock. After sometime thinking on how to program it, we made it. It works beautifully, so I decided to show here how I`ve done. It may not be the easiest way to make it work, but that`s what we`ve done. To assemble the circ
DIY Binary Clock with Arduino - schematic

uit, you will need to connect first the resistors and leds. To do it, just hook up leds + resistor from the pin 1 to 13. Remember that the bigger leg of the led is positive, and need to be connected to arduino output pin, and the other leg should be on the ground. For connecting the buttons, I`ve used one digital input and two analog inputs. To set change the hour/minute, you will need to use two push-buttons. And they need to be connected to the analog input pin 0 and 5. And to turn leds ON/OFF I`ve used a normal button that is connected to digital input pin 0. To make it work, you need use one leg of the buttons on a 2. 2K Ohm resistor connected to the 5V output together with the analog/digital input, and the other leg going to the ground, something like this:

Leave Comment

characters left:

New Circuits