I'm trying to make a simple binary clock using various schematics that I've found online as a reference (http://www.instructables.com/id/Full-Binary-Clock/?ALLSTEPS
). In the process, I'm trying to also understand the logic and figure out ways to improve the circuit.
I'm very new to electronics and since this project has become a bit more complex than I initially expected, some feedback would be greatly appreciated.
The following parts are used for this schematic:
- ATTiny85 - cheaper and seems to have enough pins available for this
- 2 x 74HC595 - I've used this to control the leds; one used for the rows and one used for the columns
- ULN2003 - Darlington NPN array used to control the led columns; I've added this to avoid drawing too much current out of 74HC595 chip
- 4 x BC558 - PNP transistors, used to decrease the load on the 74HC595 which controls the rows
- 6 x 330 Ohm resistors - in order to reduce the current passing through the leds to roughly 10 mA
I'm not too sure about the following parts:
- Are the 74HC595 chained properly?
- Are the NPN transistors setup properly?
- I assume I will need to add decoupling capacitors. Should there be one for each chip? (i.e. ATTiny85, 2 x 74HC595, ULN2003) What would be a good value? 0.0uF?
Will this work? Do you see any issues with the circuit? Can it be simplified further?
(see the attachment for a schematic)
I didn't get the chance to write the "software part", but I'm planning to light a row at time (very fast) and control the leds using shiftOut.