loading

This is my first project on Instructables. I know that this project you can find anywhere, but I want to introduce it because I created a program with which you can communicate with displays.

The program is called liShowLCD and it's opensurce

Also the software to run, you need to. NET Framework 4.0.3

Advantage of software is that you can print real-time text on the LCD's


All you need is:
-Arduino (uno in my case)
-LCD: 8x2 or 16x2 or 16x4 or 20x4 (16x2 in my case. i have not tried with 8x2 , 16x4 and 20x4)
- 10k pot

The connection is like in picture.

Now, all you have to do is to upload the code:

// autor: Florea Alexandru


#include
LiquidCrystal lcd(12, 11, 5, 4, 3, 2);
int state=0;
void setup(){

lcd.begin(16, 2);

Serial.begin(9600);
lcd.clear();
}

void loop()
{

if (Serial.available()) {

state = Serial.read();
switch(state)
{
case ’1′:

lcd.setCursor(0, 0);
lcd.print(” “) //
20 free characters in quotation marks (space)
delay(100);
lcd.setCursor(0, 0);

while (Serial.available() > 0) {
lcd.write(Serial.read());
}
break;

case ’2′:

lcd.setCursor(0, 1);
lcd.print(” “)//
20 free characters in quotation marks (space)
delay(100);
lcd.setCursor(0, 1);

while (Serial.available() > 0) {
lcd.write(Serial.read());
}
break;

case ’3′:

lcd.setCursor(0, 2);

lcd.print(” “)//
20 free characters in quotation marks (space)
delay(100);
lcd.setCursor(0, 2);
while (Serial.available() > 0) {
lcd.write(Serial.read());
}
break;

case ’4′:

lcd.setCursor(0, 3);

lcd.print(” “)//
20 free characters in quotation marks (space)
delay(100);
lcd.setCursor(0, 3);
while (Serial.available() > 0) {
lcd.write(Serial.read());
}
break;
case ’5′:
lcd.clear();
}
}
}

// end code

Sorry for my English





<p>Your English wasn't bad. Brief, but not bad. </p><p>Feel free to make use of free online <a href="">translations</a>, as it'll allow you to elaborate further and explain the advantages of your LCD display software.</p>
<p>the advantage is that you can print real-time text. and thanks for the encouragement</p>

About This Instructable

1,715views

38favorites

License:

More by Tezeusz:BRAILLE PRINTER Lamp with bulb LCD 16x2, arduino and special software (liShowLCD) 
Add instructable to: