ESP32-CAM I2Cpin

climbw14769
Posts: 1
Joined: Fri Jul 03, 2020 6:11 am

ESP32-CAM I2Cpin

Postby climbw14769 » Fri Jul 03, 2020 6:16 am

hello everyone,this is my first time to ask a question,i am sorry for my bad English :| :|
I am creating a project using ESP32-Cam and I2C sensor module(GY-91/MAX30100 etc.)
but all I2C pin is used for other module
I check the esp32 based library
https://github.com/espressif/arduino-es ... -hal-i2c.h
https://github.com/espressif/arduino-es ... -hal-i2c.c

I find a function for change the i2c IO pin,but i can't do it,any one can help me or give me some example code? :|

Thank you everyone

Agree007
Posts: 70
Joined: Mon Sep 18, 2017 7:11 pm
Location: Copenhagen

Re: ESP32-CAM I2Cpin

Postby Agree007 » Wed Jul 08, 2020 11:37 am

You can find many examples showing how to use custom selected pind for I2C.

On esp32 cam it will depend on if using sd card or not , but look here for more information:

https://randomnerdtutorials.com/esp32-c ... er-pinout/

Who is online

Users browsing this forum: markoseph1496 and 8 guests