zuisti
Senior Member
Offline
Posts: 409
Thank You
-Given: 242
-Receive: 780
|
|
« on: September 01, 2007, 03:42:38 15: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, 11:12:48 11:12 by zuisti »
|
Logged
|
|
|
|
Rego
Senior Member
Offline
Posts: 498
Thank You
-Given: 0
-Receive: 320
The power is back
|
|
« Reply #1 on: September 01, 2007, 04:09:56 16:09 » |
|
u still not make anyone in pic basic
|
|
|
Logged
|
....THE POWER IS BACK.... ....REGO....
|
|
|
ppa88
Active Member
Muted
Offline
Posts: 200
Thank You
-Given: 49
-Receive: 131
|
|
« Reply #2 on: September 01, 2007, 04:59:22 16: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
Posts: 75
Thank You
-Given: 104
-Receive: 32
|
|
« Reply #3 on: September 01, 2007, 10:58:55 22:58 » |
|
Sorry but where is the attach file(s) ?
|
|
|
Logged
|
|
|
|
iphone
Active Member
Offline
Posts: 168
Thank You
-Given: 115
-Receive: 10
|
|
« Reply #4 on: September 02, 2007, 08:19:00 08:19 » |
|
I can see & can download the attachment. Dont know what happen to my friends ...
|
|
|
Logged
|
|
|
|
Rego
Senior Member
Offline
Posts: 498
Thank You
-Given: 0
-Receive: 320
The power is back
|
|
« Reply #5 on: September 02, 2007, 08:23:41 08: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
|
....THE POWER IS BACK.... ....REGO....
|
|
|
egealtay
Newbie
Offline
Posts: 21
Thank You
-Given: 4
-Receive: 78
|
|
« Reply #6 on: September 02, 2007, 07:22:33 19:22 » |
|
|
|
|
Logged
|
|
|
|
jhchoo235
Newbie
Offline
Posts: 11
Thank You
-Given: 1
-Receive: 0
|
|
« Reply #7 on: September 03, 2007, 03:56:55 03:56 » |
|
what is the links?
|
|
|
Logged
|
|
|
|
zuisti
Senior Member
Offline
Posts: 409
Thank You
-Given: 242
-Receive: 780
|
|
« Reply #8 on: September 03, 2007, 08:21:03 08: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.htmlno 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
Posts: 442
Thank You
-Given: 167
-Receive: 149
|
|
« Reply #9 on: September 03, 2007, 11:31:07 11:31 » |
|
thanks for ur design. if u send 8bit data then it will look nice, u have send per font per display,
|
|
|
Logged
|
|
|
|
zuisti
Senior Member
Offline
Posts: 409
Thank You
-Given: 242
-Receive: 780
|
|
« Reply #10 on: September 03, 2007, 02:43:04 14:43 » |
|
..if u send 8bit data then it will look nice, u have send per font per display, 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
Posts: 442
Thank You
-Given: 167
-Receive: 149
|
|
« Reply #11 on: September 04, 2007, 07:29:49 07:29 » |
|
..if u send 8bit data then it will look nice, u have send per font per display, yes i am talking about pixel scrolling. Fact, I wrote a character scrolling and NOT a pixel scrolling (yet)
|
|
|
Logged
|
|
|
|
zuisti
Senior Member
Offline
Posts: 409
Thank You
-Given: 242
-Receive: 780
|
|
« Reply #12 on: September 04, 2007, 09:39:18 09: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, 09:36:38 09:36 by zuisti »
|
Logged
|
|
|
|
Rego
Senior Member
Offline
Posts: 498
Thank You
-Given: 0
-Receive: 320
The power is back
|
|
« Reply #13 on: September 06, 2007, 12:43:59 12: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
|
....THE POWER IS BACK.... ....REGO....
|
|
|
zuisti
Senior Member
Offline
Posts: 409
Thank You
-Given: 242
-Receive: 780
|
|
« Reply #14 on: September 06, 2007, 03:07:59 15: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
Posts: 409
Thank You
-Given: 242
-Receive: 780
|
|
« Reply #15 on: September 09, 2007, 02:31:51 14: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
Posts: 409
Thank You
-Given: 242
-Receive: 780
|
|
« Reply #16 on: September 09, 2007, 02:42:19 14: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.htmlzuisti
|
|
|
Logged
|
|
|
|
Ret12_12
Junior Member
Offline
Posts: 75
Thank You
-Given: 104
-Receive: 32
|
|
« Reply #17 on: September 09, 2007, 02:58:46 14:58 » |
|
Hi Dear zuisti, Are you working for Elektor ? YOU HAVE DONE A PROFESSIONAL JOB ! And also i have to say you have learn to fast the proton +, well done
|
|
|
Logged
|
|
|
|
dazheng
Junior Member
Offline
Posts: 58
Thank You
-Given: 42
-Receive: 15
|
|
« Reply #18 on: September 09, 2007, 05:38:08 17:38 » |
|
Hi zuisti it is a verrrry Interesting Project... and I really like it very much...... I know saying thank you is not enough for your hardwork doing this project.....
|
|
|
Logged
|
|
|
|
Ret12_12
Junior Member
Offline
Posts: 75
Thank You
-Given: 104
-Receive: 32
|
|
« Reply #19 on: September 09, 2007, 11:28:07 23: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 ? Also if you want anything to add. http://depositfiles.com/files/1720941The upload has problem or it limitation ? The passsword is: sonsivri
|
|
|
Logged
|
|
|
|
riteshjain_82
Junior Member
Offline
Posts: 88
Thank You
-Given: 31
-Receive: 33
|
|
« Reply #20 on: October 27, 2007, 04:27:29 16: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 ? Also if you want anything to add. http://depositfiles.com/files/1720941The 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
Posts: 75
Thank You
-Given: 104
-Receive: 32
|
|
« Reply #21 on: October 27, 2007, 11:09:48 23: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/2182868maybe 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
Junior Member
Offline
Posts: 81
Thank You
-Given: 709
-Receive: 134
|
|
« 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
Posts: 409
Thank You
-Given: 242
-Receive: 780
|
|
« 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) ... 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
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 (I have to finish also the pcb for it, still i have not finish it For now it looks ok
|
|
|
Logged
|
|
|
|
Ret12_12
Junior Member
Offline
Posts: 75
Thank You
-Given: 104
-Receive: 32
|
|
« Reply #25 on: October 28, 2007, 08:03:27 20:03 » |
|
On pixel scroll you can't read what say, it is very fast.
Best Regards, Ret12_12
|
|
|
Logged
|
|
|
|
zuisti
Senior Member
Offline
Posts: 409
Thank You
-Given: 242
-Receive: 780
|
|
« Reply #26 on: October 28, 2007, 08:08:15 20:08 » |
|
On pixel scroll you can't read what say, it is very fast.
Hi, Thanks for your fast reply... As I wrote please decrease the speed with the dipswitchs and/or with the clock... I'm waiting for the result... zuisti
|
|
|
Logged
|
|
|
|
sohel
Senior Member
Offline
Posts: 442
Thank You
-Given: 167
-Receive: 149
|
|
« Reply #27 on: October 28, 2007, 08:19:22 20:19 » |
|
its nice programme.
please take a space with two font then it will clear.
at this setting
on on off on
|
|
|
Logged
|
|
|
|
Ret12_12
Junior Member
Offline
Posts: 75
Thank You
-Given: 104
-Receive: 32
|
|
« Reply #28 on: October 28, 2007, 08:24:47 20:24 » |
|
When i change the osc from 2Mhz to 4Mhz then the speed it is double again the faster speed it is not visible the message i will transfer to the real hardware to see how it works but before i do this, i see how the command 13 (enter) it is not clear the text.
|
|
|
Logged
|
|
|
|
zuisti
Senior Member
Offline
Posts: 409
Thank You
-Given: 242
-Receive: 780
|
|
« Reply #29 on: October 28, 2007, 08:40:55 20:40 » |
|
When i change the osc from 2Mhz to 4Mhz then the speed it is double again the faster speed it is not visible the message i will transfer to the real hardware to see how it works but before i do this, i see how the command 13 (enter) it is not clear the text.
Hi, Thanks but you must decrease the speed !!! Set the PIC clock to 0.5Mhz or slower if needed, or (what is better) set the speed with the dipswitch slower please! As I wrote the serial communication not working yet in this project. But I think we will continue this talking in a PM or ...(you know my email address) Thanks zuisti
|
|
|
Logged
|
|
|
|
zuisti
Senior Member
Offline
Posts: 409
Thank You
-Given: 242
-Receive: 780
|
|
« Reply #30 on: October 28, 2007, 09:00:47 21:00 » |
|
its nice programme. please take a space with two font then it will clear.
Hi sohel, Thanks for the info and for your idea! What do you think about the inserted space, it is one pixel or one space (5 pixels) in its width? I'll try it out (the one pixel space, it is possible with pixel scroll but not with char scroll), thanks again. zuisti
|
|
|
Logged
|
|
|
|
Ret12_12
Junior Member
Offline
Posts: 75
Thank You
-Given: 104
-Receive: 32
|
|
« Reply #31 on: October 28, 2007, 09:25:26 21:25 » |
|
Hi, Thanks but you must decrease the speed !!! Set the PIC clock to 0.5Mhz or slower if needed, or (what is better) set the speed with the dipswitch slower please! As I wrote the serial communication not working yet in this project. But I think we will continue this talking in a PM or ...(you know my email address) Thanks zuisti
You are right you have email Best Regards, Ret12_12
|
|
|
Logged
|
|
|
|
kang2008
Guest
|
|
« Reply #32 on: October 31, 2007, 04:41:53 04:41 » |
|
|
|
|
Logged
|
|
|
|
kang2008
Guest
|
|
« Reply #33 on: October 31, 2007, 05:09:27 05:09 » |
|
|
|
|
Logged
|
|
|
|
obialor
Guest
|
|
« Reply #34 on: November 15, 2007, 02:20:00 14:20 » |
|
can't you post the zip file here instead of linking it to another site.
|
|
« Last Edit: November 19, 2007, 02:59:22 14:59 by obialor »
|
Logged
|
|
|
|
cowwyland
Newbie
Offline
Posts: 12
Thank You
-Given: 5
-Receive: 1
|
|
« Reply #35 on: March 31, 2008, 03:52:01 03:52 » |
|
Zuisti, nice project. By the way, instead of storing the hex of alphanumeric code which will consume big memory in PIC, How about using EEPROM instead? What do you think? Because I am worried that storing in EEPROM will show significant loss of speed, since accessing to EEPROM not as fast as accessing to RAM.
|
|
|
Logged
|
|
|
|
zuisti
Senior Member
Offline
Posts: 409
Thank You
-Given: 242
-Receive: 780
|
|
« Reply #36 on: April 01, 2008, 12:46:46 12:46 » |
|
Zuisti, nice project. 1. By the way, instead of storing the hex of alphanumeric code which will consume big memory in PIC, How about using EEPROM instead? What do you think? 2. Because I am worried that storing in EEPROM will show significant loss of speed, since accessing to EEPROM not as fast as accessing to RAM. Hi cowwyland, @1: The storing of the "hex of alphanumeric code" is verily a memory consuming thing beacuse we must store min 7 pattern bytes for every chars. The PIC's intern EEPROM is too small to do this, and an accessing of an extern EEPROM is really much slower as the intern flash memory. @2: The accessing of the intern EEPROM (to get a char) is really slower a bit as the RAM or Flash but this is negigible beside the other things what we must to do (seeking and get the pattern bytes of the char, shiftings ...) My last project uses this method and a new algorithm. Look at my newer thread: http://www.sonsivri.com/forum/index.php?topic=7978.msg35713#msg35713zuisti
|
|
« Last Edit: April 01, 2008, 12:51:39 12:51 by zuisti »
|
Logged
|
|
|
|
|