Introduction
This is 8 digital bits serial LED display. It features a flick free display and 3-Wire interface which allows more than 2 modules can be serial linked. With Interface Shield For Arduino (SKU: DFR0074), this module can be plug and play.
Specification
Connection
This module is linked to interface shield via IDC6 cables. Make sure that the first input is plugged onto "Input" socket of the module. The "Output" socket is linked to the second module "Input socket".
Pinout Diagram
Sample Code
Additional sample code with the capability to print letters.
Test Procedure
- Upload the sketch above.
- Link "Input" socket for LED Module to "shiftout" socket of interface shield
- Open serial monitor, and type "12345678". The LED module should display "87654321"
Operating procedure
The Arrays Tab and Taf contain numbers and letters encoded as HEX which tells the LED Module which segments to light.
For example the first element of Tab =0xC0 which is the number 0.
0=0xC0
0xC0=11000000
The zeros and ones represent the light(0's) segments and the off(1's) segments from the 7 segment display.
P G F E D C B A
A
--
F|__|B
E|G |C
-- .P
D
So in this case P and G will be off. which makes 0
If you want to make your own letters here are some more resources to explain:
Seven Segment display Wiki Pattern tables Ascii tables are used to see the equivalence. You can see on this table:
DEC CHR
48 0 //This is why we subtract 48 for the first element in the number array
97 a //This is why we subtract 97 for the first element in the alphabet array