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

Motion-Activated Sound Player with Arduino and MPU6050

View and Edit Project In Cirkit DesignerImage of Motion-Activated Sound Player with Arduino and MPU6050

Circuit Documentation

Summary

This circuit integrates an Arduino Mega 2560 with multiple sensors and modules to perform various functions. The Arduino Mega 2560 serves as the central processing unit, interfacing with MPU6050 Accelerometer + Gyroscope modules for motion sensing, DFPlayer MINI for audio playback, and PAM8403 audio amplifier for driving a loudspeaker. The circuit also includes several 2.2 inch Basic Flex Resistors and standard resistors for voltage division and current limiting purposes.

Component List

Microcontroller

Sensors

Audio Components

Resistive Components

Wiring Details

Arduino Mega 2560

MPU6050 Accelerometer + Gyroscope (Wokwi Compatible)

DFPlayer MINI

PAM8403

Loudspeaker

2.2 inch Basic Flex Resistor

Resistor (10k Ohms)

Documented Code

Arduino Mega 2560 Code (sketch.ino)

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

}

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

}

Note: The provided code is a template and does not include specific functionality. It needs to be populated with the logic to interact with the connected components based on the requirements of the circuit's application.