Arduino UNO Vibration Detection System with Bluetooth Connectivity
View and Edit Project In Cirkit Designer
Circuit Documentation
Summary
This circuit involves an Arduino UNO microcontroller interfacing with various components including a vibration sensor, two LEDs (red and green), a Bluetooth module, and a piezo buzzer. The circuit is designed to detect vibrations, indicate status through LEDs, and communicate via Bluetooth.
Component List
Arduino UNO
- Description: A microcontroller board based on the ATmega328P.
- Pins: UNUSED, IOREF, Reset, 3.3V, 5V, GND, Vin, A0, A1, A2, A3, A4, A5, SCL, SDA, AREF, D13, D12, D11, D10, D9, D8, D7, D6, D5, D4, D3, D2, D1, D0
SW-420 Vibration Sensor
- Description: A vibration sensor module used to detect vibrations.
- Pins: vcc, Ground, Digital output
LED: Two Pin (red)
- Description: A red LED with two pins.
- Pins: cathode, anode
LED: Two Pin (green)
- Description: A green LED with two pins.
- Pins: cathode, anode
HC-05 Bluetooth Module
- Description: A Bluetooth module used for wireless communication.
- Pins: Key, VCC, GND, TXD, RXD, State
Piezo Buzzer
- Description: A piezoelectric buzzer used to produce sound.
- Pins: pin 1, pin 2
Wiring Details
Arduino UNO
- 5V: Connected to VCC of HC-05 Bluetooth Module and vcc of SW-420 Vibration Sensor.
- GND: Connected to Ground of SW-420 Vibration Sensor, GND of HC-05 Bluetooth Module, cathode of green LED, cathode of red LED, and pin 2 of Piezo Buzzer.
- D8: Connected to pin 1 of Piezo Buzzer.
- D7: Connected to anode of green LED.
- D6: Connected to anode of red LED.
- D2: Connected to Digital output of SW-420 Vibration Sensor.
- D1: Connected to RXD of HC-05 Bluetooth Module.
- D0: Connected to State of HC-05 Bluetooth Module.
SW-420 Vibration Sensor
- vcc: Connected to 5V of Arduino UNO.
- Ground: Connected to GND of Arduino UNO.
- Digital output: Connected to D2 of Arduino UNO.
LED: Two Pin (red)
- cathode: Connected to GND of Arduino UNO.
- anode: Connected to D6 of Arduino UNO.
LED: Two Pin (green)
- cathode: Connected to GND of Arduino UNO.
- anode: Connected to D7 of Arduino UNO.
HC-05 Bluetooth Module
- VCC: Connected to 5V of Arduino UNO.
- GND: Connected to GND of Arduino UNO.
- RXD: Connected to D1 of Arduino UNO.
- State: Connected to D0 of Arduino UNO.
Piezo Buzzer
- pin 1: Connected to D8 of Arduino UNO.
- pin 2: Connected to GND of Arduino UNO.
Code Documentation
Arduino UNO Code
void setup() {
// put your setup code here, to run once:
}
void loop() {
// put your main code here, to run repeatedly:
}
This code is a basic template for the Arduino UNO. The setup() function is where you initialize your components and settings, and the loop() function is where the main logic of your program runs repeatedly.
Additional Documentation
The additional documentation file is empty and can be used to add further details or instructions as needed.