PROGRAM KC868 A16 DI, DO AND LIQUID CRYSTAL FROM ARDUINO IDE - Printable Version +- Smart Home Automation Forum (https://www.kincony.com/forum) +-- Forum: Technical Support (https://www.kincony.com/forum/forumdisplay.php?fid=20) +--- Forum: KC868-A16 (https://www.kincony.com/forum/forumdisplay.php?fid=25) +--- Thread: PROGRAM KC868 A16 DI, DO AND LIQUID CRYSTAL FROM ARDUINO IDE (/showthread.php?tid=7490) Pages:
1
2
|
PROGRAM KC868 A16 DI, DO AND LIQUID CRYSTAL FROM ARDUINO IDE - Cesarcardca - 01-27-2025 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. RE: PROGRAM KC868 A16 DI, DO AND LIQUID CRYSTAL FROM ARDUINO IDE - admin - 01-28-2025 KC868-A16 all arduino demo source code on the forum, you can test with our demo source code. RE: PROGRAM KC868 A16 DI, DO AND LIQUID CRYSTAL FROM ARDUINO IDE - Cesarcardca - 01-28-2025 (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. Ok, I found the source code. but I get an error when trying to add the 20x4 LCD RE: PROGRAM KC868 A16 DI, DO AND LIQUID CRYSTAL FROM ARDUINO IDE - Cesarcardca - 01-29-2025 I was able to solve it. It was lost from the wire.h library folder, this should be in the arduino folder RE: PROGRAM KC868 A16 DI, DO AND LIQUID CRYSTAL FROM ARDUINO IDE - Cesarcardca - 01-30-2025 (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. RE: PROGRAM KC868 A16 DI, DO AND LIQUID CRYSTAL FROM ARDUINO IDE - admin - 01-31-2025 see this photo, you have not connect with Vin RED cable. RE: PROGRAM KC868 A16 DI, DO AND LIQUID CRYSTAL FROM ARDUINO IDE - Cesarcardca - 01-31-2025 (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. this is another test RE: PROGRAM KC868 A16 DI, DO AND LIQUID CRYSTAL FROM ARDUINO IDE - admin - 01-31-2025 because you have not define the i2c bus SDA and SCL pin for ESP32. RE: PROGRAM KC868 A16 DI, DO AND LIQUID CRYSTAL FROM ARDUINO IDE - Cesarcardca - 01-31-2025 (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? RE: PROGRAM KC868 A16 DI, DO AND LIQUID CRYSTAL FROM ARDUINO IDE - admin - 01-31-2025 after china new year holidays, will test it then feedback to you. |