Go Down

Topic: LED's on the ICSP pins (Read 767 times) previous topic - next topic


Nope I'm using my own board design and so when using the ICSP header, these pins need to have low impedance load other wise the programmer will fail. I'm after some advice as to what constitutes a low impedance load in this case.

I think you mean any loads wired to the pins need to be high impedance (consume less current) so as to not increase the current driving requirement that the programmer has to supply to the ICSP pins. Yes op amps can isolate the led current load from the pins, but so can a cheap mosfet transistor like a 2N7000 which is cheaper and takes up less space.  Of course you still need a series current limiting resistor for any leds no matter what is driving them directly.



Brilliant didn't think of looking up the schematic for that. So in that case I will use LMV358's and a 1K series resistor with an LED on Pins 11, 12, 13. And that will still enable me to program it using ICSP right?

If you are going to use three LEDs you will need three op amps.
One 324 (quad op amp) might be better than two 358's (dual op amp).

Or you could follow Lefty's advice and use three mosfets like the small 2N7000.

Coding Badly

I frequently have LEDs + current limiting resistors connected to ISP pins.  The current consumption is a bit south of 16 ma.

Commercial programmers (like the Pololu AVR Programmer) sometimes have series resistors on the ISP lines.  I guess the series resistors plus an LED and resistor may cause problems (it has never caused problems for me).

A piezoelectric buzzer has caused problems for me (Teensy was the programmer).  Adding a small value resistor (22 ohms) eliminated the problem.


I have had problems from time to time but it usually works ok with just a 1k series resistor.


Anything with a high impedance should be OK to connect to the SPI bus and the bus will still work. A LED with limiting resistor should be OK. The easiest way to find out for sure is to just try it.

No, I don't answer questions sent in private messages (but I do accept thank-you notes...)

Go Up