Cirkit Designer LogoCirkit DesignerYour all-in-one circuit design IDE Launch Cirkit Designer App

Battery-Powered Environmental Monitoring System with ESP32, BNO055, and MS5803-14BA

View and Edit Project In Cirkit DesignerImage of Battery-Powered Environmental Monitoring System with ESP32, BNO055, and MS5803-14BA

Circuit Documentation

Summary

This document provides a detailed overview of a circuit that includes various sensors, microcontrollers, and power management components. The circuit is designed to interface multiple sensors with ESP32 microcontrollers, powered by a LiPo battery through a step-down buck converter. The sensors include a pressure sensor, an ultrasonic sensor, and an inertial measurement unit (IMU). The document includes a component list, wiring details, and the embedded code used in the microcontrollers.

Component List

  1. SparkFun Pressure Sensor Breakout - MS5803-14BA

    • Pins: GND, 3.3V, SDA/SDI, SCL/SCLK, SDO, AD/CS, PS
    • Description: Pressure sensor for measuring atmospheric pressure.
    • Purpose in Circuit: To provide pressure data to the ESP32 microcontroller.
  2. BNO055

    • Pins: Vin, 3vo, GND, SDA, SCL, RST, PS0, PS1, INT, ADR
    • Description: 9-axis absolute orientation sensor.
    • Purpose in Circuit: To provide orientation data to the ESP32 microcontroller.
  3. Lipo Battery

    • Pins: VCC, GND
    • Description: Rechargeable lithium polymer battery.
    • Purpose in Circuit: To provide power to the entire circuit.
  4. ESP32

    • Pins: EN, VP, VN, D34, D35, D32, D33, D25, D26, D27, D14, D12, D13, GND, VIN, 3V3, D15, D2, D4, RX2, TX2, D5, D18, D19, D21, RX0, TX0, D22, D23, BOOT
    • Description: Wi-Fi and Bluetooth microcontroller.
    • Purpose in Circuit: To control and process data from the sensors.
  5. Ultrasonic Sensor

    • Pins: +VCC, Trigger, Echo, GND
    • Description: Sensor for measuring distance using ultrasonic waves.
    • Purpose in Circuit: To provide distance measurements to the ESP32 microcontroller.
  6. Step down Buck converter

    • Pins: IN +, IN - GND, OUT +, OUT - GND
    • Description: Voltage regulator to step down the voltage from the LiPo battery.
    • Purpose in Circuit: To provide a stable voltage supply to the components.

Wiring Details

SparkFun Pressure Sensor Breakout - MS5803-14BA

BNO055

Lipo Battery

ESP32 (First Instance)

ESP32 (Second Instance)

ESP32 (Third Instance)

Ultrasonic Sensor

Step down Buck converter

Documented Code

ESP32 (First Instance)

void setup() {
  // put your setup code here, to run once:

}

void loop() {
  // put your main code here, to run repeatedly:

}

ESP32 (First Instance) Documentation

This concludes the documentation for the circuit. Each component is described along with its wiring details, and the embedded code for the microcontroller is provided.