Arduino UNO-based Sensor Suite with Ultrasonic, GPS, RTC, and Gyroscope
View and Edit Project In Cirkit Designer
Circuit Documentation
Summary of the Circuit
This circuit integrates multiple sensors and modules with an Arduino UNO microcontroller to perform various sensing and timing functions. The components include an HC-SR04 Ultrasonic Sensor for distance measurement, a Neo 6M GPS Module for location tracking, a DS1302 Real-Time Clock (RTC) for timekeeping, and an MPU-6050 for motion tracking through its accelerometer and gyroscope. The Arduino UNO serves as the central processing unit, interfacing with each module and sensor, and managing data communication and processing.
Component List
HC-SR04 Ultrasonic Sensor
- Description: A sensor that measures distance by emitting ultrasonic waves and measuring the time taken for the echo to return.
- Pins: VCC, TRIG, ECHO, GND
Neo 6M GPS Module
- Description: A module that provides accurate geographical location data through satellite signals.
- Pins: GND, TX, RX, VCC
DS1302 RTC
- Description: A real-time clock module that maintains accurate timekeeping even when the main microcontroller is powered off.
- Pins: VCC, GND, CLK, DATA, RST
Arduino UNO
- Description: A microcontroller board based on the ATmega328P, widely used for building digital devices and interactive objects.
- Pins: UNUSED, IOREF, Reset, 3.3V, 5V, GND, Vin, A0-A5, SCL, SDA, AREF, D0-D13
MPU-6050
- Description: A motion tracking device that contains a 3-axis accelerometer and a 3-axis gyroscope.
- Pins: VCC, GND, SCL, SDA, XDA, XCL, AD0, INT
Wiring Details
HC-SR04 Ultrasonic Sensor
- VCC: Connected to Arduino UNO 5V
- GND: Connected to Arduino UNO GND
- TRIG: Connected to Arduino UNO D8
- ECHO: Connected to Arduino UNO D9
Neo 6M GPS Module
- VCC: Connected to Arduino UNO 5V
- GND: Connected to Arduino UNO GND
- TX: Connected to Arduino UNO D3
- RX: Connected to Arduino UNO D4
DS1302 RTC
- VCC: Connected to Arduino UNO 5V
- GND: Connected to Arduino UNO GND
- CLK: Connected to Arduino UNO D5
- DATA: Connected to Arduino UNO D6
- RST: Connected to Arduino UNO D7
MPU-6050
- VCC: Connected to Arduino UNO 5V
- GND: Connected to Arduino UNO GND
- SCL: Connected to Arduino UNO A5
- SDA: Connected to Arduino UNO A4
Documented Code
Arduino UNO Code (sketch.ino)
void setup() {
// put your setup code here, to run once:
}
void loop() {
// put your main code here, to run repeatedly:
}
Additional Notes (documentation.txt)
No additional code documentation provided.
This documentation provides an overview of the circuit's components, their connections, and the initial code structure for the Arduino UNO. Further details, such as the purpose of each part in the circuit and the specific functionalities implemented in the code, would be necessary to fully understand the circuit's capabilities and applications.