ESP32-Based Environmental and Magnetic Field Monitoring System with OLED Display
View and Edit Project In Cirkit Designer
Circuit Documentation
Summary
The circuit in question is designed around the ESP32-WROOM-32UE microcontroller and includes a variety of sensors and output devices. The sensors include two Hall effect sensors for detecting magnetic fields and a DHT11 sensor for measuring temperature and humidity. An OLED display provides a user interface, and a buzzer is included for audible alerts. The circuit is powered by a 3.3V supply, which is distributed to the various components. The ESP32 microcontroller interfaces with the sensors and the OLED display to process and present data, and controls the buzzer.
Component List
ESP32-WROOM-32UE
- Description: A powerful microcontroller with Wi-Fi and Bluetooth capabilities.
- Pins: 3v3, EN, VP, VN, 34, 35, 32, 33, 25, 26, 27, 14, 12, GND, 13, D2, D3, 5V, 23, 22, TX, RX, 21, 19, 18, 5, 17, 16, 4, 0, 2, 15, D1, D0, CKL
DHT11
- Description: A digital temperature and humidity sensor.
- Pins: DATA, GND, VCC
Hall sensor (magnetic)
- Description: A sensor that detects magnetic fields and outputs a digital or analog signal.
- Pins: VCC (5V), GND, D0 (Digital), A0 (Analog)
OLED 1.3"
- Description: A small OLED display for visual output.
- Pins: GND, VCC, SCL, SDA
Buzzer
- Description: An electronic buzzer for audible alerts.
- Pins: PIN, GND
Wiring Details
ESP32-WROOM-32UE
- 3v3 connected to DHT11 VCC, both Hall sensors VCC (5V), and OLED VCC
- GND connected to DHT11 GND, both Hall sensors GND, OLED GND, and buzzer GND
- Pin 26 connected to DHT11 DATA
- Pin 13 connected to one Hall sensor D0 (Digital)
- Pin 22 connected to OLED SCL
- Pin 21 connected to OLED SDA
- Pin 2 connected to buzzer PIN
- Pin 15 connected to the other Hall sensor D0 (Digital)
DHT11
- DATA connected to ESP32-WROOM-32UE Pin 26
- GND connected to ESP32-WROOM-32UE GND
- VCC connected to ESP32-WROOM-32UE 3v3
Hall sensor (magnetic)
- VCC (5V) connected to ESP32-WROOM-32UE 3v3
- GND connected to ESP32-WROOM-32UE GND
- D0 (Digital) connected to ESP32-WROOM-32UE Pin 13 or Pin 15 (two instances)
OLED 1.3"
- GND connected to ESP32-WROOM-32UE GND
- VCC connected to ESP32-WROOM-32UE 3v3
- SCL connected to ESP32-WROOM-32UE Pin 22
- SDA connected to ESP32-WROOM-32UE Pin 21
Buzzer
- PIN connected to ESP32-WROOM-32UE Pin 2
- GND connected to ESP32-WROOM-32UE GND
Documented Code
No code was provided for the microcontroller. The documentation of the code would typically include a description of the functionality, setup and loop functions, and any functions or libraries used to interface with the components. Since no code is available, this section cannot be completed. If code becomes available, it should be added here with appropriate comments and explanations.