Home
Circuits
Microcontrollers
Matrix Display using PIC 16F628

Description
Partlist
Files
Circuits
Microcontrollers
Matrix Display using PIC 16F628
Matrix Display using PIC 16F628
Config: WDT Off, TIMER On, OSC Internal RC, MCRL Off, LVP Off
The Display is an array of 5x24 Leds. I used Shift registers to light up every column, DO NOT USE ANY 74LSXXX TTL. The 74LS is a Low Power TTL that doesn't light up the leds very well. Use the 74HCXXX series or 74FXX series.
After almost 2 weeks sleeping only 5 hours every night, the circuit is working. Is hard to get a picture while the display is scrolling the message.
This LED Display allows up to 128 Characters, Just write your message in the EEPROM Data and it will be displayed. If the Display is "blinking", the power is not enough, Put a 470mF capacitor in the positive and Gnd. If some Dots are brighter than the others, you need to use another TTL series (like 74FXX). Some TTL have not enough power to light up many leds.
It was really hard to develop. The function is similar to any video cards on computers. The program in the PIC have: RAM Section: Contains the data to display. ROM Section: Contains the characters and symbols. Converts any letter to binary data. Scroll process: Scrolls the data in the RAM Section and send the data to LEDs. Display Process: Takes the info from EEPROM, Converts the data to Bits (using the ROM Section) and put it on the RAM section.
The next one will be a full display (maybe a color display) with 8x40 led array. This one was really hard to build and took more than 56 work hours. The good thing is: For less than $ 20.00 USD, I built my own led display. I Paid: three 5x8 leds array for ony $6.00 USD, 1 Microcontroller PIC for $ 3.00 USD, three Shift registers (TTL) $ 2.50 USD. A 5.5 volts AC adapter for $ 3.00 USD and miscellaneous: $2.70 USD.
REMEMBER TO WRITE THE MESSAGE IN THE EEPROM DATA BEFORE PROGRAM THE MICROCONTROLLER. If the message is too short, use the "LF" Character (Ascii: 10, Hex: 0A) as "End of message".
The character 01 (01h) is used to create a 4 seconds pause in the display.
Copyright José Pino (http://www.josepino.com/)
The Display is an array of 5x24 Leds. I used Shift registers to light up every column, DO NOT USE ANY 74LSXXX TTL. The 74LS is a Low Power TTL that doesn't light up the leds very well. Use the 74HCXXX series or 74FXX series.
After almost 2 weeks sleeping only 5 hours every night, the circuit is working. Is hard to get a picture while the display is scrolling the message.
This LED Display allows up to 128 Characters, Just write your message in the EEPROM Data and it will be displayed. If the Display is "blinking", the power is not enough, Put a 470mF capacitor in the positive and Gnd. If some Dots are brighter than the others, you need to use another TTL series (like 74FXX). Some TTL have not enough power to light up many leds.
It was really hard to develop. The function is similar to any video cards on computers. The program in the PIC have: RAM Section: Contains the data to display. ROM Section: Contains the characters and symbols. Converts any letter to binary data. Scroll process: Scrolls the data in the RAM Section and send the data to LEDs. Display Process: Takes the info from EEPROM, Converts the data to Bits (using the ROM Section) and put it on the RAM section.
The next one will be a full display (maybe a color display) with 8x40 led array. This one was really hard to build and took more than 56 work hours. The good thing is: For less than $ 20.00 USD, I built my own led display. I Paid: three 5x8 leds array for ony $6.00 USD, 1 Microcontroller PIC for $ 3.00 USD, three Shift registers (TTL) $ 2.50 USD. A 5.5 volts AC adapter for $ 3.00 USD and miscellaneous: $2.70 USD.
REMEMBER TO WRITE THE MESSAGE IN THE EEPROM DATA BEFORE PROGRAM THE MICROCONTROLLER. If the message is too short, use the "LF" Character (Ascii: 10, Hex: 0A) as "End of message".
The character 01 (01h) is used to create a 4 seconds pause in the display.
Copyright José Pino (http://www.josepino.com/)
Partlist
Files
Comments
Feb 2 2007 9:39
luacs
it is wonderfull seing a project like this.but can it work PIC16F877?
Feb 3 2007 15:50
Jospfh
I don't think it will be a problem. The 16F877 is just bigger...
I created a topic on the forum this.
I created a topic on the forum this.
Mar 8 2007 6:20
newbie
hey, wen we use an LCD it blinks constantly.. can this be fixed
Mar 8 2007 9:51
Jospfh
I copied the question from comment above to the forum. See: http://www.circuitdb.com/forum/viewtopic.php?t=6.
Apr 30 2007 22:41
abdosat2000
THANK YOU


