The tiles are based on 2” square 8×8 LED displays. Each pixel in the display has a red and green LED. The LEDs are arranged in a matrix, with the red and green LEDs... Electronics Projects, LED pixels PIC24FJ64GA004 Dynamic Tile Display “microchip projects, microcontroller projects, “


The tiles are based on 2” square 8×8 LED displays. Each pixel in the display has a red and green LED. The LEDs are arranged in a matrix, with the red and green LEDs sharing a common cathode tied to the columns of the matrix, and individual connections for the red and green along the rows of the matrix. The matrix has 24 connections (8 columns, 8 red rows & 8 green rows).

Underneath each display, a PIC24FJ64GA004 MCU drives the LEDs. This MCU has 35 I/O pins, 24 are used for directly driving the display. Since the MCU can’t quite sink enough current if all of the LEDs in a column are on, the column lines are connected through a ULN2803 Darlington transistor array to provide the necessary current drive.

Because of the matrix configuration, only one column of the display is lit at a time. The MCU scans the columns at about 1000Hz to provide the appearance of a steady display. Because the LEDs have a 1/8th duty cycle, no current limiting resistors are needed

LED PIXELS PIC24FJ64GA004 schematic

Power for each tile is supplied by two AAA batteries, which is fed through a MAX 756 boost regulator to get the 3.3V required. The rechargeable NiMH AAAs have about 800mAh. Each tile draws about 100-280 mA depending on the number of illuminated LEDs. The boost regulator is about 80% efficient, giving an overall battery life of around six hours.

Since accurate timing is a requirement of the design, an external crystal oscillator is provided for the MCU. It uses the same 7.3728MHz design as the Microchip 28-Pin demonstration board.

At the bottoms of each tile, spring loaded connectors make contact with signal connections in the tray. The tile listens for these signals to download and synchronize animations.

The firmware on the tiles is completely interrupt driven. Two timers control the display, the first (at about 1000Hz) takes care of scanning the columns of the display in its ISR. The second switches from frame to frame at a rate controlled by the animation downloaded into the tile.

Another ISR executes when a character is received via the UART’s serial input. This allows the tile to execute a number of commands, such as display a test image or an ID number, or download an animation sequence. Each tile has a unique ID number. When the tray broadcasts animation data, the tile checks the ID number of the broadcast. If it matches, the tile loads the animation into its RAM, otherwise it ignores it. A red “pinwheel” animation displays while the tile is downloading an animation, this switches to green when the download is complete. Author: John Peterson

Source: LED PIXELS PIC24FJ64GA004 DYNAMIC TILE DISPLAY files: led-pixels-pic24fj64ga004-dynamic-tile-display.RAR alternative link2 alternative link3

About The Author

Ibrar Ayyub

I am an experienced technical writer holding a Master's degree in computer science from BZU Multan, Pakistan University. With a background spanning various industries, particularly in home automation and engineering, I have honed my skills in crafting clear and concise content. Proficient in leveraging infographics and diagrams, I strive to simplify complex concepts for readers. My strength lies in thorough research and presenting information in a structured and logical format.

Follow Us:

Leave a Comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.