Intermediate Level     Skills: 8051,led matrix, i2c eeprom    


LED Scrolling message Display using 8051

This Project is a scrolling LED matrix display project using 8051 (AT89S52) controller and 24C16 EEPROM. This LED matrix project is designed to work flexibly to handle 1x18 matrices of 8x8 LEDs or 1 to 29 matrices of 5x7 LEDs. The total matrices support can go higher if a controller with higher RAM is used. You do not need to do any change in the program for that. There is also a software provided to upload your message from PC to EEPROM.

This project is submitted by Pratik Suthar of Government Engineering Collage, Dahod (Gujrat). I really want to thank him for his contribution to Rickey's World.

Now a working video of the project:

Tags led matrixmatrix display8051 matrix displayscrolling message displayscrolling led matrix displayscrolling led display 8051

735.93 kB





10 Jun 2014: 04:43 AM
this project that i was waiting for, thanks a lot,
but i have trouble with sending the letter in hyper terminal,
after i send the string, the character/letter is not appear on the led matrix, and the led matrix just scrolling block not letter or the character,,
please give me the solution,,
12 Jun 2014: 02:14 AM
please somebody help me how to send carracter/string via hyper terminal to the display,?
plus is the 24c16 need to fill with eeprom file first before put it onthe module,? if it so, what eeprom file i need to load to the 24c16,? i am stuck , my led display not show any moving ciarcter /letter, its just keep moving cascade block not the letter,
12 Jun 2014: 05:37 AM
@Gummy, are you using the right frequency? it would be better if you can register and post in forum. It will be easy to answer all the questions.
12 Jun 2014: 07:23 AM
the frequensy of the pc or the modul, or the baudrate,?
i am using the 11.0592mhz crystal,,
i am sorry mr ajay, i have register to the forum but i cant log in so i cant post to forum,
need your help, i have stuck for many days,
12 Jun 2014: 08:01 AM
thank you very much for your attention mr ajay,
maybe if you get the full schematic or the video tutorial to send the character via hyper terminal or the other software it will be helpfull to me,,
if you get some good advise for me please mail me at [email protected]
12 Jun 2014: 08:17 AM
if you have good advice to resolve my trouble, please mail me at [email protected]
13 Jun 2014: 10:46 AM
@gummy try to login with your gmail email as username: [email protected]
I cannot help you here in comments section. If you are facing issue in login please email us at contact [@] and post error message or screenshots of error you're getting. If you have forgot your password use the forgot password link in the login box.
16 Jun 2014: 21:45 PM
gummy... u mensioned tht see scroling block not charecter... this condition happens only when ur EEPROM is tottaly blank..... as u using ur project for first time... try to upload new message from PC..... while uploading message. see tht...... is block moving is stoped or not.... if stoped thn ur connection is ok, if not thn thr is problem wid connection frm pc to 8051. and be sure wid hex file.. tr is two hex files one for 22.1189Mhz and second for 11.0592Mhz.
16 Jun 2014: 21:57 PM
gummy... u can also use hyper terminal for message uploading... juz put it in order..start with space and end with "#;"(widhout quots)...for example u want to upload message "" (without quots) then send message through hyper terminal ";"(without quote)..... use 9600 baud rate... startbit 0 and parity none.
16 Jun 2014: 23:09 PM
thank god, finaly i get the character appears on the display,
thank you very much for your help mr ajay,,
17 Jun 2014: 00:47 AM
thank you very much mr pratik,
i still have one more problem, can you tell me how to make a good rs232 handshake from pc to the micro controller,
which pin from the rs232 should be connect to max 232, and which pin from max 232 should be conect to the at89s52,?

and can i get a good software to send character/message from pc to the board beside the hyperterminal,? coz sometime i have sending problem via hyperterminal,,
sometime the character that appear on the board is not same as i send from the hyperterminal.
for example i send " first test#;" from hyper terminal, and the board is displaying weird symbol such as %< and the ouher weird symbol,
can you tell me whats wrong with it,?
ip there someting wrong with hyper terminal or the rs232 connection,?
i am using 11,0592mhz crystal,
sorry for my bad english,
18 Jun 2014: 04:51 AM
@gummy Please do not post anymore messages in this area. This is only comments section for discussion you must use forum.
18 Jun 2014: 14:29 PM
i think it's good project. I've tried to compile the "main.c" file but get an error. i use M-IDE studio for MCS-51 from what kind of software do you use?
19 Jun 2014: 00:25 AM
i have complitely finish this project,
and it works 100% fine,
thank you very much to mr ajay and mr pratik, thanks for help me complete the project,
thanks to Rickey world, the BEST site to learn microcontroler project,
every people in rickey world is the best ,,
thank you very much,,
baptista vilar
30 Jun 2014: 05:08 AM
wil u guys piz giv me the program of tis projet, i also want pcb desinig,plz help me
01 Sep 2014: 05:39 AM
sir i m trying to make this project but there is problem, i have completed the hardware section but still there is no scrolling , only the LEDs are just flashing,
and also characters are not sending through the pc.
tell me what to do........ plz help me
01 Sep 2014: 11:30 AM
Write a small program to test your serial port first. Post in forum for more help.
03 Sep 2014: 05:14 AM
Hai sir,
This is A.venu and this is my final year project and I completed hardware of the project but when iam giving power supply to circuit then all leds are flashing and i cannot sending message to microcontroller.
06 Sep 2014: 07:13 AM
@Allverivenu, see the conversation above. You need to check your RS232 connections. Test using a small code for uart port. Post in forum if you need more help.
19 Sep 2014: 05:58 AM
sir, is it possible to use 12mhz crystal in place of 11.0952
19 Sep 2014: 06:01 AM
sir hex file in this project is exceeded above 8kb but our microcontroller support only 8kb hex file tell me what is the problem behind this
01 Oct 2014: 06:41 AM
ah! same question I have answered so many times. Hex file is an ascii file it does not mean the code size is more than 8K. Binary code is always lesser. You should not have any problem flashing this hex file.
10 Oct 2014: 21:39 PM
how do i reverse the output of p2 from the code, so that they will be inverted? i want to connect NPN transistor on them. Thanks.
21 Oct 2014: 18:39 PM
@ Okechukwu
md aziz
18 Dec 2014: 17:14 PM
sir, need hex code /diagram/ for led message display/usart usb based .

20 Dec 2014: 17:17 PM
i need this project very badly
22 Dec 2014: 05:14 AM
@md aziz, @satin, Click on Download File button to download complete project file which includes code, schematics and hex file.
10 Jan 2015: 08:27 AM
sir how can i change the message through programmer
12 Jan 2015: 05:22 AM
@gollababu, Once booted you can change message via serial port. If you want to keep message in code then change the code, build it and flash the new hex file. If you have any more questions then post in forum.
10 Mar 2015: 11:57 AM
Hi sir,
I have generated hex file from the code but the characters are inverted, could you please help me on this.
11 Mar 2015: 04:48 AM
@gulshankumark, Please post your question in forum I cant help you here in comment section.
Archana singh
21 Apr 2015: 10:22 AM
yrrrrr........esi koi site bta do lispe se hamari project report moving message display on led pattern download ho jaye........
23 Apr 2015: 12:45 PM
@ajaybhargav can you please tell me how to change the word to be displayed in the p-spice simulation?
29 Apr 2015: 18:52 PM
@gsdvprasad, change the source code.. I suggest post your question in forum.
Moses Okoroafor
07 May 2015: 22:59 PM
Hi. I built the hardware, and it works just fine. My issue is that it is a little dim. Please can the circuit be modified, such that maybe it could incoporate a current source or sink, or any way to make it much brighter?
08 May 2015: 16:13 PM
@Moses Okoroafor, Post your questions in forum please.
Moses Okoroafor
14 May 2015: 14:52 PM
I tried to post on the forum, the site asked me to log in first, and each time i do, I keep getting bounced. I've been trying to contact the site administrator, but to no avail. Please help me..
15 May 2015: 05:32 AM
@Moses Okoroafor, I will look into the issue and will reply you back on email.
11 Jun 2015: 10:07 AM
Hello sir !!! now im doing the project using 8051 exactly like that you shared in this web...i follow all the circuit correctly and my dot matrix is light up but when i connect to pc using dot matrix applicaton that have been give together in the file ..still nothing display when i send message to i need to dump the hex coding in At24c16 eeprom or ATmel AT89C52 microntroller? please help me
13 Jun 2015: 06:31 AM
Good morning. Please I complained about issues with my login. I am still expecting a solution from you guys. Please.....I need to get clarification on some projects. Thanks for your response....
28 Jul 2015: 12:06 PM
Hello sir......
I want to make this project. But circuit is not working in proteus. Moreover what changes required if i want to attach 6 led matrix..........
aneel bharath
31 Jul 2015: 16:07 PM
hello ajay, i want to display my name in the place of "THIS IS JUST BEGGINING " where can i add my name , i tried to add at author name but it can't display ..pls help me
27 Aug 2015: 07:30 AM
@ aneel bharath, Use the uploader software to write data to eeprom.
30 Dec 2015: 12:04 PM
sir i want to make a project which display just one character "A". by using 8051 controller and i need code in C language please help me .
03 Feb 2016: 06:34 AM
sir plz help me i design this circuit on proteus but after attaching hex file displaying boxes on matrix
13 Aug 2016: 06:06 AM
24c16 is compulsory to use?
can i run this project without using 24c16.
i have usb microcontroller burner.
can you give me pcb layout.
how can i write any name in program?
i very confuse with row and column connection and resister and transistor connection.
plz help me.
aman gour
01 Sep 2016: 10:24 AM
what is I2C in the proteus image that are include in zip file
01 Sep 2016: 16:40 PM
Sir, Engen,pratik suthar, am glad to write to you am martins, am from nigerian i downloaded your 8051 MMD and i start working on it last week and am through with it now, good news and is working pretty fine, the problem i encounter is uploading message, and i nown Wrot on comment for help, the reply i got was i should login and post on forum, i longin and look for where to post my problem bet i couldnt fine it, bet i leter fine the problem, the problem is that am trying to use usb of my pc to power the circuit with the serial pot, and i nown went and use trasformer 12v and retifired it full wave, and on it it does nt respon and i nown replace the max232 ic an on it again an it was working fing, but befor i did dat i have replaceded the max232, two times wen i was using my pc usb power and is nt working and i notes that the two max232 was damage doring dat incident, and allso there tamint software am using for it the tamint is the bast no interferance , i will stop her for nown i will discus on hw to solv problem on dis project later, bet if the comment will let me upload the work i will.this my first time on micro programming, am good in signing circuit, mean building and interpret, i have sign many circuit bet is based on stk amplifer, 6to12v inverter and so on, i thank God and allso thank u one more you are a great man i respect u and ur programming cod, u wrote, d the amazing part of it is that the cod you wrot is programming the eeprom 24C16, and ones you upload new massage it stor pamonent in it , if you remove the 24C16 i mean the one that is already uploaded with massage and put to anther sem circuite it will be displaying the massage stor on it at dat new circuit that is an adivantage if you have two of it i mean two mmd and you are using one at home and one at your officer no need of carring your pc arong you can buy extra 24C16 at your confot at home or wen u come back from work and eat and finshed resting you can insat the extra 24C16 to the one at home and upload what you wan to display on your office the nest day wen u get to your office insat it on it and it will start displaying what you upload at the one at home, thanks let me stope her for nown
03 Sep 2016: 23:36 PM
Log in
Click the tab labelled "Community", then "Discussion Forums".

There is a section called "Project Development"
Click "Project Help".

Click the blue box labelled "New topic".

Give as much detail of your problem as possible,
and make it clear which project you are asking about.
06 Sep 2016: 23:40 PM
Dear Sir,
I have compiled the source code in Keil MV-5 evaluation software;but the software while generating the hex file gave the error as the code exceeds the 2kbyte limit and hence could not compile. Could you please suggest the ways to compile the entire code in any IDE which works in Windows environment. Please provide the download link for it with your suggestion.
I am a hobbyist and helping school children to develop their knowledge in electronics in my retired life.
09 Sep 2016: 23:32 PM
Please check my new post in the main forum.
"LED Scrolling message Display using 8051"
13 Sep 2016: 18:31 PM
Please note.
Although the project has the 8051 in the title, it needs the extra ram of the
AT89S52 to work as per the project.

You can use the 8051 if you use a smaller message buffer.
18 Sep 2016: 15:05 PM
sir, please check my new post in main forum, mmd thanks
18 Feb 2017: 11:29 AM
can anyone have step by step tutorial of this led scrolling display?
plz help me to find full guide about this project.
(Required; Min length 5)
(Required; will not be displayed)


Mon Mar 27 2017, 04:09 AM
priyanja awate
my project is greenhouse monitering and controlling using 8051 .can u give me the program of this project
Sat Mar 25 2017, 09:56 PM
@Noreen I suggest you log in and post a full description of what you need in our PIC forum
Sat Mar 25 2017, 03:10 PM
Hello I worked on a project related to Wireless Electricity theft detection using GSM during my bachelors. I used Nokia 6230 for sending sms using AT commands. I chose to work with SMS text mode. The microcontroller I used was PIC16F877A and its software coding done through PIC Basic Pro. Unfortunately, I lost my account password and do not have coding for generation sms using AT commands. I need that coding. Can some one help me to provide complete Pic Basic Pro code. In which step by step guidance is given so that I can understand easily. Regards,
Wed Mar 22 2017, 09:13 PM
ajay kumar
help me nokia lcd light
Wed Feb 22 2017, 06:14 AM
Indeed, on the LCD tutorial, many missing Tables and figures !!
Wed Feb 22 2017, 06:06 AM
I don't see any Table 3. I'm using Chrome.
Fri Feb 03 2017, 05:56 AM
irfan shaikh
hi, i want interface WS2811 pixel led using NUVOTON N79E352, but i dont know how to code it. can anyone help me or provide me sample coding for interfacing WS2811 PIXEL LED. THNX
Thu Jan 19 2017, 08:42 PM
Hi...i have made a circuit for interfacing PT100 with LM358 whose temperature is shown on the LCD...But the temperature is not getting incresed slowly ..a small change directly increses the temp...can any one help me
Thu Jan 19 2017, 04:27 PM
send me alarm clock simulation using proteus software
Mon Jan 16 2017, 03:15 PM
How can we read notepad file using random acess file



Tue Mar 21 2017, 02:29 PM
Mon Mar 20 2017, 11:21 AM
Tue Mar 14 2017, 07:08 AM
Wed Feb 22 2017, 02:40 AM
Thu Feb 16 2017, 02:40 PM
Thu Feb 09 2017, 09:59 AM
Sat Jan 28 2017, 08:58 AM
Tue Jan 17 2017, 06:25 PM


Guests: 71, Members: 0 ...

most ever online: 182184
(Members: , Guests: 182184) on 06 Aug 2010: 05:37 AM

Members: 37804
Newest member: SAUnwin
Forum Activity
ExperimenterUK Avatar
Posted By ExperimenterUK
Sat Mar 25 2017, 09:49 PM
I have attached code showing one method you could ...
Deepakvaishu Avatar
Posted By Deepakvaishu
Sat Mar 25 2017, 07:59 AM
I am using Keil and 8051 microcontroller
ExperimenterUK Avatar
Posted By ExperimenterUK
Fri Mar 24 2017, 06:05 PM
The best way is to use an interrupt to run the cou...
Deepakvaishu Avatar
Posted By Deepakvaishu
Fri Mar 24 2017, 05:22 AM
Hi,I got that we should use timer......But I am a ...
ExperimenterUK Avatar
Posted By ExperimenterUK
Thu Mar 23 2017, 09:14 PM
You have largely answered your own question.Use on...
ExperimenterUK Avatar
Posted By ExperimenterUK
Thu Mar 23 2017, 07:03 AM
I have looked at your code.I think you are confuse...
Deepakvaishu Avatar
Posted By Deepakvaishu
Thu Mar 23 2017, 05:34 AM
hello,I can type the letters now when the particul...
SAUnwin Avatar
Posted By SAUnwin
Tue Mar 21 2017, 02:55 PM
HI,There are two ways I'd tackle thiss.Key down on...
Deepakvaishu Avatar
Posted By Deepakvaishu
Mon Mar 20 2017, 08:24 AM
hello,I am using a keypad to type the text message...
Helia Avatar
Posted By Helia
Thu Mar 16 2017, 09:15 AM
hi.. the following code is not working on hardware...