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

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: 52, 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!