Skip to content

ESP32-WROOM-32 I2C Slave Mode #4379

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
nedimkivanc opened this issue Oct 1, 2020 · 6 comments
Closed

ESP32-WROOM-32 I2C Slave Mode #4379

nedimkivanc opened this issue Oct 1, 2020 · 6 comments

Comments

@nedimkivanc
Copy link

I noticed that esp32 is not in the library for i2c slave mode, is there a work for it?

@vigneshtg
Copy link

I'm also facing the problem of I2C with ESP32S2, when interfaced with sensor, nothing is displayed on Serial Monitor. Please help out.

@nedimkivanc
Copy link
Author

I'm also facing the problem of I2C with ESP32S2, when interfaced with sensor, nothing is displayed on Serial Monitor. Please help out.

This works well if you are using the i2c as a master

@vigneshtg
Copy link

I'm also facing the problem of I2C with ESP32S2, when interfaced with sensor, nothing is displayed on Serial Monitor. Please help out.

This works well if you are using the i2c as a master

I'm trying to connect ESP32-S2(ESP32-S2-Saola-1 Board) with MLX90614 via I2C interface and have connected SDA to PIN8 and SCL to PIN9 of ESP32-S2. But the problem is nothing is displaying on Serial Monitor. Now, how do I use I2C Master for interfacing ESP32-S2 with MLX90614?

@nedimkivanc
Copy link
Author

I'm also facing the problem of I2C with ESP32S2, when interfaced with sensor, nothing is displayed on Serial Monitor. Please help out.

This works well if you are using the i2c as a master

I'm trying to connect ESP32-S2(ESP32-S2-Saola-1 Board) with MLX90614 via I2C interface and have connected SDA to PIN8 and SCL to PIN9 of ESP32-S2. But the problem is nothing is displaying on Serial Monitor. Now, how do I use I2C Master for interfacing ESP32-S2 with MLX90614?

VIN -> 3.3v
GND -> GND
SCL -> 22
SDA -> 21

You can make pin connections this way and it will be useful for you to use Adafruit_MLX90614 library.

@atanisoft
Copy link
Collaborator

@nedimkivanc pins 8 and 9 are the default for the ESP32-S2. Pin 22 is not usable on the ESP32-S2 btw.

@vigneshtg I'd suggest keep the MLX90614 discussion in #4375 since you are not using the ESP32-S2 as an I2C Slave device.

@nedimkivanc nedimkivanc changed the title ESP32-S2 I2C Slave Mode ESP32-WROOM-32 I2C Slave Mode Oct 1, 2020
@nedimkivanc
Copy link
Author

@nedimkivanc pins 8 and 9 are the default for the ESP32-S2. Pin 22 is not usable on the ESP32-S2 btw.

@vigneshtg I'd suggest keep the MLX90614 discussion in #4375 since you are not using the ESP32-S2 as an I2C Slave device.

Thanks for the warning I noticed I typed the model wrong and fixed it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants