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

ESP32-S3 Based Vibration Detection System with TFT Display and Power Backup

Image of ESP32-S3 Based Vibration Detection System with TFT Display and Power Backup

Circuit Documentation

Summary

This circuit integrates various components to perform a set of functions centered around the ESP32-S3 microcontroller. The circuit includes sensors, a display, power management modules, and user interface elements. The ESP32-S3 serves as the central processing unit, interfacing with an ADXL355 accelerometer, an SW-420 vibration sensor, an ILI9341 TFT display, and a buzzer module. Power is managed through a 12V to 5V step-down converter and a UPS for uninterrupted power supply. User inputs are captured via a push switch and a rocker switch.

Component List

ESP32-S3

  • Microcontroller with a variety of GPIO pins for interfacing with sensors, displays, and other peripherals.
  • Provides 3.3V and 5V power outputs for other components in the circuit.

SW-420 Vibration Sensor

  • Detects vibrations and outputs a digital signal.

Buzzer Module

  • Emits an audible alert when triggered by a digital signal.

12V to 5V Step Down Power Converter

  • Converts input voltages from 9V-36V down to a stable 5V output.

ADXL355 Accelerometer

  • Measures acceleration forces and provides digital outputs for data processing.

ILI9341 TFT Display

  • A color display for visual output from the microcontroller.

Rocker Switch (SPST)

  • A single-pole single-throw switch used to control power to the circuit.

2Pin Push Switch

  • A momentary push switch for user input.

V380 PRO 12V 1.5A Uninterruptible Power Supply Mini UPS

  • Provides backup power to ensure the circuit remains operational during power interruptions.

Wiring Details

ESP32-S3

  • 3v3 pin provides power to the ADXL355, SW-420 Vibration Sensor, and ILI9341 TFT Display.
  • 5V pin is connected to the 5V output from the step-down converter.
  • GND pin is a common ground for the step-down converter, push switch, ILI9341 TFT display, buzzer module, ADXL355, and SW-420 Vibration Sensor.
  • GPIO pins are used for data communication with the ADXL355, ILI9341 TFT display, SW-420 Vibration Sensor, and buzzer module.

SW-420 Vibration Sensor

  • vcc pin connected to the 3.3V output from the ESP32-S3.
  • Ground pin connected to the common ground.
  • Digital output connected to the GPIO48 of the ESP32-S3.

Buzzer Module

  • Vcc pin connected to the 3.3V output from the ESP32-S3.
  • GND pin connected to the common ground.
  • I/O pin connected to the GPIO20 of the ESP32-S3.

12V to 5V Step Down Power Converter

  • 5v OUTPUT connected to the 5V input of the ESP32-S3.
  • GND connected to the common ground.
  • VIN+ connected to the Rocker Switch (SPST).
  • VIN- connected to the Positive pin of the UPS.

ADXL355 Accelerometer

  • VCC pin connected to the 3.3V output from the ESP32-S3.
  • GND pin connected to the common ground.
  • CS/SCL, SCK, MO/SDA, MI/AS pins connected to corresponding GPIO pins on the ESP32-S3 for SPI communication.

ILI9341 TFT Display

  • VCC and LED pins connected to the 3.3V output from the ESP32-S3.
  • GND pin connected to the common ground.
  • CS, RESET, DC/RS, SDI, SCK, SDO pins connected to corresponding GPIO pins on the ESP32-S3 for SPI communication and control.

Rocker Switch (SPST)

  • 1 pin connected to the VIN+ of the step-down converter.
  • 2 pin connected to the Negative pin of the UPS.

2Pin Push Switch

  • Input + pin connected to the GND of the step-down converter.
  • Output + pin connected to the GPIO15 of the ESP32-S3.

V380 PRO 12V 1.5A Uninterruptible Power Supply Mini UPS

  • Positive pin connected to the VIN- of the step-down converter.
  • Negative pin connected to the 2 pin of the Rocker Switch (SPST).

Documented Code

No code has been provided for the microcontroller. The documentation of the code would typically include a description of the functionality implemented, setup and loop functions for an Arduino-based microcontroller, or initialization and main execution loop for other microcontrollers, along with comments explaining the purpose of each section of the code.