Click here to Skip to main content
Click here to Skip to main content
Go to top

Crystall Motion

, 17 Jun 2004
Rate this:
Please Sign up or sign in to vote.
Control LCD connected to parallel port
<!-- Download Links --> <!-- Article image -->

Sample Image - CrystallMotion.gif

<!-- Add the rest of your HTML here -->

Introduction

this aricle uses:
1. Comunicating with parallel port
2. Serialization using binary and soap
3. DLL working
4. Dynamic Arrays
5. GUI
6. String Parsing.
7. System DateTime
8. Win_32 Classes (Win32_Processor, Win32_OperatingSystem, Win32_LogicalDisk, ...)

It uses the inpout32.dll to send data to parallel port.
This project has two sections first is lcd_Class. this class Parse any string that given to its properties and other values such as scrolling and wips and...
then send them to LCD.
This class can used with 1x8 .... 2x40 LCDs.

IT also can show you the system free and total memory, free and total space on each hadrdrive partition,
date and time in any formats, os version and name, cpu speed and manufacturer,
and can caculate the percent of given nembers (ex. percent free mem or hard drive) and show that in a prgress bar on your LCD.

for example if u send this string to the class:
Free space on C: $FREESPACE(C) ($FREESPACE%(C))
Free memory: $FREEMEMORY() (%PERCENT($FREEMEMORY(),$TOTALMEMORY())
LCD Shows:
Free space on C: 1.7GB (12%)
Free memory 246MB (45%)

Second is Gui and user interface, at this time this only designed for 2x16 LCDs but simply can cheanged to use with other models.
This part using Serialization to save lcd_Data in two forms Binary and Soap.
It also used bitwise operands to check witch line must be scroll for example.

If u want some information to build your own LCD. It's very simple with a little knowledge about electronics.

See this pages for wirings:
http://www.icehw.net
or
http://www.ocinside.de

Enjoy! Enjoy!

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here

Share

About the Author

Mamad876

Iran (Islamic Republic Of) Iran (Islamic Republic Of)
No Biography provided

Comments and Discussions

 
QuestionMore detail? PinmemberJoel Holdsworth19-Jun-04 9:22 
Generalintroduce, explain PinmemberEllery18-Jun-04 14:46 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

| Advertise | Privacy | Mobile
Web02 | 2.8.140916.1 | Last Updated 18 Jun 2004
Article Copyright 2004 by Mamad876
Everything else Copyright © CodeProject, 1999-2014
Terms of Service
Layout: fixed | fluid