Go Down

Topic: Need Help with LED Binary Counter (Read 2969 times) previous topic - next topic

does the sketch need to be modified at all each time I add an LED?

Jack Christensen


does the sketch need to be modified at all each time I add an LED?


Nope, it's blinking them all simultaneously, plus the onboard LED. The intent is just to ramp up the load slowly and see what happens.

James' suggestion is a good one, have you tried the LEDs just alone?
MCP79411/12 RTC ... "One Million Ohms" ATtiny kit ... available at http://www.tindie.com/stores/JChristensen/

James, I hooked it up to the 5v out and the ground (with the resistor & LED in the circuit) and it's not illuminating the LED at all.

Jack, it appears to behave exactly as you said it would.  started with them all unplugged and added em all one by one and they're all blinking in unison

Jack Christensen

Don't understand why one wouldn't illuminate directly off the power supply. Wasn't wired backwards by any chance?

Well if they're all blinking in unison, then don't touch anything ;) just reload the original sketch!

We await with bated breath...
MCP79411/12 RTC ... "One Million Ohms" ATtiny kit ... available at http://www.tindie.com/stores/JChristensen/

ARGG!!!!  No joy.  not illuminating the multiple bits in unison

Jack Christensen

So like the video in your original post?
MCP79411/12 RTC ... "One Million Ohms" ATtiny kit ... available at http://www.tindie.com/stores/JChristensen/


Jack Christensen

And wiring one as shown below does not illuminate it?
MCP79411/12 RTC ... "One Million Ohms" ATtiny kit ... available at http://www.tindie.com/stores/JChristensen/

James C4S


James, I hooked it up to the 5v out and the ground (with the resistor & LED in the circuit) and it's not illuminating the LED at all.

Then you didn't wire something correctly.  This VERY simple test should light the LED.  

Two things to try:

1.  Go back to my 5V/Resistor/LED/GND circuit.  If you can't make one LED directly powered light up, there is a significant problem.  Either the LED is backwards or you some bad wires.

2.  Jack's simple sketch but, again, increase the delay from 1000 to 5000.  Observe the difference.

Where did you buy the LEDs?  Do you have a link?
Capacitor Expert By Day, Enginerd by night.  ||  Personal Blog: www.baldengineer.com  || Electronics Tutorials for Beginners:  www.addohms.com

Jack, I wired it up again for the GND to 5V just to double check and I may have accidentally slipped the wrong pin for the 5v the first time.  The LED illuminates but it blinks.

Jack Christensen

Ha! You do have those LEDs with built-in blinker circuits! You need some plain ones!
MCP79411/12 RTC ... "One Million Ohms" ATtiny kit ... available at http://www.tindie.com/stores/JChristensen/

Holy crap.  I thought you were joking when you said with built in blinker circuits.  I've been using LED's for years and I had no idea that such a thing existed, but taking a look back at the package, it sure does.

I like it when things turn out to be that simple.

Thanks for all the help guys!!!!!!!!!!!!

Jack Christensen

Baha! Oh yes they do exist. And man, will they mess with your mind!

Good evening, gents!
MCP79411/12 RTC ... "One Million Ohms" ATtiny kit ... available at http://www.tindie.com/stores/JChristensen/

James C4S


I've been using LED's for years and I had no idea that such a thing existed, but taking a look back at the package, it sure does.


Carefully examine the base of the LED and you'll see there is a small component inside, to help it blink.  Once you've done that, throw them away! Otherwise, it'll bite you again.  ;)
Capacitor Expert By Day, Enginerd by night.  ||  Personal Blog: www.baldengineer.com  || Electronics Tutorials for Beginners:  www.addohms.com

Go Up