# Module i2c PCF8574A + LCD 16x2

**URL:** <https://forum.xod.io/t/module-i2c-pcf8574a-lcd-16x2/1271>\
**Category:** Uncategorized\
**Created:** [October 26, 2018, 12:31am UTC](https://forum.xod.io/t/module-i2c-pcf8574a-lcd-16x2/1271 "2018-10-26T00:31:55Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![cesars](https://avatars.discourse-cdn.com/v4/letter/c/f05b48/32.png) [@cesars](https://forum.xod.io/u/cesars)\
**Post date:** [October 26, 2018, 12:31am UTC](https://forum.xod.io/t/module-i2c-pcf8574a-lcd-16x2/1271/1 "2018-10-26T00:31:55Z")

</div>

I have a PCF8574A module with a 16x2 LCD ( **CCM1620CSLS2** ), after several attempts without working, I measured the pin configuration and I see use P4 P5 P6 P7 for data, as seen in several examples that use P0 P1 P2 P3.

Parallel LCD works

With the gweimer / lcd-i2c-init library, it only works backligth

with the XOD node nothing

---

<div class="post-metadata">

**Author:** ![gweimer](https://avatars.discourse-cdn.com/v4/letter/g/a9adbd/32.png) [@gweimer](https://forum.xod.io/u/gweimer)\
**Post date:** [October 26, 2018, 3:23pm UTC](https://forum.xod.io/t/module-i2c-pcf8574a-lcd-16x2/1271/2 "2018-10-26T15:23:20Z")

</div>

That’s odd…gweimer library doesn’t do anything that XOD node doesn’t…it just provides opportunity to NOT do some of the functionality. If you set INIT to false, the backlight may just be defaulting to on & XOD node is doing a reset that turns it off.

P0-P7 are all used for data between PCF8574A & LCD. Are you sure data & clock pins for I2C are configured correctly and not swapped? Are you using the correct address (looks like 38h = 56d if you tie A0, A1, and A2 to ground; 3Fh = 63d if A0-A2 are tied to Vcc)?

---

<div class="post-metadata">

**Author:** ![cesars](https://avatars.discourse-cdn.com/v4/letter/c/f05b48/32.png) [@cesars](https://forum.xod.io/u/cesars)\
**Post date:** [October 27, 2018, 1:55pm UTC](https://forum.xod.io/t/module-i2c-pcf8574a-lcd-16x2/1271/3 "2018-10-27T13:55:33Z")

</div>

I will buy an LCD i2c, this combo will be for other experiments, the address is 3Fh.  
First I thought it could be for a 1 in EN, but it was not that

thanks
