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

Tue Jan 14 2020, 07:08 AM
shubham kharade
when i am trying to simulate the program in Proteus 8 professional, I am getting some errors as cannot find module file dhtxx.md can u help me
Tue Dec 17 2019, 01:44 PM
Devangi
hello..i am programming industrial timer using 8051 with 24lc64 eeprom. i have query in storing the 3 diff value in eeprom with enter button. can anyone share c code ?
Tue Dec 17 2019, 10:30 AM
Andrius
Hello. Can anyone share the code in Bascon and scheme in Proteus?
Thu Nov 21 2019, 12:30 PM
raj2555
how to interface 8051 microcontroller with NRF24L01+ module
ExperimenterUK
Sat Oct 12 2019, 10:23 PM
Log in.. then post your code in the 8051 forum
Sat Oct 12 2019, 10:18 AM
Bhadra Sajikumar
i am doing a countdown timer with 8051 for my project, unfortunately our professor had to take a leave of absence before he could teach us most of it.. can someone explain the .asm code of it for me?
Mon Sep 23 2019, 07:37 AM
Nathaniel
I am doing a project for my schools wireless security system with cameras,sensors and spot lights using 8051 micro controller, could you help me out with the design and its source code.
Wed Sep 18 2019, 08:48 PM
Caryn Kover
Thank you for your time,
ExperimenterUK
Mon Aug 05 2019, 07:09 PM
@Ismail ..post in forum, give details
Mon Aug 05 2019, 04:33 PM
Ismail balghmi
Hello. Please I won't download

Downloads

Comments

Nippy56
Sun Jan 19 2020, 02:13 AM
usb5962
Sat Jan 11 2020, 10:42 AM
elt
Tue Jan 07 2020, 06:53 PM
mg3914697
Tue Jan 07 2020, 12:42 PM
afds43
Sun Dec 29 2019, 05:54 AM
Rupeshpatil
Fri Dec 27 2019, 06:14 PM
pyxus
Sat Dec 14 2019, 12:31 PM
Istika
Thu Dec 12 2019, 12:04 PM

Online

Guests: 47, Members: 0 ...

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

Members: 38116
Newest member: Nippy56
Forum Activity
ExperimenterUK Avatar
Posted By ExperimenterUK
Fri Jan 17 2020, 10:24 PM
We will need the circuit diagram.A Proteus simulat...
Billz Avatar
Posted By Billz
Sat Jan 11 2020, 05:43 PM
hi everyone please attached files are my c code fo...
ExperimenterUK Avatar
Posted By ExperimenterUK
Tue Jan 07 2020, 08:18 PM
Not a stupid question.Setting up "Eclipse" can be...
elt Avatar
Posted By elt
Tue Jan 07 2020, 07:06 PM
So i have just began learning programming micros a...
Billz Avatar
Posted By Billz
Mon Jan 06 2020, 09:22 PM
I think it would be better if you guys try to come...
ExperimenterUK Avatar
Posted By ExperimenterUK
Mon Jan 06 2020, 12:22 AM
Can you post a circuit diagram and any code you ha...
Billz Avatar
Posted By Billz
Sun Jan 05 2020, 08:17 PM
Need help regarding C code (specifically for PIC 1...
ExperimenterUK Avatar
Posted By ExperimenterUK
Mon Dec 30 2019, 06:42 PM
Can you give more details of your problem.
Rupeshpatil Avatar
Posted By Rupeshpatil
Fri Dec 27 2019, 06:21 PM
How to copy program my old microcontroller to new ...
ilylily07 Avatar
Posted By ilylily07
Thu Dec 12 2019, 02:26 PM
wil do.thank you for your advice!