Projects
Assembly

Connections

BO Motors

Servo

L293DServo
Servo 2 PinControl Pin

Ultrasonic Sensor

Arduino UNOUltrasonic Sensor
A0Trigger Pin
A1Echo Pin
VCC5V
GNDGND

Right IR Sensor

Arduino UNOIR Sensor
A2OUT
VCC5V
GNDGND

Left IR Sensor

Arduino UNOIR Sensor
A3OUT
VCC5V
GNDGND

HM-10 BLE Module

Arduino UNOBLE Module
TXRX(0)
RXTX(1)
VCC5V
GNDGND

Connections

  1. First assemble the chassis of the car. Screw all parts together. Solder wires to the BO motor terminals. (Follow the same colour coding for each terminal to avoid confusion later).
  2. Assemble the motors in the direction as shown in the photo.
  3. Solder the header pins for 5v, GND , and analog pin on L293D (also a wire to the rx (0) pin for bluetooth).Then mount the L293D motor shield on top of arduino and place it on the car chassis using tape
  4. Connect the terminals of the BO motor to the motor shield (M1 , M2 , M3 , M4) and remember to which terminal has each motor been connected
  5. Mount the servo to the front of the car and connect it to the designated pin of the motor shield
  6. Place the ultrasonic sensor inside its holder and screw the holder on the servo bar
  7. Stick to IR sensors on the front left and right side such that the bulbs are facing downwards and are close to the floor
  8. Connect the IR sensors to the motor shield
  9. Connect the Bluetooth module to the shield (remember to disconnect its power while uploading the code)
  10. Take 2 3.7v lithium ion batteries in a holder and connect it to the Motor shield

NOTE: Remember to remove the yellow coloured jumper when ever connecting the arduino with the laptop. The jumper provides power to arduino from the shield it self hence it should be there only when the arduino is disconnected. The jumpper can act as a switch too if the battery holder does not have one.