7-Segment Display Wiring and Programming
hey everyone, wondering if me figure out how wire , program 2 7-segment displays of 4 digits each. i'd learn go.
here data sheet 7-segment displays:
http://www.us.kingbright.com/images/catalog/spec/sa18-11ewa.pdf
i'll using arduino mega, assume i'll need bit registers or that? help!
here data sheet 7-segment displays:
http://www.us.kingbright.com/images/catalog/spec/sa18-11ewa.pdf
i'll using arduino mega, assume i'll need bit registers or that? help!
7 segment displays easy.
you'll need 7 i/o pins each digit if without additional components.
otherwise, pick shift register sparkfun. you can drop i/o requirements significantly.
the datasheet shows each of 7 segments on display labeled a,b,c,d,e,f,g , dp (decimal point). apply voltage pin 1 or 5, , apply voltage pin segment want turn on. pretty easy.
the trickier part wiring shift registers correctly, you'll have mess of wires 8 digits (8x7 = 56 wires minimum).
you'll need write code extracts single decimal digit integer , figures out display goes on.
you'll need 7 i/o pins each digit if without additional components.
otherwise, pick shift register sparkfun. you can drop i/o requirements significantly.
the datasheet shows each of 7 segments on display labeled a,b,c,d,e,f,g , dp (decimal point). apply voltage pin 1 or 5, , apply voltage pin segment want turn on. pretty easy.
the trickier part wiring shift registers correctly, you'll have mess of wires 8 digits (8x7 = 56 wires minimum).
you'll need write code extracts single decimal digit integer , figures out display goes on.
Arduino Forum > Forum 2005-2010 (read only) > Software > Interfacing > 7-Segment Display Wiring and Programming
arduino
Comments
Post a Comment