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

Arduino Nano-Based Vibration Detection System

View and Edit Project In Cirkit DesignerImage of Arduino Nano-Based Vibration Detection System

Circuit Documentation

Summary of the Circuit

This circuit consists of an Arduino Nano microcontroller interfaced with an SW-420 Vibration Sensor. The purpose of the circuit is to detect vibrations and process the signal using the Arduino Nano. The SW-420 Vibration Sensor outputs a digital signal that is read by one of the digital pins on the Arduino Nano. The Arduino Nano is powered by a 5V supply, and the ground is shared between the two components to complete the circuit.

Component List

Arduino Nano

SW-420 Vibration Sensor

Wiring Details

Arduino Nano

SW-420 Vibration Sensor

Documented Code

Arduino Nano Code (sketch.ino)

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

}

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

}

This code is a template for the Arduino Nano. The setup() function is intended to contain initialization code that runs once at the start, such as pin mode configurations. The loop() function is meant to contain the main logic of the program, which runs repeatedly after the setup() function completes.

Note: The actual logic for handling the digital signal from the SW-420 Vibration Sensor needs to be implemented within these functions. For example, setting the pin mode for D2 as an input and reading its state to detect vibrations.

Additional Files


This documentation provides an overview of the circuit, including the components used, their wiring, and the initial code structure for the Arduino Nano. Further development of the code is required to fulfill the circuit's intended functionality.