so I'm building a line following fire fighter car that operates on a predetermined path which i would be making with a black duct tape, I want to know if these components are enough to do that:
components:
Arduino Nano × 1
infrared sensor (LM393) X 3( 2 for path detection and one for flame detection)
Motor Driver L298 × 1
Bread board × 1
Jumper wires
embeddinator battery pack 11.1 V Li battery × 1
Battery Holder × 1
12 volt pump(symfonia 12v DC pump) × 1
pvc pipe X 1
on/off switch
400V/100nf capacitors x 4
4148 diode 1N400T x 4
also can you guys tell me if the connections are looking good:
Arduino Nano :
Pin A0 (Analog 0): Flame Sensor (infr L5h6) Signal Pin.
Pin A1 (Analog 1): Infrared Sensor 1 (LM393) Signal Pin.
Pin A2 (Analog 2): Infrared Sensor 2 (LM393) Signal Pin.
Pin D4 (Digital 4): 12V Pump (Symfonia 12V DC Pump) Control Pin.
Pin D5 (Digital 5): Motor Driver L298B Enable B (enB).
Pin D6 (Digital 6): Motor Driver L298B Input 4 (in4).
Pin D7 (Digital 7): Motor Driver L298B Input 3 (in3).
Pin D8 (Digital 8): Motor Driver L298B Input 2 (in2).
Pin D9 (Digital 9): Motor Driver L298B Input 1 (in1).
Pin D10 (Digital 10): Motor Driver L298A Enable A (enA).
Flame Sensor:
+ pin of the sensor to the 5V pin of the Arduino.
- pin of the sensor to the GND pin of the Arduino.
S (Signal) pin of the sensor to A0 pin of the Arduino.
Infrared Sensors (LM393):
+ pin of the sensor to the 5V pin of the Arduino.
- pin of the sensor to the GND pin of the Arduino.
S (Signal) pin of the sensor to the respective A1 and A2 pins of the Arduino.
Motor Driver L298B:
ENB pin of the L298B to D5 pin of the Arduino.
IN4 pin of the L298B to D6 pin of the Arduino.
IN3 pin of the L298B to D7 pin of the Arduino.
IN2 pin of the L298B to D8 pin of the Arduino.
IN1 pin of the L298B to D9 pin of the Arduino.
GND pin of the L298B to the GND pin of the Arduino.
VSS pin of the L298B to the 5V pin of the Arduino.
VCC pin of the L298B to the 11.1V terminal of the battery.
12V Pump (Symfonia 12V DC Pump):
+ terminal of the pump to the D4 pin of the Arduino.
- terminal of the pump to the GND pin of the Arduino.
Battery Holder & 11.1V Li-Ion Battery:
+ terminal of the battery to the 11.1V terminal of the battery.
- terminal of the battery to the GND pin of the Arduino.
On/Off Switch:
one terminal of the switch to the + terminal of the battery.
other terminal of the switch to the VCC pin of the L298B motor driver.
Wheels & Motors:
left motor to the OUT3 and OUT4 terminals of the L298B motor driver.
right motor to the OUT1 and OUT2 terminals of the L298B motor driver.
PVC Pipe
i can also provide the code of that is needed its just that i dont know if i should be posting code in the hardware section
i haven't really drawn the schematic diagram yet so if you guys could recommend where that can be done it would be really nice
thx