Customer:
Continuing on the I2C LCD topic. The LCD definitely doesn’t work in MicroPython, though I’m not entirely sure why.
The ESP32 sees it at address 0x20 but communication doesn’t work.
The I2C scan shows: [32, 48] (48 is your relay which works fine via EasyC)
Error: Error communicating with LCD at 0x20. Error: [Errno 19] ENODEV
It’s not the drivers - yesterday I went to get another display and it’s the same chip: PCF8574, just like you said ours uses. It worked right away.
I even wrote my own driver based on your suggestions and everything works fine.
I can provide you with the drivers and test scripts if you want to try them, but unfortunately I think there’s definitely a problem with the I2C chip on our display.
Original message (Croatian)
nastavno na temu i2c lcd-a.
Definitivno LCD ne radi u micropythonu.
Zašto? Nisam ni sam još siguran.
Uglavnom ESP32 njega vidi na 0x20 ali komunikacija ne radi.
[32, 48] (48
je Vaš relay koji radi normalno preko easyC)
Error communicating with LCD at 0x20. Error: [Errno 19] ENODEV
Problem nije u driverima jer sam jućer otišao u Chipoteku po drugi display
Srećom radi se o istom chipu PCF8574 kao što se mi rekli da se radi I o Vašem.
proradio je iz prve.
čak sam napravio I svoj driver od prijedloga koji sam dobio od Vas, isto sve radi normalno.
Mogu Vam dostaviti drivere I testne skripte ako želite isprobavati, ali nažalost mislim da je definitivno
neki problem u I2C chipu.
Attachment omitted in migration: image002.png
Attachment omitted in migration: image001.png
Attachment omitted in migration: image003.png