Discussion in "8051 Discussion Forum" started by    sks    Oct 31, 2011.
Thu May 03 2012, 06:17 PM
#81
Dear Mr Ajay,
Thanks for the reply.
I am attaching the Proteus screenshots along with my single dot matrix hardware image file.
I have already assembled a pcb having 12 dot matrix units. I am testing this with my Development kit.

Thanks
with best regards
sks
Thu May 03 2012, 08:52 PM
#82
Wow it looks great looking forward for this project

PS: Thanks for adding my name hehe
 sks like this.
Fri May 04 2012, 04:20 AM
#83
Dear Mr Ajay,
Thanks for the reply. I am extremely happy to know that , you have read the code and appreciated. I do expect some comments on the code. I do THANKS ALL (You Mr Phil and Mr Mazoka) to help and guide me. I could come to this stage because of you kind people in this forum.
Oh yes i will definitely post the complete project when it will be fully completed.
Thanks
With best regards
sks
 ajay_bhargav like this.
Fri May 04 2012, 07:48 PM
#84
you're always welcome keep it up.... and Good Luck!
 sks like this.
Sun May 06 2012, 05:09 PM
#85
Dear Mr Ajay,
I have followed the ATtiny display tutorial and written this attached code for a single dot matrix, as per the description in the tutorial.
I am sorry to say that, I have tried but failed to scroll the text in the dot matrix, they have done it in a single dot matrix. I am able to understand the logic but sorry, not able to implement in the code. If you can give some clue it will be a great help. Please the the attached file, the code and the proteus project file is also there. Please comments
Thanks
With best regards
sks
Attachment
Mon May 07 2012, 08:09 PM
#86
Here is a simple code that explains working of a Dot matrix display hope it helps...

/* your display buffer */
/*
5x7 display character
---------------------
   P2.0 1 2 3 4

P1.6    * * *
P1.5  *       *
P1.4  *       *
P1.3  * * * * *  
P1.2  *       *
P1.1  *       *
P1.0  *       *
*/
display[] = { 0x3F, 0x48, 0x48, 0x48, 0x3F, 0x00 };

/* main while loop */
while (1) {
	/* outer loop for controlling start point */
	for (i = 0; i < 6; i++) {
		/* delay for one frame to be displayed */
		delay = 100;
		/* inner loop for display */
		while (delay--) {
			/* your normal display loop */
			for (k = 0, j = i; k < 5; k++, j++) {
				if (j >
 5)
					j = 0;
				/* Put data on rows */
				P1 = display[j];
				/* enable column one by one */
				P2 = 1 << k;
				/* let it display for some time */
				mdelay(20);
			}
		}
	}
}

 sks like this.
Tags dot matrix display tutorialhow dot matrix workled dot matrix displaydot matrix display logicscrolling dot matrix displayscrolling dot matrix display code
Tue May 15 2012, 12:22 PM
#87
Dear Mr Ajay,
Good Evening, Somehow i have written the code. Here i have attached the complete
project. Please see and advice. In this code, the ASCII to bitmap conversion sub-routine is different.
The display is not stable, not scrolling smoothly.
Please find some time for me and advice.

Thanks
With best regards
sks
Thu May 17 2012, 07:37 PM
#88
Dear Mr Ajay,
I am waiting for your reply. I know how much pain you are taking to help.
waiting for your kind reply.
Thanks
With best regards
sks
Thu May 17 2012, 09:09 PM
#89
Hi SKS, I would like you to try your code on hardware coz in proteus it will never be smooth coz of high CPU usage during debugging. but the same laggy code will run smoothly on hardware. Only thing to worry about is
1. Are you getting character displayed properly?
2. Are they scrolling the way you want (discard the speed or smoothness as its simulation)?
 sks like this.
Fri May 18 2012, 08:27 PM
#90
Hello Mr Ajay, Thanks for the reply. Sorry i couldn't test the code with the hardware to day due to some other works.
I will try to post the result tomorrow.
Thanks
With regards
sks

Get Social

Information

Powered by e107 Forum System

Conversation

Thu Jun 11 2020, 06:27 AM
anudee
sir could please send the code for I2C and wifi interfacing with 8051
scena
Tue May 19 2020, 10:29 PM
Does anyone have microcontroller programming software for STC15F104W (core 8051, 4 k, 128 byte, 6 I/O pin, UART ... DIL8), that works?
Sat May 02 2020, 07:38 PM
Tamu Gurung
Hi I am looking for a assembly language program for a digital decimal counter. Time counts max limit of 2 mins starting from 2.00 mins and ending at 0.00. time is to be displayed on 4 7-segment LED displays. Edsim51 simulator to be used. Thanks
Wed Mar 25 2020, 01:39 PM
Tajammul
Sir kindly send the code file i2c for 8051
ExperimenterUK
Fri Mar 13 2020, 10:36 PM
@ Rohitnani,ABEBE..which project ?
Fri Mar 13 2020, 12:55 PM
ABEBE
how can get hadwere of this project
Rohitnani
Sat Mar 07 2020, 05:11 PM
Sir, Could you please send me the zip file input password....
Wed Feb 26 2020, 04:58 PM
Peter Parker
Is it possible to send multiple messages using only 1 GSM module?
Sat Feb 01 2020, 10:12 AM
Pearl Olin
Hello,
Wed Jan 22 2020, 06:16 PM
MINU CHAUDHARY
I m getting errors while simulation process during interfacing socket output and lcd... Can i get the report of ur project which is same as us.

Downloads

Comments

Mirza123
Thu Jun 25 2020, 03:46 PM
eunicelove124
Mon Jun 22 2020, 03:03 PM
cerouno
Tue Jun 16 2020, 05:10 PM
Marce
Sat Jun 13 2020, 09:43 PM
Davidthils
Thu May 21 2020, 12:44 PM
Jakeror
Thu May 21 2020, 01:28 AM
motorCar
Wed May 20 2020, 07:05 PM
Vordrync
Wed May 20 2020, 11:52 AM

Online

Guests: 132, Members: 0 ...

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

Members: 38215
Newest member: Mirza123
Forum Activity
ExperimenterUK Avatar
Posted By ExperimenterUK
Wed Jul 01 2020, 11:07 PM
PS: I am a new learner thats why my question may s...
Mirza123 Avatar
Posted By Mirza123
Wed Jul 01 2020, 02:05 PM
Thanks for the assistance. I have read the data sh...
ExperimenterUK Avatar
Posted By ExperimenterUK
Wed Jul 01 2020, 10:12 AM
See section 15 (Ports) of the data sheet. ...
wimac Avatar
Posted By wimac
Tue Jun 30 2020, 10:05 AM
How did you know that it is not 8051. Mirza123It i...
Mirza123 Avatar
Posted By Mirza123
Tue Jun 30 2020, 08:39 AM
It seems ports on the AT89LP2052 is not like on th...
ExperimenterUK Avatar
Posted By ExperimenterUK
Tue Jun 30 2020, 08:34 AM
It seems ports on the AT89LP2052 are not like on t...
Mirza123 Avatar
Posted By Mirza123
Thu Jun 25 2020, 04:07 PM
Hello!i am trying to use AT89LP2052 ( AT89LP2052 h...
ExperimenterUK Avatar
Posted By ExperimenterUK
Wed Jun 17 2020, 09:42 PM
It is about capacitor? i should put it between Vcc...
cerouno Avatar
Posted By cerouno
Wed Jun 17 2020, 10:37 AM
Take another look at the power supply to the LCD.A...
ExperimenterUK Avatar
Posted By ExperimenterUK
Wed Jun 17 2020, 02:01 AM
Take another look at the power supply to the LCD.A...