Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

16x80 dot matrix display

Status
Not open for further replies.

jigarpatelp

Junior Member level 2
Junior Member level 2
Joined
Aug 27, 2014
Messages
23
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Location
Vadodara,Gujarat,India
Visit site
Activity points
132
It's a two line display and character size is 8x8.

while in first 10 character are scrolling from left to right and stays static until next 10 character scroll in second line.
I'm able to scroll both in lines and show static image but unable to programme first line to stay static until second line completed.

Please Help me.
multiline.jpg
 

No one can help you without your source.
Attach the entire project folder (in a RAR) and the used Proteus DSN file (max. v7.10 please).

A note: instead of the 4 * hc138 use only one hc154 like me:
https://www.edaboard.com/threads/11364/#post1027308
(this is a 2-sheet DSN !!)
 
Last edited:

Your code was modified only to the extent necessary, but so now it works (in Proteus) the way you want.

Minor changes, for ex:
- eliminated unnecessary variables
- all unsigned int (16-bit) variables are changed to char (8-bit)
- the CharData array is moved to a separated .H file
- added indentations: better readable code
- simplified DSN file, but it uses the COF (not the HEX) file so it is debuggable

But:
The code is not enough efficient (sorry), so have to working on it (lot).
For example:
- too complicated so too slow row-shift function
- different row-display time: different row-brightness in the reality
- too small row-display time slices: very low real brightness
- too small refresh rate
and so on.

Sincerely:
zuisti
 

Attachments

  • Multiline_mod.rar
    30.1 KB · Views: 125
OK, for an example use a separated, stand-alone display function (full, for all rows) with interrupt controlled timing, and also separated scrolling routines.

But do not wait for a solution from others, find it (even here in our forum). E.g. study the large "DIY Moving Message Display" thread, here are a lot of useful solution, can be adopted - with appropriate modifications - in your case.

I also wrote such things in the past, look at them, can be useful (though they may continue to be improved, now I would write better code, especially the "shift_in_a_column" routine).
For example:
https://www.edaboard.com/posts/1125963/#post1125963
and
https://www.edaboard.com/posts/1148762/#post1148762

I know that almost all examples use only one-line display, but the logic (the algorithms) can be used for the two-line display also.

Good luck!
zuisti
PS:
Friendship? It's too early ... yet. Sorry.
 

but how to calculate timing function and all other function.
Please attach equations for all of the calculation for designing a efficient dot matrix display for any size.

- - - Updated - - -

but how to calculate timing function and all other function.
Please attach equations for all of the calculation for designing a efficient dot matrix display for any size.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top