Thanks for reading. I made a simple flash pattern using an ATTiny85. The circuit is on my breadboard. My problem is this. I'm not sure where I am drawing my current from for the leds. Not sure if it's +5V or +9V. I know...I know, but I'm a total noob. So please forgive me. I'm assuming it's +9V, since it's coming straight down the rail.
The Vcc of the ATTiny85 is connected to the output of the 7805 which is straight in from the +9V rail. The output (pin 2) of the ATTiny85 is connected to a bc337 to its base pin with a 560 ohm resistor. The emitter is grounded, and, the collector is connected to the leds cathodes. The leds are connected straight to the power rail with 47 ohm resistors on the anode side in two groups of three in parallel. I know I figured the resistor for +5V because of its value. But, I'm confused as it's directly connected to the +9V rail running down, not through the output of the 7805....
The problem is as so. If the circuit is using the +5V for the leds, is there a way to keep the same circuit and power it with the +9V so I can wire in series? The leds are all white and SMD ones that need t fit in a tight space.
Here is a schematic of basically how it is on the board. Please note this is my first attempt at this. I used design spark to do it. The leds are meant to say white not red. I was having trouble trying to figure out how to change names on stuff.
Again, please forgive the ignorance and thanks for your time and insights.
The Vcc of the ATTiny85 is connected to the output of the 7805 which is straight in from the +9V rail. The output (pin 2) of the ATTiny85 is connected to a bc337 to its base pin with a 560 ohm resistor. The emitter is grounded, and, the collector is connected to the leds cathodes. The leds are connected straight to the power rail with 47 ohm resistors on the anode side in two groups of three in parallel. I know I figured the resistor for +5V because of its value. But, I'm confused as it's directly connected to the +9V rail running down, not through the output of the 7805....
The problem is as so. If the circuit is using the +5V for the leds, is there a way to keep the same circuit and power it with the +9V so I can wire in series? The leds are all white and SMD ones that need t fit in a tight space.
Here is a schematic of basically how it is on the board. Please note this is my first attempt at this. I used design spark to do it. The leds are meant to say white not red. I was having trouble trying to figure out how to change names on stuff.
Again, please forgive the ignorance and thanks for your time and insights.
Attachments
-
57.8 KB Views: 53
Last edited: