bgoodwine / SeniorDesign

Code for Senior Design II
0 stars 1 forks source link

I2C communication between Pi 4 & ESP32 #2

Closed bgoodwine closed 1 year ago

bgoodwine commented 1 year ago

Establishing I2C connection

Arduino Wire library Arduino twi library that Wire uses I2C Python SMBUS Doc

LED blinking tutorial

Connect GPIO2 on Pi 4 to 22 on ESP32 (SDA) Connect GPIO3 on Pi 4 to 21 on ESP32 (SDL)

I2C tools:

bgoodwine commented 1 year ago

Protocol

bgoodwine commented 1 year ago

Protocol Draft 1

Pi initial requests:

ESP32 response to general checkin:

ESP32 response to IMU data:

ESP32 data relay: