![]() |
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
|
RE: PROGRAM KC868 A16 DI, DO AND LIQUID CRYSTAL FROM ARDUINO IDE - Cesarcardca - 02-04-2025 (01-31-2025, 11:53 PM)admin Wrote: after china new year holidays, will test it then feedback to you. I think that's great. Happy New Year and I appreciate your kind attention. Best regards. RE: PROGRAM KC868 A16 DI, DO AND LIQUID CRYSTAL FROM ARDUINO IDE - andrecaetano - 02-05-2025 (01-27-2025, 05:43 PM)Cesarcardca Wrote: 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. Just add this code to your code for input/output controls. Code: #include <Wire.h> If you don't know the address of your display's I2C adapter, try finding it with the code below. Most use address 0x3F or 0x27. Code: #include <Wire.h> RE: PROGRAM KC868 A16 DI, DO AND LIQUID CRYSTAL FROM ARDUINO IDE - admin - 02-06-2025 (01-31-2025, 05:50 PM)Cesarcardca Wrote:(01-31-2025, 07:42 AM)admin Wrote: because you have not define the i2c bus SDA and SCL pin for ESP32. do you have tested with our demo source code? https://www.kincony.com/forum/showthread.php?tid=1620 RE: PROGRAM KC868 A16 DI, DO AND LIQUID CRYSTAL FROM ARDUINO IDE - Cesarcardca - 02-08-2025 I already managed to use inputs and outputs and the 20x4 LCD. thank you so much. I just need to know how to connect a GPIO input with attachInterrupt. can you help me please? RE: PROGRAM KC868 A16 DI, DO AND LIQUID CRYSTAL FROM ARDUINO IDE - admin - 02-09-2025 KC868-A16 not need to use Interrupt pin for PCF8574, pull is enough for read input state. RE: PROGRAM KC868 A16 DI, DO AND LIQUID CRYSTAL FROM ARDUINO IDE - Cesarcardca - 02-09-2025 (02-09-2025, 02:46 AM)admin Wrote: KC868-A16 not need to use Interrupt pin for PCF8574, pull is enough for read input state. I know, But I need the program to be interrupted at the point that is right at the moment when the interruption occurs. That means it must be directly from the GPIO. RE: PROGRAM KC868 A16 DI, DO AND LIQUID CRYSTAL FROM ARDUINO IDE - admin - 02-09-2025 you need to solder the PCF8574 INT pin to ESP32 one free GPIO. RE: PROGRAM KC868 A16 DI, DO AND LIQUID CRYSTAL FROM ARDUINO IDE - Cesarcardca - 02-18-2025 (02-09-2025, 04:16 AM)admin Wrote: you need to solder the PCF8574 INT pin to ESP32 one free GPIO. Hello, I have been researching to be able to use a gpio as an interrupt and I see that the 433M_T pin goes directly from the stm32 IO15 to the Header 3 p7, I can use that pin since I do not need the RF circuits and by placing a pull down resistor I can obtain an interrupt in my Arduino code. RE: PROGRAM KC868 A16 DI, DO AND LIQUID CRYSTAL FROM ARDUINO IDE - admin - 02-18-2025 it's ok use by 433M send Pin. |