Sonsivri
 
*
Welcome, Guest. Please login or register.
Did you miss your activation email?
December 05, 2016, 09:27:30 09:27


Login with username, password and session length


Pages: [1] 2  All
Print
Author Topic: P(I)C controlled Moving Message Led Matrix Display, source in MikroC  (Read 16588 times)
0 Members and 1 Guest are viewing this topic.
zuisti
Senior Member
****
Offline Offline

Posts: 371

Thank You
-Given: 219
-Receive: 567


« on: September 01, 2007, 04:42:38 16:42 »

Hi to all,

I'm ready(?) with this work yet.
It is a two mode (switchable) 8 char dot matrix display, working in Proteus, with source in MikroC:
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.

The attached ZIP contains the orig. article (a PDF), as my start point. Please read it!

Please post here your minds!
Try it programming in Proton or other PIC Basic (I'm using assembly and C only, sorry) and post it!!

zuisti               
   
Modified:
Hi, I uploaded the file to rapidshare too (for newbie users).
Look at my next post on this topic!
zuisti
« Last Edit: September 03, 2007, 12:12:48 12:12 by zuisti » Logged
Rego
Senior Member
****
Offline Offline

Posts: 497

Thank You
-Given: 0
-Receive: 320


The power is back


« Reply #1 on: September 01, 2007, 05:09:56 17:09 »

u still not make anyone in pic basic Huh
Logged

Smiley ....THE POWER IS BACK.... Smiley

....REGO....
ppa88
Active Member
***
Offline Offline

Posts: 200

Thank You
-Given: 49
-Receive: 131


« Reply #2 on: September 01, 2007, 05:59:22 17:59 »

I do not know if is happening only with me but in such posts I do not see any attachment and then when I reply to the post , I see it. So, I have to send some dummy reply and then remove it.
Logged
Ret12_12
Junior Member
**
Offline Offline

Posts: 75

Thank You
-Given: 104
-Receive: 32


« Reply #3 on: September 01, 2007, 11:58:55 23:58 »

Sorry but where is the attach file(s) ?
Logged
iphone
Active Member
***
 Muted
Offline Offline

Posts: 168

Thank You
-Given: 115
-Receive: 10


« Reply #4 on: September 02, 2007, 09:19:00 09:19 »

I can see & can download the attachment.

Dont know what happen to my friends ...  Sad
Logged
Rego
Senior Member
****
Offline Offline

Posts: 497

Thank You
-Given: 0
-Receive: 320


The power is back


« Reply #5 on: September 02, 2007, 09:23:41 09:23 »


i wonder anyone can read the news fader (in the top of the index page)  ?
u will find what u asking for there....
Logged

Smiley ....THE POWER IS BACK.... Smiley

....REGO....
egealtay
Newbie
*
 Muted
Offline Offline

Posts: 21

Thank You
-Given: 4
-Receive: 77


« Reply #6 on: September 02, 2007, 08:22:33 20:22 »

 18f452  dsn,bas,hex

http://rapidshare.com/files/52935616/18F452_MOWING.rar.html
Logged
jhchoo235
Newbie
*
Offline Offline

Posts: 11

Thank You
-Given: 1
-Receive: 0


« Reply #7 on: September 03, 2007, 04:56:55 04:56 »

what is the links?
Logged
zuisti
Senior Member
****
Offline Offline

Posts: 371

Thank You
-Given: 219
-Receive: 567


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

Hi,
I see a lot of users ask for the link to my attachment
(this is only for users with status "junior member" and above).

So it is a real link:
http://rapidshare.com/files/53046124/PIC_Scroll.zip.html
no password

But ... my dear friends, please post your minds, repairs and opinions here!

@Rego
I'm working now on a conversion to Proton Basic (I don't have skills about PIC basics yet, as I wrote).
I somebody want to do this, my C source is simple and easy to understand I think...

zuisti
 
Logged
sohel
Senior Member
****
Offline Offline

Posts: 437

Thank You
-Given: 140
-Receive: 124



WWW
« Reply #9 on: September 03, 2007, 12:31:07 12:31 »

thanks for ur design. if u send 8bit data then it will look nice, u have send per font per display, Huh
Logged

A Thousand Miles Journey Start With a Single Step<br />http://www.youtube.com/user/masud58
zuisti
Senior Member
****
Offline Offline

Posts: 371

Thank You
-Given: 219
-Receive: 567


« Reply #10 on: September 03, 2007, 03:43:04 15:43 »

..if u send 8bit data then it will look nice, u have send per font per display, Huh

Hi "sohel",

I don't understand, please explain it a little more ...
zuisti
P.S
Fact, I wrote a character scrolling and NOT a pixel scrolling (yet)
Logged
sohel
Senior Member
****
Offline Offline

Posts: 437

Thank You
-Given: 140
-Receive: 124



WWW
« Reply #11 on: September 04, 2007, 08:29:49 08:29 »

..if u send 8bit data then it will look nice, u have send per font per display, Huh

yes i am talking about pixel scrolling.

Fact, I wrote a character scrolling and NOT a pixel scrolling (yet)
Logged

A Thousand Miles Journey Start With a Single Step<br />http://www.youtube.com/user/masud58
zuisti
Senior Member
****
Offline Offline

Posts: 371

Thank You
-Given: 219
-Receive: 567


« Reply #12 on: September 04, 2007, 10:39:18 10:39 »

Hi,

I'm ready now with my first Proton Basic project. This is "simply" a conversion from my MikroC source.
This is my first PIC basic program, it is working fine.

Modify at 06 sept:.
I'm attached the ZIP file here and remove the rapidshare link.

There are two DSN folders, one for standalone running in Proteus, the other is for Proton IDE.

I'm waiting for your minds!
Is it uninteresting?

zuisti


 

« Last Edit: September 06, 2007, 10:36:38 10:36 by zuisti » Logged
Rego
Senior Member
****
Offline Offline

Posts: 497

Thank You
-Given: 0
-Receive: 320


The power is back


« Reply #13 on: September 06, 2007, 01:43:59 13:43 »


hi zuisti,

i like your project much,and it is a good effort from u (converting it to Proton Basic project)
but how about writing a (v.b interface to it) it will be very cool....

also did u test the real hardware (is there any problem in led power or anything like this)

this project can be upgraded with many options..

Logged

Smiley ....THE POWER IS BACK.... Smiley

....REGO....
zuisti
Senior Member
****
Offline Offline

Posts: 371

Thank You
-Given: 219
-Receive: 567


« Reply #14 on: September 06, 2007, 04:07:59 16:07 »

1.
...but how about writing a (v.b interface to it) it will be very cool....
2.
...also did u test the real hardware (is there any problem in led power or anything like this)

Hi Rego,
Thanks for your reply.

@ 1:
The original ELECTOR article in PDF format is included in my ZIP. It contains a schematic (it was my start point) with 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 (Virtual?) BASIC examples for the 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, my solving have also a standalone scrolling mode with speed control.

@ 2:
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 (47 or 68 Ohm instead of the 330 Ohm). The line driver PNP transistors must switch in this case higher current so you must use darlingtons here.

regards
zuisti

Logged
zuisti
Senior Member
****
Offline Offline

Posts: 371

Thank You
-Given: 219
-Receive: 567


« Reply #15 on: September 09, 2007, 03:31:51 15:31 »

P(I)C controlled 8 Char Dot Matrix  Display Module (Proton Project).

Source: scroll8ch.bas ver 1.2, made by zuisti, 04.09.2007 -

Modified at ver 1.2: (attached here)

- larger scrolling bufffer (now for 64 chars instead of 54)
- fixed a minor 'bug' if the buffer is full (no gap was here) ..
- some optimalisation steps to fit it to a smaller pic 627a (pr. lenght: 1007).
- readme file is included (with "user manual", see below)

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

- in scrolling mode it has a buffer for a max 64 (!) chars message and a
  scrolling gap (2 space chars). The speed is 'on the fly' controllable.
- in static mode it is cascadable, set the position in the received string
  with the pos. switch.
****************

A lot of users ask me (in a PM) for write a simple "user manual" about my
project. Here it is:

1.
Unzip the file anywhere you want.
2.
Double click on the file "Pic8ch1bas1.DSN" to open it in Proteus.
If not, first open the Proteus and open the DSN from its FILE menu.
3.
Study the DSN, also read the texts...
4.
Remember the state of the switchs:
- the MODE switch is in its lower (scrolling) state
- the 4 stage 1248 dip switch's value is 2 (in this case: fast scroll)

5.
Start the simulation with its icon in Proteus: >
- the virtual terminal window is opened (with a pre-programmed long string,
  this is reprogrammable in the terminal's properties)
- the scrolling message is displaying (now fast) continually with a "  " gap...

6.
While displaying the message, set the speed as you want with the dip switch.

7.
Double click on the terminal window, and press ENTER: the display is cleared.
- Now you can type a new message in this window, it is sending to the PIC...

8.
Stop the simulation now, and close the DSN (or set the dipswitch back to 2).
After opening it again,
- click on the top of the MODE switch to make it to STATIC state.

9.
Start the simulation.
It displays a midstring of the preprogrammed message, in this case "g_Messag".
It is beacuse of the state of the pos (dip) switch, the 8 ... 15 chars.

10.
To display the front of the message:
- stop simulation
- set dip switch to 0 (all on)
- start simulation. It displays now: "Scrollin" (the first 8 chars).

11.
You can alter the displayed string as in 7. above (in the virtual terminal)

12.
To alter the source simply open the scroll8ch.bas in Proton, recompile it, and
in Proton's VHB Explorer window open the included Pic8ch1.DSN file ...

13.
... enjoy ...
**************

My dear friends, please post your minds, repairs and opinions here!
zuisti
Logged
zuisti
Senior Member
****
Offline Offline

Posts: 371

Thank You
-Given: 219
-Receive: 567


« Reply #16 on: September 09, 2007, 03:42:19 15:42 »

Modified at ver 1.2: (attached here)

Hi,
Sorry but I cannot make an attaching now (server error?).
So I'm uploaded it:
http://rapidshare.com/files/54461505/PcPrv12.zip.html
zuisti
Logged
Ret12_12
Junior Member
**
Offline Offline

Posts: 75

Thank You
-Given: 104
-Receive: 32


« Reply #17 on: September 09, 2007, 03:58:46 15:58 »

Hi Dear zuisti,

Are you working for Elektor ?  Grin

YOU HAVE DONE A PROFESSIONAL JOB ! Shocked Cool

And also i have to say you have learn to fast the proton +, well done  Roll Eyes Grin
Logged
dazheng
Junior Member
**
 Muted
Offline Offline

Posts: 58

Thank You
-Given: 42
-Receive: 15


« Reply #18 on: September 09, 2007, 06:38:08 18:38 »

Hi zuisti it is a verrrry Interesting Project... and I really like it very much...... Smiley I know saying thank you is not enough for your hardwork doing this project..... Wink
Logged
Ret12_12
Junior Member
**
Offline Offline

Posts: 75

Thank You
-Given: 104
-Receive: 32


« Reply #19 on: September 10, 2007, 12:28:07 00:28 »

Hi again,

I have build an app to work with the lovely app from zuisti.

Can someone test it because i have very limit time now and tell me if working ?  Roll Eyes

Also if you want anything to add.

http://depositfiles.com/files/1720941

The upload has problem or it limitation ?

The passsword is: sonsivri
Logged
riteshjain_82
Junior Member
**
Offline Offline

Posts: 88

Thank You
-Given: 31
-Receive: 33


« Reply #20 on: October 27, 2007, 05:27:29 17:27 »

Hi again,

I have build an app to work with the lovely app from zuisti.

Can someone test it because i have very limit time now and tell me if working ?  Roll Eyes

Also if you want anything to add.

http://depositfiles.com/files/1720941

The upload has problem or it limitation ?

The passsword is: sonsivri

the file is not found..
(Such file does not exist or it has been removed for infringement of copyrights)
Logged
Ret12_12
Junior Member
**
Offline Offline

Posts: 75

Thank You
-Given: 104
-Receive: 32


« Reply #21 on: October 28, 2007, 12:09:48 00:09 »

the file is not found..
(Such file does not exist or it has been removed for infringement of copyrights)

Here you are

http://depositfiles.com/files/2182868

maybe after a while delete the file (me i have not keep the delete link even and now.)

i was right look what they said on free account
"Your files are stored maximum time since last download     30"

Enjoy.
Logged
chyelim
V.I.P
Junior Member
*****
Offline Offline

Posts: 80

Thank You
-Given: 35
-Receive: 112


« Reply #22 on: October 28, 2007, 05:10:11 17:10 »

Hi, can you upload the source code also ? Thanks!
Logged
zuisti
Senior Member
****
Offline Offline

Posts: 371

Thank You
-Given: 219
-Receive: 567


« Reply #23 on: October 28, 2007, 07:08:24 19:08 »

Hi,
I'm working now on an improved project (with the same circuit !):

It scrolls pixel-by-pixel or char-by-char ('on the fly' switchable !!)

It gets the displayed string from the PIC's EEPROM, max. 128 chars (in Proteus: first from the file eeprom.bin).
- If you want to alter this, do not forget to apply the "Debug/Reset Persistent Model Data" menu command in Proteus,
- or else Proteus recalls always the last eeprom content...

The scrolling speed is also switchable 'on the fly' as before.

However, it doesn't communicate now (yet)...

I'm working on the following online (RS232) commands:
- download a new string to the eeprom (after a clear)
- store the mode in eeprom (speed and scroll mode)
- start/stop the scrolling
- switch between pixel and char scrolling
- online speed setting (increase - decrease)
... Wink

My friends, I have a big request:
Please try out the attached project on a fast PC and tell me here about the result.
I have a slow (350MHz) PC only, and the display is "flickers" a little.
Please play with the scrolling speed and also with the clock of the PIC (now 2MHz).
The program is fast enough, I think this is also a problem (too fast for the ledmpx model in Proteus?) ...

I'm attaching the project here but without the bas source beacuse it's not ready yet.
It is not a nice program, it has many asm snippets, but ... it's working.

Please help me and try out this intermediate project, and tell me how it works on a really fast PC !!!

Thanks
zuisti     

Logged
Ret12_12
Junior Member
**
Offline Offline

Posts: 75

Thank You
-Given: 104
-Receive: 32


« Reply #24 on: October 28, 2007, 08:01:07 20:01 »

Hi Dear Zuisti,

I will one of sure beta tester for you  Wink (I have to finish also the pcb for it, still i have not finish it  Embarrassed

For now it looks ok
Logged
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