Did we settle on a safe way to connect LED's to the NANO?
potatohead
Posts: 10,261
I'm working on the remainder of monitor use examples to finish up my "Using The Monitor" get started guide, and some pin action would be really handy at this stage. On the DE2, there are switches and pins mapped to the virtual P2 pins, so I've got LED's to work with.
On the NANO, there are just the pins and some discussion on how to safely connect them. I don't want to put something in that guide that breaks things. Could you guys take a moment and clarify how best to connect a few LED's, say 8? I'm thinking standard LED's found laying around on the average work place. I don't want things to focus entirely on the DE2, because the NANO is the less expensive option and perfectly fine for lots of testing.
I'll use the NANO picture we've got out there already and a circuit diagram for the text. If somebody wants to donate a photo to the cause, you get a seriously good karma bonus for life! +1 "good on you" kind of thing. Oh, and a mention as that cool person who took a photo for me. That too.
Thanks!
On the NANO, there are just the pins and some discussion on how to safely connect them. I don't want to put something in that guide that breaks things. Could you guys take a moment and clarify how best to connect a few LED's, say 8? I'm thinking standard LED's found laying around on the average work place. I don't want things to focus entirely on the DE2, because the NANO is the less expensive option and perfectly fine for lots of testing.
I'll use the NANO picture we've got out there already and a circuit diagram for the text. If somebody wants to donate a photo to the cause, you get a seriously good karma bonus for life! +1 "good on you" kind of thing. Oh, and a mention as that cool person who took a photo for me. That too.
Thanks!
Comments
You could easily do 6 LED's with a single 74HC04.
Clusso mentioned using using ultrabright LED's with 10k or so resistors, but you may be excluding that with the "standard LED's" comment.
C.W.
One thing to keep in mind when buffering is that the P0-P31 pins seem to have weak pullups during reset.
That was with LED cathode grounded and 2.2K from anode to P0 of the Nano.
Ignoring the drop of the LED the max current would be 1.5mA, so should be safe.
C.W.