Close

Display board designed

A project log for Subwaymate

Real-time subway predictions from a aesthetically pleasing unit near you!

thomas-rThomas R 07/09/2015 at 00:480 Comments

I finished the schematic for the display controller board yesterday & sent the gerbers to the manufacturer.

I am going with a two-board design for the first revision of Subwaymate, as it will help compartmentalize features and aid in avoiding silly design mistakes on the board from making coasters of the whole thing. Also, by keeping the display unit agnostic from the rest of the project, I will have a display to use on future projects.

Controller primary components

Brief design overview

This display is drawn row-by-row. The row to be drawn is selected by the counter, which feeds it output through an inverting-buffer, then out to the P-channel mosfets. The columns are selected by the TLC59284 which are essentially shift registers that can sink considerable (configurable) current, so you can avoid having many current limiting resistors for the LEDs.

The Kinetis MCU will be responsible for drawing the display, and receiving commands from the main controller. I have exposed the MCU's i2c, SPI and UART lines to headers.

The raw inputs for the row/column selection have also been broken out to the left side of the board - 4 pins are required (shift clk, in, latch + counter clk). This can be reduced by 1 if a solder bridge is used to tie the clock of the counter to the latch of the shift register.

Software overview

The software is still in the planning phases, but the rough plan is to use a slim RTOS like AtomThreads to both keep the display refeshed and take input from the host controller over i2c, SPI or serial.

The MCU will have an ASCII character set preloaded - but the command set will also allow the host to toggle single LEDs, rows and columns.

Discussions