Pages: [1]   Go Down
Author Topic: Binary Clock - ATTiny85 + 74HC595 + ULN2003  (Read 191 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 2
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi,

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.

Thanks,
Chris


* Binary Clock #2_schem.png (174.72 KB, 2328x1557 - viewed 19 times.)
« Last Edit: April 15, 2014, 12:07:49 am by chris83 » Logged

Anaheim CA.
Offline Offline
Faraday Member
**
Karma: 44
Posts: 2813
...
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

It is very difficult to guess at your problem... If you had 1.read the sticky note at the top of this forum section you would understand what is the minimum information required for an answer that applies to your code and your wiring...

Doc
Logged

--> WA7EMS <--
“The solution of every problem is another problem.” -Johann Wolfgang von Goethe
I do answer technical questions PM'd to me with whatever is in my clipboard

Offline Offline
Newbie
*
Karma: 0
Posts: 2
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Thanks Doc for taking the time to have a look. As I've mentioned before, I'm quite new to electronics and this forum, thus I may miss some details which are essential.

I've modified my post with extra details. If there's anything else that I should add, please let me know.
Logged

Pages: [1]   Go Up
Jump to: