I’m trying to connect the openMV to an Atmega 328 using I2C. Every time I try to send, I get an ETIMEDOUT error.
Does that mean that the openMV didn’t receive an ACK?
i2c = I2C(2) # The i2c bus must always be 2. i2c.init(I2C.MASTER, baudrate=400000) # init as a master time.sleep(2000) print("begin") while(True): print("scanning") #slaves = i2c.scan() #print(slaves) i2c.send('1',0x0A) time.sleep(5000)
Note: I’m using the following I2C logic Level Shifter https://www.electronicgeek.ca/products/iic-i2c-logic-level-converter-bi-directional-module-5v-to-3-3v-for-arduino
And, made sure that the proper SDA and SCL are connected