0

7-segment LED from Radio Shack
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

7-segment LED from Radio Shack

by clair on Sat Dec 03, 2011 3:01 pm

I always want to see letter and numbers, in other words, output; so I snatched up this 7-segment LED display at Radio Shack only to find out that apparently no one in the world but me has ever used one with an Arduino. All the ones in Arduino projects have the pins neatly at the top and bottom. So much for that. I spent hours searching for how to translate the project code I was using to match the one I had. Finally, working with a datasheet from National Semiconductor I managed to do it. (BTW, I am brand new at all this stuff -- 4 days only.)

So, I thought I post an image of the Radio Shack LED, RS part number 276-075; National Semiconductor part ELS-321HDB/A. maybe it will help some other hapless newbie like myself.

ELS-321HDB_A-pins.gif
Pin diagram of National Seminconductor 7-seg LED (Radio Shack).
ELS-321HDB_A-pins.gif (11.14 KiB) Viewed 4955 times

clair
 
Posts: 25
Joined: Sun Nov 27, 2011 5:04 pm
Location: Vermont

Re: 7-segment LED from Radio Shack

by thefatmoop on Sun Dec 04, 2011 1:33 am

Output over rs232 is pretty good too but requires a computer. I often use an LCD similar to this one http://www.adafruit.com/products/198 Pretty easy to wire up and the library makes it just as easy as the serial.print commands.

If you want to save some pins on the arduino with that 7 segment you could look into a shift register
https://www.adafruit.com/products/457
thefatmoop
 
Posts: 352
Joined: Tue Aug 19, 2008 4:36 pm

Re: 7-segment LED from Radio Shack

by clair on Sun Dec 04, 2011 6:53 am

Yes -- I just got some from adafruit, and am investigating how they work right now. In doing that, I found this project

http://www.sqlskills.com/blogs/paulselec/post/Arduino-cascading-shift-registers-to-drive-7-segment-displays.aspx

which, from his diagrams, I deduced was using four of the same 7-segment LED. He has some nice images.

As I said, I'm only 4 days, well, 5 now, into be the proud owner of an Arduino, so I've much to learn. In this wholly new field I've decided to take one component and run it to ground as it were. So, I've decided on 7-segment displays as my first subject -- and of course that leads to shift registers, and who knows what else!

clair
 
Posts: 25
Joined: Sun Nov 27, 2011 5:04 pm
Location: Vermont

Re: 7-segment LED from Radio Shack

by clair on Sun Dec 04, 2011 7:04 am

Oops -
forgot to post a link to the code I used -- it's originally from Hacktronics

http://www.hacktronics.com/Tutorials/arduino-and-7-segment-led.html

and my version, commented and with an image at the bottom, is here:

http://www.clairdunn.com/personal/arduino-7-segment-led.htm

clair
 
Posts: 25
Joined: Sun Nov 27, 2011 5:04 pm
Location: Vermont

Re: 7-segment LED from Radio Shack

by rionwulfe on Mon Oct 28, 2013 5:06 pm

Thank you so much for posting this, Clair. It helped me.

rionwulfe
 
Posts: 1
Joined: Mon Nov 19, 2012 8:36 am

Please be positive and constructive with your questions and comments.