Click here to Skip to main content
Click here to Skip to main content

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 -->


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))
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:

Enjoy! Enjoy!


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


About the Author


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

Comments and Discussions

QuestionMore detail? PinmemberJoel Holdsworth19-Jun-04 10:22 
How about some photo's of the LCD in action? or a circuit diagram or two? Show us how the communication with the parallel port works! Also make sure you put your code in <pre> tags. If you do this kind of thing you will be well on to a 5 star article... just like this one[^]!
Joel Holdsworth
Wanna give me a job over the summer?
View my online CV and Job Application[^]
Generalintroduce, explain PinmemberEllery18-Jun-04 15: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 | Terms of Use | Mobile
Web01 | 2.8.150224.1 | Last Updated 18 Jun 2004
Article Copyright 2004 by Mamad876
Everything else Copyright © CodeProject, 1999-2015
Layout: fixed | fluid