Sonsivri
 
*
Welcome, Guest. Please login or register.
Did you miss your activation email?
December 03, 2016, 04:37:43 16:37


Login with username, password and session length


Pages: [1] 2  All
Print
Author Topic: MOVING MESSAGE DISPLAY  (Read 33371 times)
0 Members and 1 Guest are viewing this topic.
chandra2sekhar2000
Active Member
***
Offline Offline

Posts: 121

Thank You
-Given: 22
-Receive: 17


« on: May 28, 2007, 06:52:40 18:52 »

HELLO CAN ANY BODY GIVE ME IDEA IN DOING A 16 CHARACTER MOVING LED MATRIX DISPLAY HARDWARE AND SOFTWARE.I WANT TO CHANGE THE DATA FORM PC AND SCROLL IT.

HARDWARE:- PIC16F877A
SOFTWARE:- PIC BASIC PRO
COMMUNICATION :-SERIAL PORT
Logged
bbarney
Moderator
Hero Member
*****
Offline Offline

Posts: 2403

Thank You
-Given: 405
-Receive: 544


Uhm? where did pickit put my mute button


« Reply #1 on: May 28, 2007, 08:49:12 20:49 »

look here
http://www.picbasic.co.uk/forum/showthread.php?t=6033
Logged

Ever wonder why Kamikaze pilot's wore helmet's ?
chandra2sekhar2000
Active Member
***
Offline Offline

Posts: 121

Thank You
-Given: 22
-Receive: 17


« Reply #2 on: May 29, 2007, 06:42:24 18:42 »

thank u babarney and can u give some idea increasing coloumns
Logged
bbarney
Moderator
Hero Member
*****
Offline Offline

Posts: 2403

Thank You
-Given: 405
-Receive: 544


Uhm? where did pickit put my mute button


« Reply #3 on: May 29, 2007, 08:58:03 20:58 »

with that design you can't really go any bigger read the article the author explains everything very well
Logged

Ever wonder why Kamikaze pilot's wore helmet's ?
ahmetBR
Guest
« Reply #4 on: June 18, 2007, 08:15:55 08:15 »

if you want to expand this design. you should use row scanning instead of col scanning and try to use an 18F series pic with larger RAM. You will need too much RAM which 16F series doesn't have.
Logged
chandra2sekhar2000
Active Member
***
Offline Offline

Posts: 121

Thank You
-Given: 22
-Receive: 17


« Reply #5 on: June 18, 2007, 09:50:46 09:50 »

HELLO AHMETBR
THANK U .CAN U PROVIDE ME SOME SCHEMATICS AND PBP CODE USING 18F.
Logged
chandra2sekhar2000
Active Member
***
Offline Offline

Posts: 121

Thank You
-Given: 22
-Receive: 17


« Reply #6 on: June 18, 2007, 10:03:57 10:03 »

HELLO THE BELOW CIRCUIT PROVIDED IS USING 89S2051 IC. CAN ANY BODY PLEASE CONVERT IT TO PIC SEIRIES (16F OR 18F) AND PROVIDE ME THE PBP CODE FOR IT. PLEASE HELP ME. IF NEEDED I WILL POST U THE SCHEMTIC AND ISIS SCHEMATIC FILE TO SIMULATE
Logged
robban
Senior Member
****
Offline Offline

Posts: 265

Thank You
-Given: 34
-Receive: 38


Warrior


WWW
« Reply #7 on: June 19, 2007, 05:50:19 05:50 »

Hi!
Try this...

Generic code

loop:
for POS X = (rightmost end of LCD + lenght of message) to 0
Print at POS X, "Hello"    ' where POS X is the rightmost position of the LCD(if You want it to scroll from right to left)
clearLCD
delay                          ' here you put the desired delay to make Yr. message readable
POS X = (POS X - 1)
next
Goto loop(or jump downwards if You are satisfied with one display message)

Haven't tested it, hope it works. There are several ways to skin a cat...
To connect the LCD to the PIC, use the manal...
Logged

Code Warrior
zuisti
Senior Member
****
Offline Offline

Posts: 371

Thank You
-Given: 219
-Receive: 567


« Reply #8 on: June 19, 2007, 10:36:49 10:36 »

Generic code

loop:
for POS X = (rightmost end of LCD + lenght of message) to 0
Print at POS X, "Hello"    ' where POS X is the rightmost position of the LCD(if You want it to scroll from right to left)
clearLCD
....

OK but I think you should rather we write:

loop:
for POS X = (rightmost end of LCD + lenght of message) to 0
clearLCD
Print at POS X, "Hello"    ' where POS X is the rightmost position of the LCD(if You want it to scroll from right to left)
....
(note the position of the "clearLCD")

zuisti

 
Logged
chandra2sekhar2000
Active Member
***
Offline Offline

Posts: 121

Thank You
-Given: 22
-Receive: 17


« Reply #9 on: June 20, 2007, 07:10:32 07:10 »

HELLO ZUISTI I WANT THE CODE FOR LED BASED DISPLAY NOT LCD
Logged
zuisti
Senior Member
****
Offline Offline

Posts: 371

Thank You
-Given: 219
-Receive: 567


« Reply #10 on: June 20, 2007, 06:37:14 18:37 »

HELLO ZUISTI I WANT THE CODE FOR LED BASED DISPLAY NOT LCD

Hello Chandra!

I'm sorry but I don't readed your first post:
HELLO CAN ANY BODY GIVE ME IDEA IN DOING A 16 CHARACTER MOVING LED MATRIX DISPLAY

I downloaded and study your attachment (Dot Matrix Display.zip) and I looked this link

These are  great projects but I agree with bbarney
with that design you can't really go any bigger read the article the author explains everything very well

My mind: you can using a big character LCD (eg. Hitachi LM038) for text scrolling. The LCD has a display-shift istruction, so the circuit and the program will much-much simpler and cheaper as with a billions of LEDs.

However, if you can upload your ISIS dsn file:
HELLO THE BELOW CIRCUIT PROVIDED IS USING 89S2051 IC. CAN ANY BODY PLEASE CONVERT IT TO PIC SEIRIES (16F OR 18F) AND PROVIDE ME THE PBP CODE FOR IT. PLEASE HELP ME. IF NEEDED I WILL POST U THE SCHEMTIC AND ISIS SCHEMATIC FILE TO SIMULATE
..., I will work on it...

Regards
 zuisti
 
Logged
chandra2sekhar2000
Active Member
***
Offline Offline

Posts: 121

Thank You
-Given: 22
-Receive: 17


« Reply #11 on: June 27, 2007, 01:49:53 13:49 »

HAI DOWNLOAD ATTACHMENT.IN HARDARE JUST CHANGE MICRO AND REPLACE WITH PIC.AND PROVIDE ME THE PBP CODE FOR  SCROLLING
Logged
zuisti
Senior Member
****
Offline Offline

Posts: 371

Thank You
-Given: 219
-Receive: 567


« Reply #12 on: June 27, 2007, 04:48:12 16:48 »

HAI DOWNLOAD ATTACHMENT.IN HARDARE JUST CHANGE MICRO AND REPLACE WITH PIC.AND PROVIDE ME THE PBP CODE FOR  SCROLLING

Hi Chandra!
I just have downloaded  your DSN and study it now...
My first remark
it has a trivial error: the emitters of the seven PNP transistors must attach to +5V and not to the ground...

Please attach the PUNZELEK.HEX file you are using too (it is needed for the simulation).

Sorry but I don't using (and don't know) PBP, only assembly.

zuisti
Logged
chandra2sekhar2000
Active Member
***
Offline Offline

Posts: 121

Thank You
-Given: 22
-Receive: 17


« Reply #13 on: July 09, 2007, 10:46:48 10:46 »

hello zuisti all the are provided in zip file above
« Last Edit: July 23, 2007, 04:51:17 16:51 by chandra2sekhar2000 » Logged
zuisti
Senior Member
****
Offline Offline

Posts: 371

Thank You
-Given: 219
-Receive: 567


« Reply #14 on: August 06, 2007, 11:31:25 11:31 »

Hi Chandra!

I attached my newest projects now.
They are using the uC At89c2051 and the programs I wrote all in (well commented) assembly.
I don't know PICs enough yet but I work on it.

Your DSN doesn't work. I modified it to the simulation (look at the dir "repaired_ori"), it is working but far slowly beacuse of the original program.

So I wrote new programs too and my new circuits are working fine (at least on my PC).
My PC is a 350 Mhz P3 only so I set back the uC clock to 11 Mhz and the baud rate to 4800.
If you have a faster PC set these back to 22 Mhz/9600 Bd

I hope my last 8 char project is useful for you: you must use 2 modules and a little PC progra for a
16 chars scrolling display...

zuisti

Sorry!
I'm deleted my attachment beacuse it's off topic here (It's using AT89c2051 and assembly source).
Look at my new topic under "General Electronics"!
zuisti
« Last Edit: August 15, 2007, 05:41:49 17:41 by zuisti » Logged
dazheng
Junior Member
**
 Muted
Offline Offline

Posts: 58

Thank You
-Given: 42
-Receive: 15


« Reply #15 on: August 07, 2007, 02:22:40 02:22 »

Hi zuisti, very very nice project and really works on proteus simulation.. Wink. Is there a way to make the message moving from right to left.
thank you for posting your project.. Smiley
Logged
zuisti
Senior Member
****
Offline Offline

Posts: 371

Thank You
-Given: 219
-Receive: 567


« Reply #16 on: August 07, 2007, 08:57:05 08:57 »

Is there a way to make the message moving from right to left.

Hi "dazheng",
I think your sentence above is a question... (sorry for my bad English).

I wrote a little test program to make this (attached).

Please try it on your (hopefully faster) PC and tell me what you see.

In the reality it must work I think, but seems so the modell of the dot matrix  display in Proteus
has a "follow up lighting"

zuisti

Sorry!
I'm deleted my attachment beacuse it's off topic here (It's using AT89c2051 and assembly source).
Look at my new topic under "General Electronics"!
zuisti
« Last Edit: August 15, 2007, 05:44:24 17:44 by zuisti » Logged
dazheng
Junior Member
**
 Muted
Offline Offline

Posts: 58

Thank You
-Given: 42
-Receive: 15


« Reply #17 on: August 07, 2007, 06:17:08 18:17 »

Hi zuisti, excellent it really works and it scroll from right to left.... Grin I have another question, how I can cascade it to make a 23 character. do I have to make another circuit of 8 character and cascade it to the first one or just extending the driver and add dot matrix led. and what are the use of DIP switches 1248. a simple block diagram may help with interconnection.... Wink

again Thannnnnk youuuu very much... Grin Grin Grin

dazheng
Logged
zuisti
Senior Member
****
Offline Offline

Posts: 371

Thank You
-Given: 219
-Receive: 567


« Reply #18 on: August 07, 2007, 09:28:19 21:28 »

... how I can cascade it to make a 23 character. do I have to make another circuit of 8 character and cascade it to the first one or just extending the driver and add dot matrix led.
...and what are the use of DIP switches 1248. a simple block diagram may help with interconnection.

Hi dazheng,

You have downloaded my prev. attachment yet (LedDotMatrixProjects.zip). Plase read carefully the included original artikel in pdf format (you can found it in dir ori, in  "Dot Matrix Display.zip", the file name is: E016048.pdf). Here are the answers to your questions (cascading, using the position switch, the 7 PNP line driver transistors, an NPN transistor  interface to the paralell used serial inputs, the 330 Ohms for current limiting, are needed circuits in the reality, and basic examples for PC with a simple scrolling routine).
Do not forget the display clear character in my program is an ENTER (0Dh) instead of the original  0Ch.

However, if you have time and make a 24 char circuit in Proteus (it needed 3*5 = 15 pieces hc595) and post it here for me, I will write a stand alone scrolling program for this. It is possible with the hc595 beacuse it has  output store registers.

Another remark: if the light of leds isn't enough beacuse of the multiplexing (theoretically and really 1/7 current), you can use other 8 stage shift regs with higher output current (eq tpic6b595 or mic5841bn) and a significant lower value of the current limiting resistors (33 or 47 Ohm instead of the 330 Ohm). The line driver PNP transistors must switch in this case higher current so you must use darlingtons here. Be careful!

zuisti
Logged
zuisti
Senior Member
****
Offline Offline

Posts: 371

Thank You
-Given: 219
-Receive: 567


« Reply #19 on: September 04, 2007, 10:51:23 10:51 »

Hi all,

I'm ready now with my first Proton Basic project. This is "simply" a conversion from
my C project:

It is a two mode (switchable) 8 char dot matrix display, working in Proteus, with source in Proton Basic:
I'm used a PIC16F628A.

- in scrolling mode it has a buffer for a max 54 chars message. The speed is controllable.
- in static mode it is cascadable, set the position in the received string with the pos. switch.

This is my first PIC basic program, it is working fine.
There are two DSN folders, one for standalone running in Proteus, the other is for Proton IDE.

Please look at this topic:

http://www.sonsivri.com/forum/index.php?topic=4872.0   (my last post here)

zuisti
Logged
dazheng
Junior Member
**
 Muted
Offline Offline

Posts: 58

Thank You
-Given: 42
-Receive: 15


« Reply #20 on: September 09, 2007, 03:09:23 03:09 »

hi zuisti, thats a wonderful news for those ( I include myself) who are following your thread regarding moving led projects using PIC. We hope that one of these days, you will share your great ideas with  US... Wink
Logged
bbarney
Moderator
Hero Member
*****
Offline Offline

Posts: 2403

Thank You
-Given: 405
-Receive: 544


Uhm? where did pickit put my mute button


« Reply #21 on: September 09, 2007, 03:50:54 03:50 »

This is a cool project which should be easy to assemble even for newbies Grin
thank's for your effort,good job
« Last Edit: September 09, 2007, 03:55:44 03:55 by bbarney » Logged

Ever wonder why Kamikaze pilot's wore helmet's ?
xmobix
Newbie
*
Offline Offline

Posts: 19

Thank You
-Given: 9
-Receive: 1


« Reply #22 on: September 14, 2007, 06:20:19 18:20 »

hi

for me I decide to use this for making a led moving message display

-pic16f877
-led matrix of 8x8
-MAX 7219 8 digit led driver

now I'm thinking of software with picbasic pro 2.47 (till now I test 4 matrix with 4 max7219 and pic16f84 and work fine)

thnaks.
Logged
Husanto
Newbie
*
 Muted
Offline Offline

Posts: 10

Thank You
-Given: 0
-Receive: 1


« Reply #23 on: November 26, 2007, 05:32:16 05:32 »

I want to ask how to design schematic for dot matrix display 4 character??
Logged
bbarney
Moderator
Hero Member
*****
Offline Offline

Posts: 2403

Thank You
-Given: 405
-Receive: 544


Uhm? where did pickit put my mute button


« Reply #24 on: November 26, 2007, 06:02:26 18:02 »

You want to know what program to use? are the 5x7 or 8x8 displays you want to use?
Logged

Ever wonder why Kamikaze pilot's wore helmet's ?
Pages: [1] 2  All
Print
Jump to:  


DISCLAIMER
WE DONT HOST ANY ILLEGAL FILES ON THE SERVER
USE CONTACT US TO REPORT ILLEGAL FILES
ADMINISTRATORS CANNOT BE HELD RESPONSIBLE FOR USERS POSTS AND LINKS

... Copyright 2003-2999 Sonsivri.to ...
Powered by SMF 1.1.18 | SMF © 2006-2009, Simple Machines LLC | HarzeM Dilber MC