Go Down

Topic: is there another way to connect to a 4 line lcd? to reduce connections (Read 885 times) previous topic - next topic

jonisonvespaa

Dec 18, 2012, 10:45 am Last Edit: Dec 18, 2012, 10:50 am by jonisonvespa Reason: 1
hi,

im using a 4 line lcd for a project using the usual configuration / connection 6 pins.

im just wondering if there is another way to connect to the lcd  to reduce the amount of pins, as i need more pins.

fm

Shift registers (1,2 and 3 wire config), I2C and SPI. They all need additional electronics.
   

Khalid

I am using 3-wire successfully. You have to make a custom PCB in your home. PCB circuit given here:
http://code.google.com/p/arduinoshiftreglcd/
You can use latest LCD library included in Arduino 1.0.1 from great 'fm' :smiley-mr-green: furthermore, add a good menu in your project and use
http://arduino.cc/forum/index.php/topic,99693.0.html
this will save some more pins...
Simply...You can't afford me..

Author Of:
http://my-woodcarving.blogspot.com/
http://www.free3dscans.blogspot.com/
http://my-diysolarwind.blogspot.com/

Oops..some one gave me Karma...:)

jonisonvespaa

thanks i found this one  looks ideal and frees up 4 pins

thank you

Khalid

Simply...You can't afford me..

Author Of:
http://my-woodcarving.blogspot.com/
http://www.free3dscans.blogspot.com/
http://my-diysolarwind.blogspot.com/

Oops..some one gave me Karma...:)

dhenry

1) Use a serial interface: uart, spi, i2c, etc.
2) Use a shift register: hc164 or hc595. I typically use a 3-wire interface.
3) Use rc networks to further reduce the number of lines: I think wrote a test piece a while ago reducing it down 1 line. But 2 lines are fairly doable, with no appreciable degradation in speed / performance.

Riva

Fit a serial backpack like this one http://www.hobbytronics.co.uk/i2clcd-backpack-v2 and you can reduce the I/O pin count to 1 if you use it as serial RX pin.
I might seem like an idiot but remember it takes one to know one.
Forum user generally fall into three categories (the good, the bad & the a**hole) what category do you fit in?

jonisonvespaa

thanks for the help, due to cost i intend using a 74HC595 Shift register

just wondering about the lcd library will it work using the standard library?

thanks

dc42

Or use a 128x64 graphic lcd that uses the ST7920 controller instead of a character lcd, then you need only 2 pins to control it, and you get nicer text too.
Formal verification of safety-critical software, software development, and electronic design and prototyping. See http://www.eschertech.com. Please do not ask for unpaid help via PM, use the forum.

Khalid


thanks for the help, due to cost i intend using a 74HC595 Shift register

just wondering about the lcd library will it work using the standard library?

thanks

yes
Simply...You can't afford me..

Author Of:
http://my-woodcarving.blogspot.com/
http://www.free3dscans.blogspot.com/
http://my-diysolarwind.blogspot.com/

Oops..some one gave me Karma...:)

Go Up
 


Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

Arduino
via Egeo 16
Torino, 10131
Italy