LED tiles V2

From London Hackspace Wiki

Revision as of 08:38, 3 April 2017 by Rob Kam (talk | contribs) (add Ready made LED Scancards - lifted from Tom's post on mailing list)

LED screen tiles donated by Tom (Mistamudd) See mailing list thread here.

LED tile in its packaging.

Specs

The tile contains the matrix of 64 x 16 (1024) RGB LEDs and the driver ICs. Data is sent serially to the LEDs, configured in 'banks' and 'rows'.

Each tile is 500mm wide x 125mm high with LED pixels every 7mm pitch.

 

There are 48 x MBI5034 LED controller chips on the PCB, which are 16 bit shift register constant current sinks. Datasheet : File:MBI5034 Datasheet VA.00-EN.pdf

The controller chips are labelled R,G & B 1-16. So each chip does 16 LEDs of the same colour. They each have a current set resistor. You can also set the current gain in software from 12.5% to 200% but this set the gain for all LEDs attached to that chip, not individual LEDs. The default power gain is 100%.

There are two address line inputs and the LED chips seem to be soldered in to banks of 4. Which makes sense.

There is an HC138 decoder on the address lines, and only the first four outputs seem to be wired. Again, matches the above.

There are also 8 dual FET chips, which seem to control the 4 banks.

The top connector is all Vcc (5v?)

The bottom is all ground

The middle connector has :

  • D1 & D2
  • OE (Output enable) & LAT (Latch)
  • A0 & A1
  • CLK (Clock) & NC

Driving hardware

Can be driven with an Arduino or Teensy. The data pins can be driven directly with 3.3V and the panel fully on pulls about 7 amps @ 5v.

Driving code

The serial data sent to D1 & D2 needs to be sent in 3 x 16 bit B,G,R frames, 64 times per row (i.e. one row is 384 bits) then this is latched, and then the output is enabled.

  BBBBBBBB BBBBBBBB GGGGGGGG GGGGGGGG RRRRRRRR RRRRRRR | BBBBBBBB BBBBBBBB GGGGGGGG GGGGGGGG RRRRRRRR RRRRRRR | BBBBBBBB BBBBBBBB GGGGGGGG GGGGGGGG RRRRRRRR RRRRRRR ... etc .. x 384 bits

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 :

  1. Set OE=HIGH & LAT=LOW
  2. For each address A0 & A1 = 0x00. 0x01. 0x10. 0x1 :
    1. Clock 384 bits of data on to D1 & D2, by toggling the CLK pin from LOW to HIGH
    2. Toggling LAT pin from HIGH to LOW to latch the 384 bits in to the driver chips.
    3. Toggle the OE pin LOW to turn the LEDs on for that row.
  3. Clock 4 x 384 bits of data to light every row of LEDs in sequence.

Repeat this very quickly as fast as you can ! :-)

The LEDs are either on or off, there is no brightness control of individual LEDs possible. To mix colours, you need to implement a PWM or BCM waveform with each refresh cycle of the panel.

 

Ready made LED Scancards

LED Scancards (receiving cards) are available from LED-CARD Store. Tom recommends those from Nova Star although others, e.g. Linsn, DBstar, NovaStar etc. should still work.

The control software from Nova (Nova Mars) is by far the most friendly and widely used LED panel control software, NovaLCT-Mars V4.4.1 Setup.exe and User manual.

If you buy a LED screen from DigiLED they will give you a pre-made config file called an rcfg file. This is the file that configures the Scancard to work with a given design of LED tile. However because this isn't a standard digiLED product Tom cant share a ready made file with you. Instead, you need to create the file yourself.

This is done from the Receiving Card Tab of the Screen Configuration menu. Look for a menu called "Smart Settings".

Smart settings will walk you through a wizard where you click-in the multiplex/scan info, the RGB order info and the pixel map info of the LED tile, all guided by lit up sections of the LED tile and click responses in Mars. The end result of this process is a newly created rcfg file that will configure your Scancard of choice to you LED tile of choice.

Which card?

Tom recommends you start with the Novastar MRV336 LED Display Wall Receiver Card because it's cheap and can do lots and lots of LED tiles on one card.

You are also going to need one a Novastar LED MCTRL300 Synchronous LED Sender Box to act as your DVI to LED converter card.

With this little bundle of kit you literally have enough to map a 64x16 pixel slice of your computer desktop straight onto the LED tiles at full video quality and frame-rate. Add more LED tiles for bigger pixel space. Copy Paste Repeat and you could take this all the way to 4k width or height although a screen with these pixels at 4k size would be mahussive!!!

External links

  • Las Vegas Hackspace (Synshop) LED panel wall project on GitHub, (includes a high res image of the PCB).