Go Down

Topic: SMT LEDs next to every pin. (Read 4174 times) previous topic - next topic

cjdelphi

to signal a high or low signal, they could transistor driven or taken from the pin and a 1k resistor?

CrossRoads

You would have them turn on when the header pin was high, either from an output pin, or from an external source? I would think you'd want a small pulldown also to keep a floating input from turning on the LED.
Designing & building electrical circuits for over 25 years.  Screw Shield for Mega/Due/Uno,  Bobuino with ATMega1284P, & other '328P & '1284P creations & offerings at  my website.

tronixstuff


to signal a high or low signal, they could transistor driven or taken from the pin and a 1k resistor?


Something like this?
http://tronixstuff.com/2013/04/18/review-lbe-magpie-arduino-compatible-board/
Check out my Arduino tutorials at http://tronixstuff.com/tutorials - Order my  Arduino book from http://nostarch.com/arduino

cjdelphi


tronixstuff


lol yup, exactly like that :)


design files - https://github.com/schappim/magpie
Check out my Arduino tutorials at http://tronixstuff.com/tutorials - Order my  Arduino book from http://nostarch.com/arduino

cjdelphi

#5
Oct 09, 2013, 01:45 pm Last Edit: Oct 09, 2013, 01:50 pm by cjdelphi Reason: 1
You know what....

I've never designed a PCB in my life (except for surface mounted soldering onto perfboard using just flux and a soldering iron and sometimes maybe the heatgun if i mess up), eg no CAD experience (yet)

But, surface mounted NPN transistors give roughly up to 500ma of current right? (off the top of my head the 2222 smt)  if you used a transistor on each pin to not light an LED, but to simply protect the atmega chip from drawing too much current (a 1k resistor from each pin)

*The transistor will protect the arduino pin from damage.
*Allow much greater current to be drawn from the USB.

(or with a protection diode)

*Drive relays directly from the Pin.

Anyway I'll be keeping an eye on the Magpie...  I have a growing collection of Aussie boards now :)

CrossRoads

You'd  need 2 transistors - one to sink current, one to source current, and then some way to turn them both off so the atmega pin could be an input also.
Take a look at the ruggedcircuits card - series resistor in the form of a resettable fuse-type part and with a zener to protect against overvoltage coming in.
I designed a Mega shield to add protection between screw terminals and header pins, added so many parts that the price was not supportable.
Designing & building electrical circuits for over 25 years.  Screw Shield for Mega/Due/Uno,  Bobuino with ATMega1284P, & other '328P & '1284P creations & offerings at  my website.

cjdelphi

Hmm yes forgot about sinking current... shame

CrossRoads

Add a little DIP switch with each pin, manually flip them to enable the drive transistors.
Or add a shift register that you write to enable the drive transistors.
Designing & building electrical circuits for over 25 years.  Screw Shield for Mega/Due/Uno,  Bobuino with ATMega1284P, & other '328P & '1284P creations & offerings at  my website.

Go Up