Pages: [1]   Go Down
Author Topic: SMT LEDs next to every pin.  (Read 3399 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Edison Member
*
Karma: 20
Posts: 2111
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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

Global Moderator
Boston area, metrowest
Offline Offline
Brattain Member
*****
Karma: 439
Posts: 23728
Author of "Arduino for Teens". Available for Design & Build services. Now with Unlimited Eagle board sizes!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

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.
Logged

Designing & building electrical circuits for over 25 years. Check out the ATMega1284P based Bobuino and other '328P & '1284P creations & offerings at  www.crossroadsfencing.com/BobuinoRev17.
Arduino for Teens available at Amazon.com.

Melbourne, Australia
Offline Offline
Jr. Member
**
Karma: 6
Posts: 88
Arduino rocks
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

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/
Logged

Check out my Arduino tutorials at http://tronixstuff.com/tutorials - Order my new Arduino book from http://www.arduinoworkshop.com

Offline Offline
Edison Member
*
Karma: 20
Posts: 2111
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

lol yup, exactly like that smiley
Logged

Melbourne, Australia
Offline Offline
Jr. Member
**
Karma: 6
Posts: 88
Arduino rocks
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

lol yup, exactly like that smiley

design files - https://github.com/schappim/magpie
Logged

Check out my Arduino tutorials at http://tronixstuff.com/tutorials - Order my new Arduino book from http://www.arduinoworkshop.com

Offline Offline
Edison Member
*
Karma: 20
Posts: 2111
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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 smiley
« Last Edit: October 09, 2013, 06:50:43 am by cjdelphi » Logged

Global Moderator
Boston area, metrowest
Offline Offline
Brattain Member
*****
Karma: 439
Posts: 23728
Author of "Arduino for Teens". Available for Design & Build services. Now with Unlimited Eagle board sizes!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

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.
Logged

Designing & building electrical circuits for over 25 years. Check out the ATMega1284P based Bobuino and other '328P & '1284P creations & offerings at  www.crossroadsfencing.com/BobuinoRev17.
Arduino for Teens available at Amazon.com.

Offline Offline
Edison Member
*
Karma: 20
Posts: 2111
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hmm yes forgot about sinking current... shame
Logged

Global Moderator
Boston area, metrowest
Offline Offline
Brattain Member
*****
Karma: 439
Posts: 23728
Author of "Arduino for Teens". Available for Design & Build services. Now with Unlimited Eagle board sizes!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

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.
Logged

Designing & building electrical circuits for over 25 years. Check out the ATMega1284P based Bobuino and other '328P & '1284P creations & offerings at  www.crossroadsfencing.com/BobuinoRev17.
Arduino for Teens available at Amazon.com.

Pages: [1]   Go Up
Jump to: