Adafruit 292 I2C backpack for 20x4 LCD

See the next message.

1 Like

Please disregard my first post. I’m having trouble using existing nodes to operate a 20x4 LCD. It works with the Adafruit arduino IDE, but I’d rather use XOD. The decimal address is 112, 0x70. Please help. Do i need a new node generated?
image

1 Like

I’m not sure what the default is for addr. You can try explicitly using 112d or 70h

1 Like

with this patch you can scan the address cesars/i2c-scanner

1 Like

thank you. i’ll give it a try tomorrow.

1 Like

i ran the patch you suggested. When i run it in the debug mode the “watch” starts to count. When it gets to 119 it stops and displays a check mark. I though this was great the first time I ran it. I then reran this patch with nothing connected to the SCL and SDA lines. I got the same results. Do i need the 10K resistors on the SCL and SDA lines to 5V?

1 Like

the address of the watch should appear, up to 5 simultaneous i2c then it moves to the right.

Download the library again, remove the limitations, now it is from 0 to 127.

1 Like

the number on the left in decimal (72 = 48h) is the current scanned address, the central ones are detected addresses. On the right the clock :hourglass: marks scanning, if it finds a device it changes the icon :pager: , if not there was an error ends with :white_check_mark:

1 Like

I reloaded the scanner. Now that i understand how it works,I confirmed the result correspond with the results i was getting with Arduino IDE scanner. Thank you.

image

0x20 = 32 decimal

image

Why doesn’t the LCD work? It works with Arduino IDE.

Is anyone else experiencing this problem with the Adafruit 292 backpack for LCDs? Does the Adafruit 292 require a unique node that incorporates Adafruits Liquid Crystal Library for the 292 I2C backpack? I’ve been able to operate this LCD/backpack using Arduino IDE but not with XOD. I’d prefer to use XOD. Please help!

I think it won’t work because you need a node based on the following arduino library

https://github.com/adafruit/LiquidCrystal/archive/master.zip

How difficult would it be to retrofit that Adafruit Lib with an existing LCD node to generate a new node? I would like to use XOD on this project, but I will need an LCD. Is there a flow chart outlining the steps necessary to correctly accomplish this retrofit?

The easiest thing would be to use another compatible display, adapt some libraries but it is not always easy to achieve a result.
Can see adapted libraries and if you know how to program in C ++, can make it work.

https://xod.io/docs/

https://xod.io/docs/guide/nodes-for-xod-in-cpp/

More specific reference for wrapping libraries: https://xod.io/docs/guide/wrapping-arduino-libraries/

I will be purchasing another 2004 LCD and I2C backpack. Witch one do you recommend that is compatible with XOD.

The LCD to I2C adapter module that we will use is based on the I2C controller PCF8574, I do not recommend separately, because some LCDs have a different initialization, and it is not compatible with the xod library.

I had this problem.

Do you have a preferred source for this PCF8574 with the 2004 LCD?

Preferred no, but here is an example