sku: COM-09481
Description: This is a basic, 4-digit 7-segment display - blue in color. It has a common anode. The display features one decimal point per digit, and individually controllable apostrophe and colon points.
The LEDs have a forward voltage of 3.4VDC and a max forward current of 20mA. The hardware interface is sixteen (two rows of eight) through-hole pins.
We carry this same display in red, green, and yellow.
Dimensions:
Documents:
COM-09482
4-Digit 7-Segment Display - Kelly GreenCOM-09577
74HC238 - 3 to 8 Line DecoderCOM-09938
10 Segment LED Bar Graph - GreenCOM-09766
7-Segment Serial Display - RedCOM-09937
10 Segment LED Bar Graph - BlueCOM-00526
Voltage Regulator - 3.3VCOM-09935
10 Segment LED Bar Graph - RedCOM-10931
4-Digit 7-Segment Display - WhiteCOM-09936
10 Segment LED Bar Graph - YellowCOM-09480
4-Digit 7-Segment Display - YellowCOM-00107
Voltage Regulator - 5VCOM-09483
4-Digit 7-Segment Display - RedCOM-00733
Shift Register 8-Bit - 74HC595COM-10136
TLC 5940 - PWM Driver
Comments 12 comments
not compatible with the Capacitance Meter DIY Kit X_x as i just found out
they really need to dump this on one of those serial display boards w/ the atmega168
Hey sparkfun and community,
I was wondering if anyone could direct me to a good tutorial for using these particular displays.
Or could someone who got them working please provide some sample code and description of schematics?
Thanks!
ahmad,
I just got one of these in the mail, and I’m starting to get it to work. I’m using an atmega48, and I connected PORTD to the display with LED_A-PORTD0…LED_G-PORTD6. You can find a table of bit encodings at the bottom of http://en.wikipedia.org/wiki/7_segment_display and store them in an array (use the gfedcba column, but invert the values because the display is common anode, i.e. led_digits[0] = ~0x3F;). If you set PORTD to one of those values, and then set one of the Digit # pins on the LED high, you should see that value on that digit. You’ll have to rotate through turning the different digits on and off quickly to set different values on each. I’m new at this, so if there’s a better way I’d love to know, but hopefully this helps some.
Turinturambar88,
Thanks for the great info. I did manage to get this working and your advice is dead-on.
I have posted my code and so have a few others on my arduino forum topic here:
http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1265669651
These are very clear and easy to use, for a demonstration please visit: http://wp.me/pQmjR-zL
anyone know he manufacturer part number?
YSD-439AB4B-35. It’s in the datasheet.
You can’t charlieplex the display due to a single common anode. If you want to be able to control all the lights, you will need like 14 pins to do so.
In theory you could drive a display like this with just 5 pins if it was made out of individual LEDs.
This is what it looks like in action (direct-driven, w/ 330 Ohm resistors):
http://www.youtube.com/watch?v=HbTW_QWEx6s
If anyone wants some extra code or wants do make a clock with an arduino I made a project on instructables with this display
http://www.instructables.com/id/TimeDuino-Arduino-based-clock-using-7-segment-dis/