Arduino Mega 2560 Bluetooth-Controlled Touch-Activated Vibration Motor System
View and Edit Project In Cirkit Designer
Circuit Documentation
Summary
This circuit involves an Arduino Mega 2560 microcontroller interfacing with an HC-05 Bluetooth module, multiple vibration motors, touch sensors, and a buzzer. The circuit is designed to respond to touch inputs and provide feedback through vibration and sound.
Component List
Arduino Mega 2560
- Description: A microcontroller board based on the ATmega2560.
- Pins: IOREF, RESET, 3V3, 5V, GND, VIN, A0-A15, D0-D53, PWM pins, AREF, SDA, SCL.
HC-05 Bluetooth Module
- Description: A Bluetooth module for wireless communication.
- Pins: Key, VCC, TXD, RXD, State, GND.
Vibration Motor
- Description: A small motor that provides vibration feedback.
- Pins: POS, NEG.
Touch Sensor TTP233
- Description: A touch sensor module for detecting touch inputs.
- Pins: GND, I/O, VCC.
Buzzer
- Description: An electronic device that emits sound.
- Pins: PIN, GND.
Comment
- Description: Placeholder for comments in the circuit design.
- Pins: None.
Wiring Details
Arduino Mega 2560
- VIN: Connected to VCC of HC-05 Bluetooth Module.
- D0 RX0: Connected to TXD of HC-05 Bluetooth Module.
- D1 TX0: Connected to RXD of HC-05 Bluetooth Module.
- D3 PWM: Connected to PIN of Buzzer.
- D5 PWM: Connected to VCC of all Touch Sensors.
- GND: Connected to GND of all Touch Sensors, NEG of all Vibration Motors, GND of Buzzer, and GND of HC-05 Bluetooth Module.
HC-05 Bluetooth Module
- VCC: Connected to VIN of Arduino Mega 2560.
- TXD: Connected to D0 RX0 of Arduino Mega 2560.
- RXD: Connected to D1 TX0 of Arduino Mega 2560.
- GND: Connected to GND of Arduino Mega 2560.
Vibration Motor
- POS: Connected to I/O of corresponding Touch Sensor.
- NEG: Connected to GND of Arduino Mega 2560.
Touch Sensor TTP233
- GND: Connected to GND of Arduino Mega 2560.
- I/O: Connected to POS of corresponding Vibration Motor.
- VCC: Connected to D5 PWM of Arduino Mega 2560.
Buzzer
- PIN: Connected to D3 PWM of Arduino Mega 2560.
- GND: Connected to GND of Arduino Mega 2560.
Documented Code
Arduino Mega 2560 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 Mega 2560. The setup() function is used to initialize any settings or configurations, and the loop() function contains the main logic that runs repeatedly.
Additional Documentation
// This file is intended for additional documentation purposes.
This section is reserved for any additional documentation or comments that may be necessary for understanding the circuit or its operation.