How to Find I2C Address of Any Sensor with ESP32 | I2C Scanner Tutorial | Bangla

Опубликовано: 25 Июль 2026
на канале: IoT Bhai
335
5

In this video, I show you how to find the I2C address of any sensor or display using an ESP32. If your OLED display, temperature sensor, or compass isn't working, it might be because you are using the wrong Hex Address (e.g., 0x3C vs 0x3D).
I demonstrate this using an I2C Scanner Code that scans the SDA and SCL pins and prints the active devices to the Serial Monitor.

** Tested Devices in Video **
1. OLED Display (0.96") - Address found: 0x3C
2. SHT21 (Temperature/Humidity) - Address found: 0x40
3. MAX17043 (Battery Monitor) - Address found: 0x36
4. Compass Sensor - Address found: 0x0D

** Video Timestamps: **
[00:00] - Introduction to I2C Scanning
[00:45] - Connecting the Sensors (SDA/SCL)
[02:00] - Wiring Explanation (VCC/GND)
[02:50] - Uploading the I2C Scanner Code
[03:50] - Testing SHT21 Sensor
[05:30] - Testing OLED Display & Results
[06:30] - Final Summary

Code Link -
https://github.com/ittipu/IoT_lab_You...

Don't forget to like, share, and subscribe for more IoT and ESP32 tutorials!

#esp32 #i2c #arduinoproject #electronics #embeddedsystems #banglatutorial #iot #SHT21 #oled