x728 icon indicating copy to clipboard operation
x728 copied to clipboard

I2C with arduino

Open Maigre opened this issue 3 years ago • 0 comments

Hi, i am trying to get the battery level via I2C using an external Arduino (ESP32 chip) instead of the RaspberryPi, since his I2C port is already fully reserved by an HifiBerry hat.

I can't communicate with I2C between Arduino/ESP32 and X728, I connected PIN3 to SDA, and PIN5 to SCL, and a common GND.

But the X728 is not detected by the ESP32 at any address (i try to scan all addresses using this script: https://playground.arduino.cc/Main/I2cScanner/ )

The Arduino/ESP32 board uses a 3.3V logic level (like the raspberry pi), and works well with other i2c sensors.

Am i doing something wrong ? I tried with both board x728 v1.2 and v1.3

Thanks for your help ! Best,

Maigre avatar Jun 29 '21 15:06 Maigre