Bus LED Display
Overview
An LED matrix pulled out of a retired transit bus, with a spec sheet that said SAE J1587 and almost nothing else. I'd never heard of J1587, and neither had my robotics teacher or my engineering teacher. Hours with a J1587 library went nowhere. So I opened it: two boards, one controlling the LEDs and one carrying the LEDs and some shift registers. I bypassed the control board entirely, spent a few hours on an Arduino working out how to clock data into the shift registers and pull the right chip-select line low, and got one LED on, then text by refreshing many times a second. It's screwed to my wall showing when the next bus to the city arrives.
Photo gallery
What I learned
- When the documented interface is a wall, go one layer down. I spent hours on the protocol the datasheet named and nobody I knew understood. The shift registers under the control board had no protocol to learn. The bus sign speaks J1587; the LEDs speak clock and data.
- Industrial hardware isn't written up. A consumer part has forum posts; this had a spec sheet and a standard number. The answer was in the part numbers on the second board, and reading those first is a habit now.
- Chip select is the whole trick on a multiplexed matrix. Push data, pull one select line low, repeat fast enough that it looks lit. Once that worked for one LED, text was a loop.