LINSN LED strips
|Skills||Basic electronics, Reverse engineering firmware|
Owner of the LED mats has about 40m2 in total, has multiple power supplies but no "control box". The power supplies contain a Receiver Card, the missing component is the Sender Card.
The owner would like to hang some mats on the side of his van when parked at events, so he can display text (dynamically). Since he only needs a small amount of the mats, the unused mats need the same.
[LINSN LED] seems to be the chinese manufacturer of the hardware that [Radiant Opto Electronics] sells on the western market.
The led-panels in question seems to be the [LED Curtain Screen Linx-30(?)] and have been supplied with 19" 'head-units' that contain supporting electronics. The system lacks a 'driver' card that belongs to it; nor is there any software supplied with what we have, currently.
The LED-panels consist of strips with 8 RGB-LED's each and are mechanically connected together by two braided nylon-strips along both sides. Electronically they are linked together by a 2-wire power-bus (24Volt) and a 5-wire databus (signal-ground, serial data, clock, latch and (most likely) OutputEnable, see below).
Each strip has a small switch-mode power-supply on the edge that has the power-connector on it; this supplies both LED's as well as supporting logic.
The data-bus seems to be be built in the following manner:
- In-connector->(half of) octal transceiver->16-bit shift register 1->16 bit shift-register 2->(half of)octal transceiver->Out->connector
Effectively, this creates a single long shift-register of 32-bits per LED-strip with signal reconditioning at the in and output sides. The LEDs are linked to the outputs of the shift-register which have 'Signal-ground', 'Latch', 'Clock' and 'OutputEnable' in a paralel-bus topology with the other strips, the 'SerialDataIn' signal is fed 'through' each shift-register in turn.
One thing that needs to be investigated is how each 16-bit shift-register seems responsible for only 12 outputs (4 x RGB LED). Is there perhaps a function for the extra 4 bit positions ?
The first and last strips in each mat link to female/male connectors respectively that will allow you to daisy-chain both power and data-buses to a next mat of led-strips. The power-connectors seem to resemble the [Switchcraft MicroCon] series. The data-connectors dont seem to have an easy match with any of the harsh-environment 'lockable' connectors that SwitchCraft supplies. Most 5-pin connectors seem to prefer a 'cross-style' layout (like the 5 on a six-sided die). It may be a custom part.
[16-bit Shift Register with latch, output-enable and adjustabble constant-current drivers:]
- MBI5024GP <-- partnumber; made by 'Macroblock'
- DP317811HB <-- Trackingnumber
- 16 Bit shift-register with serial in, clock and output-enable and latch-function
- 25 MHZ clock freq.
- 5v/3.3v capable
- constant-current up to 3-45mA@VDD=5V or 3-30mA@VDD=3.3V , set by resistor on reference-input.
8-port bi-directional high-Z transciever (aka: [octal line driver]) or [Octal Bus transceiver, 3-state])
- (74)HC245 <-- 74xx series TTL 'Highspeed Cmos', partnumber 245
- 9A8D407 <-- Internal numbering/tracking/package-info
- UuG920E <-- Same
- NXP <-- NXP corp; formerly Philips Semiconductors
The head-unit has a front-plate that provides the following connectors:
- 1x 220V in via [Neutrik PowerCon 20 A Blue]
- 1x 220V out via [Neutrik PowerCon 20 A White]
- 1x Data in (date in) via [Neutrik EtherCon]
- 1x Data out (date out) via [Neutrik EtherCon]
- 2x 24Volt out(1 and 2) via [Neutrik SpeakCon]
- 4x 'date out' to LED-mats via something that looks like it's been made by 'SwitchCraft'; resembling a miniature 'din' layout with 5 pins.
The 24-volt connectors have wire-harnesses available that allow you to connect 2 led-mats to it in parallel.
Internally, the unit consists of two large switched-mode powersupplies (smps) that provide 24Volt on two beefy terminals each and lead to the front-panel connectors as well as supplying some internal logic-board that has the RJ-45-connectors and the 5-pin connectors hooked up to it.
The logic-board inside the head-unit seems to be the following: [RV802NET]. Note that the picture on that page seems to show a predecessor of the RV802, the RV702. There is no info about any of the controllers on the english version of the LINSN site. However, it seems that they are really enthousiastic about re-labelling every chip on their hardware with their logo, check: [this example]
Googling for the RV802NET card leads to a number of english hits, however:
[] for example shows a perfect picture of the card that looks like the one we have, without the [] line-driver daughterboard, however and 'receiving processor' that consists of two chips instead of just one. Ours is covered with a heat-sink. The black chip behind is labelled 'XILINX' and is likely an FPGA with a custom function.
The VisualLumen link above leads to a PDF that has all kinds of info about how to set this controller up in LedStudio.
Looking at the info on the site, it seems there are two ways that the board can output it's data. Either via Serial (26-pin connector J3) or Parallel (16-pin J4). The line-driver daughterboard clearly shoes that only pin 1-18 are actually in use.
The pinout for connector J3 is listed in the table below:
The function of the 'LAT', 'CLK' and 'GND' pins is easy to guess. The R-pins are likely to correspond to 'row'. Given that there are 9 of them soldered (R1-R8 and R16) this might correspond to the SDIN and OE lines on the buses to the led-mats. It should be interesting to check if R16 leads to anything. The function of the A-C pins is unclear and requires investigation; perhaps these are, in fact, the OE-lines ?
The board [has a set of RJ45-connectors onboard] that likely accept standard Ethernet signalling. The fact that the cables supplied with the head-unit are labelled 'LAN LINE' seems to corroborate this, as does the presences of the RealTek logo on the [RV701 card], the predecessor to the one we have.
Other links to Boards / Boxes
Receiving Card: http://www.ledcontrolcard.com/led-receiving-card-c-15_20/linsn-rv802-led-receiving-card-p-46.html
Sending Card (?): http://www.ledcontrolcard.com/led-sending-card-c-15_19/linsn-ts801d-led-control-cardsd801d-and-l202-led-card-p-4.html
How to get it to work
- Using a Logic Analyzer to sniff the data between a Sending- and Receiving Card.
- Difficulty Easy-Medium
This requires us to get our hands on one of the 'sending' cards and a copy of LEDSTUDIO that will allow us to sniff the protocol. A card seems to be available for around 160 Euro, if reports are correct.
- We fuzz the shit out of it over the Ethernet-bus
- Difficulty Hard
There's a chance that the 'protocol' is quite simple and doesnt do much in the way of error-checking, etc, apart from the standard ethernet CRC's or what-have-you. Perhaps sending random ethernet-frames will get some interesting outputs.
It might be useful to go through the setup information on some of the sites listed above to see if it is possible to deduce the data-layout based on the led-mat arrangements available. Also, it might be possible to deduce wether the PWM'ing of color-values is done in the CONTROLLER-FPGA or the one(s) on the SENDING-card FPGA's
- We don't use the controllers and build our own system
- Difficulty Easy-Insane
The protocol on the LED-mats seems straight-forwards enough. The real challenge is, of course, to do full 50FPS video on one of these systems and that's what the special cards and high-speed LAN-buses are used for. Bit-banging a single LED-mat should be quite easy; especially at lower FPS's and/or full on/off RGB control (aka: no PWM).
Perhaps it is , in fact, possible to make a system that uses unicast frames on ethernet that contain the RGB-info and have each 'row-unit' ; using a gigabit-switch to segment a Gigabit uplink into 100mbit channels that Atmega/xmega/msp430-based hardware might be able to cope with
Having a simple scroll-text running over a semi-long segment of this stuff should, in fact, be quite simple to achieve.