Discussion in "8051 Discussion Forum" started by    [email protected]    Oct 5, 2019.
Sat Oct 05 2019, 02:43 PM
#1
Dear Sir

I want to Scroll message on (8x32) 4 dot matrix display using max 7219,but i m only scroll on one dot matrix display, below is my code, max 7219 dout pin not giving serial out data.


LOAD EQU P1.2
DIN EQU P1.1
CLK EQU P1.0
KEYPAD EQU P2
K_A EQU P2.0
K_B EQU P2.1
K_C EQU P2.2
K_D EQU P2.3
K_P EQU P2.4

MAIN: ACALL INIT
MOV DPTR,#TABLE
MOV R4,#224
NEXTC: MOV R3,#8

REPEAT: MOV R1,#0
MOV R0,#1
NEXT:
MOV A,R0

ACALL SEND_A
MOV A,R1
MOVC A,@A+DPTR

ACALL SEND_D
INC R1
INC R0
aCALL DELAY
MOV P2,#0FFH
CJNE R1,#8,NEXT

DJNZ R3, REPEAT
INC DPTR
DJNZ R4, NEXTC
SJMP MAIN
INIT: ;SHUT DOWN SETTING
MOV A,#0CH
ACALL SEND_A
MOV A,#01h
ACALL SEND_D
; DISPLAY TEST
MOV A,#0FFH
ACALL SEND_A
MOV A,#01H
ACALL SEND_D
; DECODE MODE SETTING
MOV A,#09H
ACALL SEND_A
MOV A ,#00H
ACALL SEND_D
; SCAN LIMIT
MOV A,#0BH
ACALL SEND_A
MOV A,#07h
ACALL SEND_D
; INTENSITY
MOV A,#0AH
ACALL SEND_A
MOV A,#04H
ACALL SEND_D
RET

SEND_A: MOV R7,#8
CLR LOAD
BACK: CLR CLK
RLC A
MOV DIN,C
SETB CLK
DJNZ R7,BACK
RET
SEND_D: MOV R7,#8
BACK1: CLR CLK
RLC A
MOV DIN,C
SETB CLK
DJNZ R7,BACK1
SETB LOAD
RET
TABLE:

DB 00H,00H,00H,00H,00H,00H,00H,00H
DB 3EH, 48H, 88H, 48H, 3EH, 00H ;A
DB 0FEH, 92H, 92H, 92H, 6CH, 00H ;B
DB 7CH, 82H, 82H, 82H, 44H, 00H ;C
DB 0FEH, 82H, 82H, 44H, 38H, 00H ;D
DB 0FEH, 92H, 92H, 92H, 82H, 00H ;E
DB 0FEH, 90H, 90H, 90H, 80H, 00H ;F
DB 7CH, 82H, 92H, 94H, 5EH, 00H ;G
DB 0FEH, 10H, 10H, 10H, 0FEH, 00H ;H
DB 00H, 82H, 0FEH, 82H, 00H, 00H ;I
DB 04H, 02H, 82H, 0FCH, 80H, 00H ;J
DB 0FEH, 10H, 28H, 44H, 82H, 00H ;K
DB 0FEH, 02H, 02H, 02H, 02H, 00H ;L
DB 0FEH, 40H, 30H, 40H, 0FEH, 00H ;M
DB 0FEH, 20H, 10H, 08H, 0FEH, 00H ;N
DB 7CH, 82H, 82H, 82H, 7CH, 00H ;O
DB 0FEH, 90H, 90H, 90H, 60H, 00H ;P
DB 7CH, 82H, 8AH, 84H, 7AH, 00H ;Q
DB 0FEH, 90H, 98H, 94H, 62H, 00H ;R
DB 64H, 92H, 92H, 92H, 4CH, 00H ;S
DB 80H, 80H, 0FEH, 80H, 80H, 00H ;T
DB 0FCH, 02H, 02H, 02H, 0FCH, 00H ;U
DB 0F8H, 04H, 02H, 04H, 0F8H, 00H ;V
DB 0FCH, 02H, 1CH, 02H, 0FCH, 00H ;W
DB 0C6H, 28H, 10H, 28H, 66H, 00H ;X
DB 0E0H, 10H, 0EH, 10H, 0E0H, 00H ;Y
DB 86H, 8AH, 92H, 0A2H, 0C2H, 00H ;Z
DB 7CH, 8AH, 92H, 0A2H, 7CH, 00H ;0
DB 00H, 42H, 0FEH, 02H, 00H, 00H ;1
DB 42H, 86H, 8AH, 92H, 62H, 00H ;2
DB 84H, 82H, 0A2H, 0D2H, 8CH, 00H ;3


DB 18H, 28H, 48H, 0FEH, 08H, 00H ;4
DB 0E4H, 0A2H, 0A2H, 0A2H, 9CH, 00H ;5
DB 3CH, 52H, 92H, 92H, 0CH, 00H ;6
DB 80H, 8EH, 90H, 0A0H, 0C0H, 00H ;7
DB 6CH, 92H, 92H, 92H, 6CH, 00H ;8
DB 60H, 92H, 92H, 94H, 78H, 00H ;9

DB 00H,00H,00H,00H,00H,00H,00H,00H

Sun Oct 06 2019, 02:35 AM
#2
Can you post a circuit diagram ?
Sun Oct 06 2019, 01:05 PM
#3
Max 7219 with led matrix 4 in 1
Mon Oct 07 2019, 08:05 AM
#4
Your implementation of a Max 7219 with led matrix 4 in 1,
may not be the same as someone else's.
We need to see your circuit diagram to be able to help.
Wed Oct 09 2019, 08:46 AM
#5
please find below attachment of circuit diagram.
[img]


[ Edited Wed Oct 09 2019, 08:50 AM ]
Wed Oct 09 2019, 08:48 AM
#6
Dear sir

all dot matrix display scroll same data.


[ Edited Wed Oct 09 2019, 08:52 AM ]
Thu Oct 10 2019, 01:31 AM
#7

max 7219 dout pin not giving serial out data.



Try this simple test program with an led on DOUNT
You should get a "clock" output.


Attachment
Thu Oct 10 2019, 07:49 AM
#8
sir, i m trying to scroll message on dot matrix display using 7219 ic, but its scroll vertically on 1 dot matrix display, i want to scroll horizontal on all dot matrix display .


Fri Oct 11 2019, 02:33 AM
#9
You seem to be 95% of the way there.
Can you post your Proteus file.

It would be very helpful to add lots of comments to your program,
to show exactly what it is supposed to do.

Adding comments saves time in the long run.
Fri Oct 11 2019, 05:36 AM
#10
please find below attachment.

Get Social

Information

Powered by e107 Forum System

Conversation

Fri Jan 24 2020, 11:05 AM
Latosha Hertz
Would you like to know how to earn huge commissions daily without keeping any product in stock and with absolutely no experience with sales and marketing? I will give you access to online training for free showing exactly how this is done in just 3 easy steps! You read correctly, the training is completely free and you'll be shown exactly how this is done, no strings attached. Check out my site: http://www.commissionsonsteroids.xyz
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.
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,

Downloads

Comments

brucewilliams20
Thu Jan 23 2020, 11:47 AM
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

Online

Guests: 50, Members: 0 ...

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

Members: 38117
Newest member: brucewilliams20
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!