Hello!
please can you help me with this question:
I use the ESP32 as accesspoint with
DHT22 / SD-Card / several DS18B20
and want to ad now a RTC3231 clock.
(DS18B20 and RTC3231 use I2C)
Is this generally possible?
So long as you can set an I2C address for each and every module on the bus then yes, it is generally possible.
Hi.
As Steve mentioned, it is possible to use the same I2C pins as long as the modules have different I2C addresses. (usually they have).
To make things more clear, I recommend taking a look at this tutorial: https://randomnerdtutorials.com/esp32-i2c-communication-arduino-ide/
I hope this helps.
Regards,
Sara
Thank you Sara Santos and Steve Mercer!
Sry, but I was not specific enough… I try to combine
„multiple DS18B20“
https://randomnerdtutorials.com/esp32-multiple-ds18b20-temperature-sensors/
and „data-logging“
https://randomnerdtutorials.com/esp32-data-logging-temperature-to-microsd-card/
in one Programm and dont know who it works…
Maby you can help me!
Thank you very much!
Hi.
I was looking at your question again and the DS18B20 sensors that I have use onewire protocol and not I2C. Is that the same with yours?
We don’t have any tutorial combining both projects.
I suggest that you try combining both projects the best you can, and then come up with more specific questions. I’ll be happy to help you, but I can’t build the code for you.
Regards,
Sara