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

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: 96, 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...