Sonsivri
 
*
Welcome, Guest. Please login or register.
Did you miss your activation email?
March 29, 2024, 09:35:09 09:35


Login with username, password and session length


Pages: [1]
Print
Author Topic: MMD and Alarm Clock by zuisti (a working Proteus hex project)  (Read 7172 times)
0 Members and 1 Guest are viewing this topic.
zuisti
Senior Member
****
Offline Offline

Posts: 409

Thank You
-Given: 242
-Receive: 780


« on: February 08, 2012, 12:56:58 12:56 »

I work continuously on my PIC18 MMD project, it is still under development,
so only a working hex Proteus project (zipped) and a screenshot is attached.
I've not built it, working only in ISIS.Try it out please.

The DSN has two sheets (display and proc) and some masking 'widgets' on the first.

Some features:

- a cheap and small 28pin PIC (18F2620)
- two-line led matrix display (2 x 12 x 8x8)
- vertical and horizontal scroll (mixed too)
- right-left scroll (also mixed)
- scroll by char or by pixel
- start-stop scrolling, on-the-fly scroll speed setting
- on-the-fly selectable mode and messages
- single step by char or by line (also to begin/end)
- also double size chars
- HW spi to loading the hc595s
- IT controlled key-read with IT debouncing
- IT controlled matrix line (row) timing (protected also by the watchdog timer)
- two user modifiable message, stored in Eeprom, max 2x511 (in ISIS 2x127) chars
- plus max 98 fixed (known at the compiling time) msg (max 623 chars/msg, sum max 50k)
- one fixed msg with an inserted running clock (now: msg 2)
- settable DS1307 rtc (hw I2C) and sw alarm (via rtc IT) with sound (hour:min:sec only)
- simple msg editor also via onboard buttons (if no rs232)
- flashing cursor in msg editor and clock/alarm set
- 7seg displays (mode, msg nr, ascii code of a char ...)

----- and yet what I think in future :-)

I know it is too much (:-), and the treatment is also not as simple,
(my goal was to test the basic routines), a realization is possible to simplify.

zuisti
Logged
metal
Global Moderator
Hero Member
*****
Offline Offline

Posts: 2420

Thank You
-Given: 862
-Receive: 678


Top Topic Starter


« Reply #1 on: February 08, 2012, 03:23:27 15:23 »

Hats off to you!!!

I am interested to see how proton looks like now after this interesting functionality :- )
Logged
zuisti
Senior Member
****
Offline Offline

Posts: 409

Thank You
-Given: 242
-Receive: 780


« Reply #2 on: February 09, 2012, 09:44:45 21:44 »


I've used  my PIC18 MMD circuit (see above)  to realize this simple animation display.

Using the MS Paint program I've generated 11 pcs (no patience to make more :-) simple
96x16 pixel BMP pictures for the 11 animation phase and I wrote a short program to display
them at 10 frame/second speed (the max speed may be 100 f/s at 4 MHz PIC clock).

A BMP is extracted to a 192 bytes long record, the program itself occupies only 232 bytes (!)
from the PIC's 64k flash so you can use max 340 frame pictures (ie a 34 seconds animation).

Attached a working Proteus hex project as a demo, maybe I use it for my new MultiLang project
(here I already wrote about it ) which is currently being prepared, like a power-on INTRO 

zuisti
Logged
Kombinator
Junior Member
**
Offline Offline

Posts: 82

Thank You
-Given: 38
-Receive: 32



« Reply #3 on: February 10, 2012, 01:54:27 13:54 »

Hi, very useful project. Maybe I would use cheap controllers for driving  2 or 4 matrices, and someone  CORTEX with SPI or I2C to manage all.

regards.
Logged
zuisti
Senior Member
****
Offline Offline

Posts: 409

Thank You
-Given: 242
-Receive: 780


« Reply #4 on: February 19, 2012, 04:55:43 16:55 »

On request here is the full project (attached):

- all the Proton source
- a readme file to explain how to make an own animation
- a simple batch file to automatize the process (not the drawing :-)
- a simple console-only application to extract the BMP data bytes
   (written by me, it's using in the batch)

Just as many of my request is that if someone makes a nice animation (using this), you let us know.

zuisti
Logged
zuisti
Senior Member
****
Offline Offline

Posts: 409

Thank You
-Given: 242
-Receive: 780


« Reply #5 on: July 10, 2012, 11:51:53 11:51 »

zuisti's multi_lingual MMD, using my above circuit. A working Proteus project is attached.
Also a screenshot (how are displayed  the simplified Chinese chars).

For now only a rudimentary form, for example  rs232 control  is not possible yet Smiley .

I know, there are some character-picture errors (such as the gaps between them), but I have used the Windows Arial_MS_Unicode font without any changes. This font contains more than 38.000 characters ...

The wanted  texts are included in a unicode text file (with a few control character added), it can easily be rewritten (then recompile is needed, of course).
Logged
zuisti
Senior Member
****
Offline Offline

Posts: 409

Thank You
-Given: 242
-Receive: 780


« Reply #6 on: November 09, 2017, 08:28:23 20:28 »


zuisti's PIC18 MMD project, now with source files also (as I promised).
Tried in Proteus only. Read more (and see a picture) in the post #1 in this topic.
Greetings
Istvan (alias zuisti)
Logged
Pages: [1]
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