Discussion in "8051 Discussion Forum" started by    [email protected]    Oct 5, 2019.
Fri Oct 18 2019, 09:18 PM
#21
Hopefully you understand some of the program.
Which parts don't you understand ?
Sat Oct 19 2019, 07:05 PM
#22
sir, 3rd and 4th dot matrix display flickering,
Sat Oct 19 2019, 07:13 PM
#23
please find video attachment. 3rd & 4th display flickering, and not scroll in their order, like 1 dotmatrix to 4.
Sun Oct 20 2019, 12:21 AM
#24
Your code seems okay on my simulation
Try my code on your hardware.


Sun Oct 20 2019, 02:53 PM
#25
sir, when i on display ,sometime 3rd display is not refreshing, i again switch off display, then it refresh.



Sun Oct 20 2019, 03:02 PM
#26
sir, when i on display ,sometime 3rd display is not refreshing, i again switch off display, then it refresh.


[ Edited Sun Oct 20 2019, 03:03 PM ]
Sun Oct 20 2019, 03:09 PM
#27
Thanks for support,


[ Edited Sun Oct 20 2019, 07:06 PM ]
Mon Oct 21 2019, 09:18 AM
#28
I’ve been following this thread and looking at the example code and checking the MAX7219 datasheet. The code made sense and looked like it should work and I was ready to conclude some sort of hardware / timing problem between displays 2 and 3 when suddenly it clicked.

With four displays linked together data is effectively being clocked into a 64 bit shift register.

First 16 bits of DATA are sent then LOAD is strobed so the data is loaded into display #1.

Next 32 bits are sent (16=DATA, 16=NOP) and LOAD is strobed. The data is loaded into display #2 and display #1 gets nop.

However the original 16 bits for display #1 get shifted down the chain into display #3 so display #3 gets loaded with the display #1 data. It will briefly show a copy of display #1 until the actual display #3 data is sent which is why it flickers.

Data clocked into the shift register is not cleared after a LOAD pulse so 64 bits must always be sent to ensure all displays get loaded with NOP except for the selected display.

Something like:

Send16:
    for x=4 to 1
        if x == displayNumber
             SendDATA
        else 
             SendNOP



[ Edited Tue Oct 22 2019, 12:42 PM ]
Tue Oct 22 2019, 05:18 AM
#29


Thanks for support,

[email protected]


Thanks.

After Wimac's suggestion, I made a few changes.
Try this..


Get Social

Information

Powered by e107 Forum System

Conversation

Mon Oct 26 2020, 12:46 PM
Bonita
I needed to thank you for this wonderful read!! I definitely loved every little bit of it. I've got you book marked to look at new things you post… https://become-trader-test.com/ar Janelle
Mon Oct 26 2020, 12:42 PM
Lyndon
generic viagra reviews https://medexpresshop.com - canada drugs coupon viagra online pharmacy generic viagra coupon online pharmacy viagra viagra professional
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?

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: 84, Members: 0 ...

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

Members: 38215
Newest member: Mirza123