Discussion in "8051 Discussion Forum" started by    sks    Oct 31, 2011.
Thu May 03 2012, 11:47 pm
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.

with best regards
Fri May 04 2012, 02:22 am
Wow it looks great looking forward for this project

PS: Thanks for adding my name hehe
 sks like this.
Fri May 04 2012, 09:50 am
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.
With best regards
 ajay_bhargav like this.
Sat May 05 2012, 01:18 am
you're always welcome keep it up.... and Good Luck!
 sks like this.
Sun May 06 2012, 10:39 pm
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
With best regards
Tue May 08 2012, 01:39 am
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 >
					j = 0;
				/* Put data on rows */
				P1 = display[j];
				/* enable column one by one */
				P2 = 1 << k;
				/* let it display for some time */

 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, 05:52 pm
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.

With best regards
Fri May 18 2012, 01:07 am
Dear Mr Ajay,
I am waiting for your reply. I know how much pain you are taking to help.
waiting for your kind reply.
With best regards
Fri May 18 2012, 02:39 am
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.
Sat May 19 2012, 01:57 am
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.
With regards

Get Social


Powered by e107 Forum System



Thu Dec 08 2022, 12:03 am
Wed Dec 07 2022, 06:13 pm
Wed Dec 07 2022, 07:51 am
Tue Dec 06 2022, 09:28 pm
Sun Dec 04 2022, 02:02 pm
Sat Dec 03 2022, 05:18 pm
Fri Dec 02 2022, 12:46 am
Thu Dec 01 2022, 05:17 am