Cirkit Designer Logo
Cirkit Designer
Your all-in-one circuit design IDE
Home / 
Project Documentation

ESP32-Based Multi-Sensor Monitoring System with Bluetooth and Camera Integration

Image of ESP32-Based Multi-Sensor Monitoring System with Bluetooth and Camera Integration

Circuit Documentation

Summary

This circuit integrates a variety of components including microcontrollers, sensors, a camera module, a Bluetooth module, a servo motor, and user interface elements like a potentiometer and a rotary encoder. The primary microcontrollers in use are the ESP32 (30 pin) and the Mtiny ESP32 WROVER-IE, which handle the main processing tasks and interface with the other components. The MAX30102 sensor is used for biometric monitoring, while the OV7725 camera module captures visual data. The HC-05 Bluetooth module enables wireless communication, and the Tower Pro SG90 servo is controlled to perform mechanical movements. User inputs can be provided through the potentiometer and rotary encoder, and the capacitive sensor detects touch or proximity.

Component List

ESP32 (30 pin)

  • A 30-pin microcontroller with a variety of digital and analog I/O pins, ground, power, and enable pins.

Mtiny ESP32 WROVER-IE

  • A compact microcontroller module with digital I/O, ground, power, and communication pins.

Potentiometer

  • A three-terminal resistor with an adjustable voltage divider.

OV7725

  • A camera module with digital video port, control interface, and power pins.

HC-05 Bluetooth Module

  • A wireless communication module with TX/RX pins, power, and ground.

Tower Pro SG90 servo

  • A small and lightweight servo motor with control signal, power, and ground connections.

MAX30102

  • A pulse oximetry and heart-rate sensor module with I2C communication interface.

Rotary Encoder

  • An input device that provides rotational position feedback with digital pins for quadrature encoding and a switch.

Capacitive Sensor

  • A touch/proximity sensing module with signal, power, and ground pins.

Wiring Details

ESP32 (30 pin)

  • EN - Connected to Tower Pro SG90 servo signal line.
  • Vin - Connected to the +5V power rail.
  • GND - Connected to the ground rail.
  • D5 - Connected to the Potentiometer output.
  • D4 - Connected to the Rotary Encoder clk pin.
  • D2 - Connected to the Rotary Encoder dt pin.
  • D15 - Connected to the Rotary Encoder sw pin.

Mtiny ESP32 WROVER-IE

  • 5V - Connected to the +5V power rail.
  • GND - Connected to the ground rail.
  • TX - Connected to HC-05 Bluetooth Module RXD.
  • RX - Connected to HC-05 Bluetooth Module TXD.
  • Various digital pins (18, 21, 22, 23, 25, 26, 27, 32, 33, 34, 0, 2, 4, 5, 12, 13, 14, 15) - Connected to corresponding pins on the OV7725 camera module.

Potentiometer

  • VCC - Connected to the +5V power rail.
  • GND - Connected to the ground rail.
  • Output - Connected to ESP32 (30 pin) D5.

OV7725

  • 3V3 - Connected to the +3.3V power rail.
  • GND - Connected to the ground rail.
  • Various digital pins (SIOC, SIOD, VSYNC, HREF, PCLK, D9, D8, D7, D6, D5, D4, D3, D2, D1, D0) - Connected to corresponding pins on the Mtiny ESP32 WROVER-IE.

HC-05 Bluetooth Module

  • VCC - Connected to the +3.3V power rail.
  • GND - Connected to the ground rail.
  • TXD - Connected to Mtiny ESP32 WROVER-IE RX.
  • RXD - Connected to Mtiny ESP32 WROVER-IE TX.

Tower Pro SG90 servo

  • +5V - Connected to the +5V power rail.
  • GND - Connected to the ground rail.
  • Signal - Connected to ESP32 (30 pin) EN.

MAX30102

  • VIN - Connected to the +5V power rail.
  • GND - Connected to the ground rail.
  • SDA - Connected to Mtiny ESP32 WROVER-IE pin 21.
  • SCL - Connected to Mtiny ESP32 WROVER-IE pin 22.

Rotary Encoder

  • + - Connected to the +5V power rail.
  • gnd - Connected to the ground rail.
  • clk - Connected to ESP32 (30 pin) D4.
  • dt - Connected to ESP32 (30 pin) D2.
  • sw - Connected to ESP32 (30 pin) D15.

Capacitive Sensor

  • VCC - Connected to the +5V power rail.
  • GND - Connected to the ground rail.
  • SIGNAL - Connected to ESP32 (30 pin) D26.

Documented Code

No code has been provided for the microcontrollers in this circuit. Typically, the code would be documented here, including setup routines, main loops, interrupt service routines, and any libraries or external modules used. The code would also include comments explaining the functionality and purpose of different sections, as well as any relevant algorithms or protocols implemented.