LightInTheBox Logo
 :   Remember me     or  register yourself!
Advertisement
Home  arrow  Circuits  arrow  Microcontrollers  arrow  Matrix Display using PIC 16F628
Matrix Display using PIC 16F628

Description
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.

Here is the hex code.

Copyright José Pino

Partlist

Files
Posted by Jospfh at Mar 6 2006 23:24
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.
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
Aug 10 2008 17:40
abhay kumar jha
sir
kindly give me the HEX of Matrix Display using PIC 16F628.
thanking you

regards
abhay

Aug 11 2008 8:18
Jospfh
Hi, I have adde matrix.asm (see Updated! - Jan 21, 2006: Algorithm available)
Jul 5 2009 13:33
tibanu
Nice work! congratulations
Can you give me the Hex file of matrix display with pic16f628?
thanx in advance!
regards, tibi
Jul 8 2009 0:16
tibanu
hello can you help me to generate the hex file of this project? i used mplab to convert asm into hex but no succes.if i build the program it gives me many erors. please help me. thanx
Jul 8 2009 10:36
Jospfh
tibanu, I have found and added the hex code to this page, enjoy!
Jul 9 2009 14:15
tibanu
Jospfh , thank you very much for hex file. i want to make my own message, and i don't know how to make the source file, i'm begginer in programming, can you send me the source file? ;thank you,
regards,
tibi
Jul 11 2009 16:10
Jospfh
The asm file is the source code....
Jul 15 2011 11:30
thomasmyogyi
please,
I am student.
How to write asm code with pic 16f877a for
10x100 dot matrix led display?


thank you
Leave a comment
Please note Please do not use the comment function to ask for help! If you need help, please use our Forum.

Name
Required
Mail
Required but not shown
Code

Please enter the code
  code
Comment
Please enter your comment.