Rotating LED Array Emulates Marquee-Type Display

Nov. 17, 2008
I use this display circuit to expose students to the concepts and characteristics of scanning displays. Basically, a message is delivered to the CPU (a Microchip PIC16F76) over an RS-232 interface. The message is displayed on a vertical array of

I use this display circuit to expose students to the concepts and characteristics of scanning displays. Basically, a message is delivered to the CPU (a Microchip PIC16F76) over an RS-232 interface. The message is displayed on a vertical array of eight LEDs, which are spun by a dc motor. As they spin and take on new positions, the LEDs are updated with new lines of bit patterns, producing the display. In this way, the software allows the eight LEDs to emulate an 8-by-80 marquee-type display panel.

The device consists of a CPU board and a power-distribution board. The CPU board is mounted on the motor axis and connected to the power-distribution board with a three-contact, slip-ring assembly. The power-distribution board is fixed underneath the device along with the batteries.

On the CPU board, Q1 converts the bipolar RS-232 signal to the TTL used by the CPU (Fig. 1). C1 filters out small noise impulses on the power line created by the slip rings. S1 and S2 isolate the program pins of the CPU so that the chip can be reprogrammed in-situ if desired. The circuit uses crystal control of the CPU for display stability.

The power-distribution board controls motor power and CPU power separately. Therefore, the CPU can be reprogrammed without the annoying problem of a spinning chip (Fig. 2). The 555 timer, controlled by R2, adjusts the dc motor’s rotation speed to be synchronous with the strobed data output.

In the procedural flow diagram of the software, the mainline MARQUEE initializes the hardware and loads a default display message into Data RAM (Fig. 3). The subroutine continues to loop infinitely as it calls subroutine DISPLAY to send the message to the LEDs, one character at a time.

Subroutine DISPLAY checks the character received from MARQUEE. If it’s a valid (upper case) ASCII code, an appropriate subroutine is called to actually send display bit patterns to the LEDs. If an invalid code is received, it’s ignored. Each character routine sends eight, eight-bit patterns with a delay after each line to be synchronized with each new position of the LED array as it spins around its axis. Two of the eight lines are blank to represent a distinct space between characters. The ASCII space code is also valid and is reserved for blanks between words.

The message can be changed by sending new characters over the RS-232 port. The mainline code is interrupted and the new message is updated. As each character is entered, it’s displayed on the LEDs. This is useful for debugging purposes. After 10 characters are input, the new message appears.

The most difficult part of the project was the mechanical slip ring assembly. To speed production and deliver a finished looking product, a child’s toy was used to package the system (sorry, Michelle).

Sponsored Recommendations

Near- and Far-Field Measurements

April 16, 2024
In this comprehensive application note, we delve into the methods of measuring the transmission (or reception) pattern, a key determinant of antenna gain, using a vector network...

DigiKey Factory Tomorrow Season 3: Sustainable Manufacturing

April 16, 2024
Industry 4.0 is helping manufacturers develop and integrate technologies such as AI, edge computing and connectivity for the factories of tomorrow. Learn more at DigiKey today...

Connectivity – The Backbone of Sustainable Automation

April 16, 2024
Advanced interfaces for signals, data, and electrical power are essential. They help save resources and costs when networking production equipment.

Empowered by Cutting-Edge Automation Technology: The Sustainable Journey

April 16, 2024
Advanced automation is key to efficient production and is a powerful tool for optimizing infrastructure and processes in terms of sustainability.

Comments

To join the conversation, and become an exclusive member of Electronic Design, create an account today!