Arduino-Controlled Multi-Fan System with GPS and Bluetooth Connectivity
View and Edit Project In Cirkit Designer
Circuit Documentation
Summary
This document provides a detailed overview of a circuit designed to interface various components with an Arduino UNO microcontroller. The circuit includes multiple fan motors, a GPS module, an ultrasonic sensor, a Bluetooth module, an IMU sensor, and several LiPo batteries for power supply. The Arduino UNO serves as the central processing unit, controlling the fan motors and communicating with the GPS, Bluetooth, and IMU modules. The ultrasonic sensor is used for distance measurement. Each component is powered appropriately and connected to the Arduino UNO for signal communication.
Component List
Arduino UNO
- Microcontroller board based on the ATmega328P
- It has 14 digital input/output pins, 6 analog inputs, a 16 MHz quartz crystal, a USB connection, a power jack, an ICSP header, and a reset button.
Fan Motor L9110
- A small DC motor controlled by the L9110 driver, suitable for making fans or driving small loads.
3.7v LiPo Battery
- A lithium polymer battery that provides a 3.7V power supply.
HC-SR04 Ultrasonic Sensor
- An ultrasonic ranging module that provides 2cm to 400cm non-contact measurement functionality with a ranging accuracy that can reach up to 3mm.
Neo 6M GPS Module
- A GPS receiver module that provides location and time information.
Bluetooth HC-06
- A Bluetooth module that allows for wireless communication with other Bluetooth-enabled devices.
SparkFun IMU Breakout - MPU-9250
- A 9-axis MotionTracking device that combines a 3-axis gyroscope, 3-axis accelerometer, 3-axis magnetometer, and a Digital Motion Processorâ„¢ (DMP).
Wiring Details
Arduino UNO
- GND connected to the ground pins of Neo 6M GPS Module, SparkFun IMU Breakout - MPU-9250, Bluetooth HC-06, and HC-SR04 Ultrasonic Sensor.
- 5V connected to the VCC pins of Neo 6M GPS Module, SparkFun IMU Breakout - MPU-9250, Bluetooth HC-06, and HC-SR04 Ultrasonic Sensor.
- A4 (SDA) connected to SDA/SDI of SparkFun IMU Breakout - MPU-9250.
- A5 (SCL) connected to SCL/SCLK of SparkFun IMU Breakout - MPU-9250.
- D11 connected to RX of Neo 6M GPS Module.
- D10 connected to TX of Neo 6M GPS Module.
- D9 connected to INA of fan motor L9110.
- D8 connected to ECHO of HC-SR04 Ultrasonic Sensor.
- D7 connected to TRIG of HC-SR04 Ultrasonic Sensor.
- D6 connected to INB of fan motor L9110.
- D5 connected to INB of fan motor L9110.
- D4 connected to RXD of Bluetooth HC-06.
- D3 connected to INA of fan motor L9110.
- D2 connected to TXD of Bluetooth HC-06.
Fan Motor L9110
- INA and INB connected to various digital pins on the Arduino UNO for control signals.
- VCC connected to the +Ve pin of a 3.7v LiPo battery.
- GND connected to the GND pin of a 3.7v LiPo battery.
3.7v LiPo Battery
- +Ve pin connected to VCC of fan motor L9110.
- GND pin connected to GND of fan motor L9110.
HC-SR04 Ultrasonic Sensor
- VCC connected to 5V on Arduino UNO.
- TRIG connected to D7 on Arduino UNO.
- ECHO connected to D8 on Arduino UNO.
- GND connected to GND on Arduino UNO.
Neo 6M GPS Module
- GND connected to GND on Arduino UNO.
- TX connected to D10 on Arduino UNO.
- RX connected to D11 on Arduino UNO.
- VCC connected to 5V on Arduino UNO.
Bluetooth HC-06
- VCC connected to 5V on Arduino UNO.
- GND connected to GND on Arduino UNO.
- TXD connected to D2 on Arduino UNO.
- RXD connected to D4 on Arduino UNO.
SparkFun IMU Breakout - MPU-9250
- SCL/SCLK connected to A5 on Arduino UNO.
- SDA/SDI connected to A4 on Arduino UNO.
- VDD connected to 5V on Arduino UNO.
- GND connected to GND on Arduino UNO.
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:
}
Note: The provided code is a template and does not contain any functional code. It is expected that the user will fill in the setup and loop functions with the necessary code to control the components and handle communications.