This circuit is designed to control a set of motors and wheels, a mini water pump, and read from flame sensors using an Arduino UNO as the central microcontroller. It includes a Bluetooth module for wireless communication, a motor driver to control the motors, and a servo motor for additional actuation. The circuit is powered by 12V batteries and includes toggle and rocker switches for power control. Flame sensors are used for detecting fire or flame presence, and a relay is used to control the water pump. The circuit is designed for applications such as a fire-fighting robot or an automated watering system.
5V
and GND
pins are used to power the Bluetooth module, flame sensors, servo, and relayA0
, A1
, A2
pins are connected to the digital outputs of the flame sensorsD12
, D11
, D9
, D7
, D6
, D5
, D4
, D3
pins are used to control the motor driver, servo, and relayD1
, D0
pins are connected to the TX and RX pins of the Bluetooth moduleGND
connected to the Arduino GND and battery negative12V
connected to the toggle switch and then to the battery positiveENA
, IN1
, IN2
, IN3
, IN4
, ENB
connected to Arduino digital pins for motor controlOUT1
, OUT2
, OUT3
, OUT4
connected to the motorsvcc
and GND
connected to the corresponding outputs of the motor driverPositive pin
connected to the relay Normally Open contactNegative pin
connected to the battery negativePOSITIF
connected to the rocker switch outputNEGATIF
connected to the battery negativeInput
connected to the second 12V battery positiveOutput
connected to the power jack positiveVCC
connected to Arduino 5VGND
connected to Arduino GNDTXD
connected to Arduino D0RXD
connected to Arduino D1VCC
connected to Arduino 5VGND
connected to Arduino GNDDO
connected to Arduino analog pins A0, A1, A2VCC
connected to Arduino 5VGND
connected to Arduino GNDIn
connected to Arduino D7Common terminal
connected to the 5V relay VCCNormally Open
connected to the water pump positive+5V
connected to Arduino 5VGND
connected to Arduino GNDPWM
connected to Arduino D9void 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 include specific functionality. It needs to be populated with the logic for reading sensors, controlling motors, and handling Bluetooth communication.