Hello everyone, I’m completely new to using NCDIO devices and serial communication. Therefore, I need some assistance.
I’m trying to detect devices ( AD5254 Digital Potentiometer over I2C using a serial-to-I2C converter) on the I2C bus using Python (I can do it via AnyI2C GUI application), specifically I want to see if devices with addresses 0x2C and 0x2D are connected. Once detected, I want to send a reset command to the devices. Could you guide me through the process?
I’m opening the COM port and would like to know the correct procedure to detect these devices and send a reset command using Python.
I tried using pyserial library and i can open the port but maybe I am missing the proper syntax to send and read the information over the port.
Reference pages:
I am using 2 of these devices and I2C converter:
Serial to I2C Conversion - NCD USART to I2C Converter Protocol
Thank you!