EcoModder.com

EcoModder.com (https://ecomodder.com/forum/)
-   OpenGauge / MPGuino FE computer (https://ecomodder.com/forum/opengauge-mpguino-fe-computer.html)
-   -   i2c LCD (https://ecomodder.com/forum/showthread.php/i2c-lcd-21687.html)

myd00m 04-29-2012 08:36 PM

i2c LCD
 
Hello guys.. does anyone have the mpguino code to work with i2c lcd instead of serial? it would be a great help for me..

Cheers
Fábio Eliseu

JellyBeanDriver 04-29-2012 10:25 PM

The MPGuino code is for a parallel LCD display, not serial.

What display do you want to use? Does it have a daughterboard that is doing the I2C to parallel conversion?

dewasha 07-16-2013 07:59 PM

i try to use 16x2 lcd with l2cd of ebay what code modify for work with l2c instead of parallel?

this: IIC/I2C/TWI/SPI Serial Interface Board Module Port For Arduino 1602 LCD Display | eBay


thanks

t vago 07-16-2013 08:40 PM

That's going to be a bit of work to write I2C code to replace the existing parallel LCD routines. You've got hardware coding to deal with, then you probably have protocol issues to address. Where is the specification sheet for this?

dewasha 07-17-2013 06:42 AM

IIC/I2C/TWI/SPI Serial Interface Board Module Port For Arduino 1602 LCD Display


LiquidCrystal_I2C1602V1

Description :

This is another great IIC/I2C/TWI/SPI Serial Interface. As the pin resources of Arduino controller is limited, your project may be not able to use normal LCD shield after connected with a certain quantity of sensors or SD card. However, with this I2C interface module, you will be able to realize data display via only 2 wires. If you already has I2C devices in your project, this LCD module actually cost no more resources at all. It is fantastic for Arduino based project.



Specification:

I2C Address: 0x27
Supply voltage: 5V
the backlight and contrast is adjusted by potentiometer
Come with 2 IIC interface, which can be connected by Dupont Line or IIC dedicated cable
Compatible for 1602 LCD

http://img841.imageshack.us/img841/2...15bluuuuue.jpg

nickdigger 07-20-2013 02:54 AM

Just use a parallel LCD. If you really want to use fewer pins, you can still convert your parallel LCD to serial, using a single inexpensive chip. It uses 5 pins total for the LCD, instead of 8, and the code library has already been posted on the web somewhere (very similar to the code in mpguino, so it's easy to update). More info at Arduino Playground - LCD3wires

dewasha 07-20-2013 04:38 PM

it is assumed that the chip is precisely for that to go from parallel to serial and therefore only uses 3 wires, the question is not the connection but the code to modify the obduino32k to work properly with a display connected serially with only 3-wire

nickdigger 07-20-2013 04:57 PM

I converted my mpguino to 3-wire, using the 74hc164. I haven't built an obduino32k, but i'll look at the code & see what I can do for you (and everyone else).

edit1: Ugh. It looks like all the LCD code is in the Arduino library, not directly in the obduino source. This may take a while. I'm surprised the Arduino folks didn't add a 3-wire option to the library code. It should be a popular option for people wanting to use extra lines for an SD card, or other inputs.

edit2: Looks like someone else already wrote a replacement LiquidCrystal library for Arduino, including your i2c. You should find all you need right here: https://bitbucket.org/fmalpartida/ne...stal/wiki/Home


All times are GMT -4. The time now is 11:09 PM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Content Relevant URLs by vBSEO 3.5.2
All content copyright EcoModder.com