Skip to content

this example file implements a esp32 as master that can communicate with another esp32 (as slave)

License

Notifications You must be signed in to change notification settings

juri117/esp32-i2c-master

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

esp32 i2c master example

this example file implements a esp32 as master that can communicate with another esp32 (as slave)

HW setup

ESP32 master:

  • SDA: GPIO 18
  • SCL: GPIO 19
  • GND

wired to ESP32 slave:

  • SDA: GPIO 21
  • SCL: GPIO 22
  • GND

NOTE: it turned out to be very important to connect GND of both esp32 (just connecting them via USB to the same Computer is not enough!)

Find the code for the slave here.

About

this example file implements a esp32 as master that can communicate with another esp32 (as slave)

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published