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

ESP32-Based 3-Axis Accelerometer Data Logger

Image of ESP32-Based 3-Axis Accelerometer Data Logger

Circuit Documentation

Summary of the Circuit

This circuit integrates an ESP32 microcontroller with an Adafruit ADXL377 high-G accelerometer. The ESP32 is a versatile microcontroller with Wi-Fi and Bluetooth capabilities, and it is used here to process and possibly transmit the data captured by the ADXL377. The ADXL377 is an analog accelerometer capable of measuring acceleration in three axes (X, Y, and Z). The connections between the ESP32 and the ADXL377 are made to read the analog outputs from the accelerometer and to provide power and ground.

Component List

ESP32 (30 pin)

  • Description: A 30-pin microcontroller with Wi-Fi and Bluetooth capabilities.
  • Purpose: To process and communicate the accelerometer data.
  • 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.

Adafruit ADXL377

  • Description: A high-G analog-output accelerometer.
  • Purpose: To measure acceleration in three axes and provide this data to the ESP32.
  • Pins: VIN, 3.3V, GND, SELFTEST, ZOUT, YOUT, XOUT.

Wiring Details

ESP32 (30 pin)

  • D34: Connected to ZOUT of the Adafruit ADXL377.
  • D32: Connected to XOUT of the Adafruit ADXL377.
  • D33: Connected to YOUT of the Adafruit ADXL377.
  • GND: Shared ground with the Adafruit ADXL377.
  • Vin: Power input connected to VIN of the Adafruit ADXL377.

Adafruit ADXL377

  • ZOUT: Connected to D34 of the ESP32.
  • XOUT: Connected to D32 of the ESP32.
  • YOUT: Connected to D33 of the ESP32.
  • GND: Shared ground with the ESP32.
  • VIN: Power input connected to Vin of the ESP32.

Documented Code

No code has been provided for the microcontroller. The documentation of the code would typically include setup and loop functions for initializing the hardware interfaces, reading the analog values from the accelerometer, and any communication protocols used to transmit the data. Since no code is available, this section remains empty until the code is provided and can be documented accordingly.