Making a Soccer or Bluetooth control
car/ using of motor driver
Components
Arduino Uno
Motor driver (1298)
Bluetooth module
battery
wires
gear motor
Procedure
Sold wire with your motors
Complete chassis and attach gear motors to it
complete schematic given and place components
on your chassis
Do wiring as shown in Schematic
Program your Arduino(WHILE
PROGRAMMING TX AND RX
MUS NOT BE ATTACHED)
There are six outputs connected to L298
ena and enb control speed, shorting keeps motor
speed high
in1,in2 control one motor
in3,in4 control other output of motor
if the motor is rotating in opp direction u can simply
interchange output from arduini to 1298
ex: interchange in3 and in4 connectionif left turn right and right turns left then interchange in1
and in2 with in3 and in4
Precations
Don't use silicon gun to paste ICS(Arduino, 1298, HCO5
don't give high voltage to Arduino
(from Arduino input 5 to 12 V)
do not drive high current from microcontroller
L298
can be attached to input 0-36 volts
max current at each output must not be more than 3A
use max 24Wmotor at output
Bluetooth module
must not be given voltage more than 5V. VCC and
ground connection must be correct always
detach RX and TX before uploading of programSchematic for robo soccer
Connect wires as shown, do not tum
on current unless circuit is verified by
facilitatorLine following bot
BATTERY POSITIVE
BATTERY
NEGATIVEWorking of Arduino Line Follower Robot
In this project, we have designed an Arduino based Line Follower Robot. The
working of the project is pretty simple: detect the black line on the surface and
move along that line. The detailed working is explained here.
As mentioned in the block diagram, we need sensors to detect the line. For line
detection logic, we used two IR Sensors, which consists of IR LED and
Photodiode. They are placed in a reflective way i.e. side — by — side so that
whenever they come in to proximity of a reflective surface, the light emitted by IR
LED will be detected by Photo diode.
The following image shows the working of a typical IR Sensor (IR LED —
Photodiode pair) in front of a light caloured surface and a black surface. As the
reflectance of the light coloured surface is high, the infrared light emitted by IR
LED will be maximum reflected and will be detected by the Photodiode.
IR Sensor Working
In case of black surface, which has a low reflectance, the light gets completely
absorbed by the black surface and doesn't reach the photodiode.
Using the same principle, we will setup the IR Sensors on the Line Follower
Robot such that the two IR Sensors are on the either side of the black line on the
floor. The setup is shown below.
IR Sensors in Line Follower