I NEED PROGRAM KC868 A16 DI, DO AND LIQUID CRYSTAL I2C FROM ARDUINO IDE. Or if your recommendation is through esphome, I could also try it, I need the syntax, or the devices for inputs and outputs so I can manipulate my program since I also need to interrupt a sensor.
(01-28-2025, 12:01 AM)admin Wrote: KC868-A16 all arduino demo source code on the forum, you can test with our demo source code.
Continuing with the goal of using my KC868 A16 board on Arduino IDE to control water pumps, quick interruption sensors and a 20x4 LCD screen, I managed to compile and upload the first code to the board even though red letters appear.
Once compiled and loaded, 2 outputs are supposed to turn on and off every second but it does nothing.
01-31-2025, 01:14 AM (This post was last modified: 01-31-2025, 01:58 AM by Cesarcardca.)
(01-31-2025, 12:30 AM)admin Wrote: see this photo, you have not connect with Vin RED cable.
I already did it but they still don't turn on, I searched for i2c devices and they couldn't be found. How can I solve it? It seems strange to me that the letters appear in red.
(01-31-2025, 01:14 AM)Cesarcardca Wrote:
(01-31-2025, 12:30 AM)admin Wrote: see this photo, you have not connect with Vin RED cable.
I already did it but they still don't turn on, I searched for i2c devices and they couldn't be found. How can I solve it? It seems strange to me that the letters appear in red.
(01-31-2025, 07:42 AM)admin Wrote: because you have not define the i2c bus SDA and SCL pin for ESP32.
these instructions are supposed to be for that. i got it from the Di and DO example on the forum.
PCF8574 pcf8574_1 (0x22, 4, 5) and
PCF8574 pcf8574_2(0x21, 4, 5) is for inputs. right?
is that what you mean?