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

ESP32 and ESP8266 Wi-Fi Controlled Sensor Hub with Battery Backup

View and Edit Project In Cirkit DesignerImage of ESP32 and ESP8266 Wi-Fi Controlled Sensor Hub with Battery Backup

Circuit Documentation

Summary

This document provides a detailed overview of a circuit that includes various sensors, a WiFi module, a power management system, and an ESP32 microcontroller. The circuit is designed to read sensor data and transmit it over WiFi. The power management system ensures stable power supply to all components.

Component List

  1. 2Pin Push Switch

    • Pins: Input +, Output +
    • Description: A simple push-button switch.
    • Purpose: Used to control the power flow in the circuit.
  2. Air Pressure Module

    • Pins: VCC, OUT, SCK, GND
    • Description: Measures air pressure.
    • Purpose: Provides air pressure data to the microcontroller.
  3. Optical Encoder Sensor Module

    • Pins: A0, D0, GND, VCC
    • Description: Measures rotational position.
    • Purpose: Provides rotational data to the microcontroller.
  4. Charger + Boost Converter DD05CVSA

    • Pins: VOUT, GND, BAT, VIN
    • Description: Manages battery charging and boosts voltage.
    • Purpose: Ensures stable power supply to the circuit.
  5. Force Sensing Resistor

    • Pins: pin 0, pin 1
    • Description: Measures force applied.
    • Purpose: Provides force data to the microcontroller.
  6. Resistor (1000 Ohms)

    • Pins: pin1, pin2
    • Description: Limits current flow.
    • Purpose: Used in series with force sensing resistors.
  7. 3.3V Regulator

    • Pins: GND, OUT, Vin
    • Description: Regulates voltage to 3.3V.
    • Purpose: Provides stable 3.3V power supply.
  8. WiFi Module ESP8266-01

    • Pins: RX, GPIO0, GPIO2, GND, +3V3, Reset, CH-PD Chip power down, TX
    • Description: WiFi communication module.
    • Purpose: Enables WiFi connectivity.
  9. Li-ion 5000mAh Battery

    • Pins: 11.1V, GND
    • Description: Rechargeable battery.
    • Purpose: Provides power to the circuit.
  10. 12V Adapter

    • Pins: VCC, GND
    • Description: Converts AC to 12V DC.
    • Purpose: Provides initial power to the circuit.
  11. Tilt Sensor

    • Pins: A0, D0, GND, VCC
    • Description: Measures tilt angle.
    • Purpose: Provides tilt data to the microcontroller.
  12. 120V Outlet

    • Pins: AC Neutral, AC Hot, GND
    • Description: Standard electrical outlet.
    • Purpose: Provides AC power to the 12V adapter.
  13. ESP32 (30 pin)

    • Pins: EN, VP, VN, D34, D35, D32, D33, D25, D26, D27, D14, D12, D13, GND, Vin, D23, D22, TX0, RX0, D21, D19, D18, D5, TX2, RX2, D4, D2, D15, 3V3
    • Description: Microcontroller with WiFi and Bluetooth capabilities.
    • Purpose: Central processing unit of the circuit.

Wiring Details

2Pin Push Switch

Air Pressure Module

Optical Encoder Sensor Module

Charger + Boost Converter DD05CVSA

Force Sensing Resistor (Instance 1)

Force Sensing Resistor (Instance 2)

Resistor (Instance 1)

Resistor (Instance 2)

3.3V Regulator

WiFi Module ESP8266-01

Li-ion 5000mAh Battery

12V Adapter

Tilt Sensor

120V Outlet

ESP32 (30 pin)