Arduino-Controlled Bluetooth Robotic Vehicle with Soil Moisture Sensing
View and Edit Project In Cirkit Designer
Circuit Documentation
Summary
This circuit is designed to control a set of motors and a water pump, interfaced with an Arduino Nano microcontroller and an HC-05 Bluetooth module for wireless communication. It also includes a capacitive soil moisture sensor to monitor soil moisture levels. The L298N motor driver is used to drive the motors, and power is supplied by a battery case. The circuit is likely intended for a small-scale automated gardening system where soil moisture data can be used to control the watering cycle through the pump, and the motors may be used for positioning or other mechanical actions.
Component List
My battery case
- Description: A container for holding batteries to power the circuit.
- Pins:
+(positive),-(negative)
Motor Amarillo Motorreductor Hobby (3 instances)
- Description: A yellow hobby gear motor used for various mechanical movements.
- Pins:
vcc(power),GND(ground)
HC-05 Bluetooth Module
- Description: A Bluetooth module for wireless communication.
- Pins:
Key,VCC,GND,TXD,RXD,State
L298N DC Motor Driver
- Description: A motor driver module for controlling DC motors.
- Pins:
OUT1,OUT2,12V,GND,5V,OUT3,OUT4,5V-ENA-JMP-I,5V-ENA-JMP-O,+5V-J1,+5V-J2,ENA,IN1,IN2,IN3,IN4,ENB
Arduino Nano
- Description: A small, complete, and breadboard-friendly board based on the ATmega328 (Arduino Nano 3.x).
- Pins:
D1/TX,D0/RX,RESET,GND,D2,D3,D4,D5,D6,D7,D8,D9,D10,D11/MOSI,D12/MISO,VIN,5V,A7,A6,A5,A4,A3,A2,A1,A0,AREF,3V3,D13/SCK
Water Pump
- Description: A pump used for moving water, likely for irrigation purposes.
- Pins:
VCC,GND
Capacitive Soil Moisture Sensor V1.2
- Description: A sensor for measuring the moisture content in soil.
- Pins:
GND,VCC,AOUT
Wiring Details
My battery case
+connected to L298N DC motor driver12Vand Water PumpVCC-connected to common ground net
Motor Amarillo Motorreductor Hobby
- Three instances, each with
vccconnected to L298N DC motor driver outputs (OUT1,OUT3,OUT4) andGNDconnected to common ground net
HC-05 Bluetooth Module
RXDconnected to Arduino NanoD1/TXTXDconnected to Arduino NanoD0/RXVCCconnected to Arduino Nano5VGNDconnected to common ground net
L298N DC Motor Driver
IN1connected to Arduino NanoD11/MOSIIN2connected to Arduino NanoD10IN3connected to Arduino NanoD6IN4connected to Arduino NanoD55Vconnected to Arduino NanoVINGNDconnected to common ground net12Vconnected to My battery case+OUT1,OUT2,OUT3,OUT4connected to respective Motor Amarillo Motorreductor Hobbyvccpins
Arduino Nano
D1/TXconnected to HC-05 Bluetooth ModuleRXDD0/RXconnected to HC-05 Bluetooth ModuleTXDGNDconnected to common ground net5Vconnected to HC-05 Bluetooth ModuleVCCVINconnected to L298N DC motor driver5VA0connected to Capacitive Soil Moisture Sensor V1.2AOUT3V3connected to Capacitive Soil Moisture Sensor V1.2VCC
Water Pump
VCCconnected to My battery case+GNDconnected to common ground net
Capacitive Soil Moisture Sensor V1.2
AOUTconnected to Arduino NanoA0VCCconnected to Arduino Nano3V3GNDconnected to common ground net
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:
}
Note: The provided code is a template and does not contain any functional code. It needs to be populated with the logic to control the motors, read the sensor data, and communicate via Bluetooth.