OBSTACLE AVOIDING ROBOT(OAR)
THIS IS A SIMPLE OBSTACLE AVOIDING VIRTUAL CIRCUIT BUILT USING TINKERCAD SIMULATION. IN THIS PROJECT, THE FUNCTION IS WHEN AN OBJECT COMES NEAR THE SENSOR WITHIN 10 INCH, MOTORS WILL ROLL IN THE LEFT DIRECTION. WHEN THE DISTANCE IS MORE THAN 10 INCH THE MOTOR WILL AGAIN MOVE FORWARD.
COMPONENTS REQUIRED
THE FOLLOWING COMPONENTS THAT ARE REQUIRED TO MAKE THIS CIRCUIT ARE-
- BREADBOARD
- L293D (MOTOR DRIVER)
- ARDUINO UNO R3
- ULTRASONIC DISTANCE SENSOR
- DC MOTOR
CONNECTIONS
MAKE THE FOLLOWING CONNECTIONS AS SHOWN IN THE ABOVE IMAGE. I HAVE ONLY COLOURED THE WIRES SO THAT YOU CAN UNDERSTAND WHICH WIRE IS CONNECTED WITH WHICH WIRE.
NOTE: IT IS NOT NECESSARY TO COLOUR THE WIRES.
CODE BLOCKS
ASSEMBLE THE FOLLOWING CODE BLOCKS AS SHOWN IN THE ABOVE IMAGE USING TINKERCAD SIMULATION ENVIRONMENT.
IF YOU CAN NOT UNDERSTAND FROM THE IMAGE PROVIDED HERE THEN I RECOMMEND YOU TO SEE THE VIDEO PROVIDED HERE OR CLICK THIS VIDEO
PLEASE COMMENT, LIKE, SHARE AND SUBSCRIBE. THANK YOU.