Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
KC868-A32 I2C communication with arduino
#1
I've purchased a KC868-A32 module and its functionallity is as expected.

I try to implement an I2C communication between the KC868-A32 module and an arduino device in order to control PWD IOs of the arduino through the KC868-A32 module (i.e. through Home assistant).

Could you please provide some instructions or an example on the code for the arduino device?

Thank you in advance
SSO
Reply
#2
i don't suggest to control by i2c. you can use by RS485 connect to other device.
if you MUST want use by i2c. OK, just add your i2c device driver into arduino main program code.
Reply
#3
(07-24-2024, 09:58 PM)admin Wrote: i don't suggest to control by i2c. you can use by RS485 connect to other device.
if you MUST want use by i2c. OK, just add your i2c device driver into arduino main program code.

Thank you for your reply.
May I have the correct tx / rx for UART of the KC868-A32 module?

uart:
  baud_rate: 9600
  debug:
    direction: BOTH
    dummy_receiver: true
    after:
      timeout: 10ms
  tx_pin: XX
  rx_pin: XX


Tks a lot
SSO
Reply
#4
Extend serial port on PCB (3.3v level):
RXD:GPIO33
TXD:GPIO32
Reply


Forum Jump:


Users browsing this thread:
1 Guest(s)