LED tiles V2: Difference between revisions

From London Hackspace Wiki

no edit summary
m (Added datasheet)
No edit summary
Line 39: Line 39:
   BBBBBBBB BBBBBBBB GGGGGGGG GGGGGGGG RRRRRRRR RRRRRRR | BBBBBBBB BBBBBBBB GGGGGGGG GGGGGGGG RRRRRRRR RRRRRRR | BBBBBBBB BBBBBBBB GGGGGGGG GGGGGGGG RRRRRRRR RRRRRRR ... etc .. x 384 bits
   BBBBBBBB BBBBBBBB GGGGGGGG GGGGGGGG RRRRRRRR RRRRRRR | BBBBBBBB BBBBBBBB GGGGGGGG GGGGGGGG RRRRRRRR RRRRRRR | BBBBBBBB BBBBBBBB GGGGGGGG GGGGGGGG RRRRRRRR RRRRRRR ... etc .. x 384 bits
</pre>
</pre>
There are two 'banks'; the top 8 rows and bottom 8 rows. There are loaded with data using two different data in lines, D1 & D2. The data lines are clocked and latched with the same shared clock and latch signals.
In each bank, there are 8 rows. A single stream of 384 bits loads two rows of 2 x 64 LEDs. The address lines A0 & A1 select which row is being loaded from the serial data.
To display a full tile, of all 1024 RGB LEDs, you need to :
# Set OE=HIGH & LAT=LOW
# For each address A0 & A1 = 0x00. 0x01. 0x10. 0x1 :
## Clock 384 bits of data on to D1 & D2, by toggling the CLK pin from LOW to HIGH
## Toggling LAT pin from HIGH to LOW to latch the 384 bits in to the driver chips.
## Toggle the OE pin LOW to turn the LEDs on for that row.
Repeat this very quickly as fast as you can ! :-)


[[File:LED Panel Bit Stream.png]]
[[File:LED Panel Bit Stream.png]]
109

edits