Robot intelligent : Contourner les obstacles – Assemblage
Introduction
Let’s get to the assembly immediately by wrapping our heads a little around how this clever little companion of yours, i.e. the ultrasonic sensor will succeed in avoiding potential dangers:
This robot will check how far the object nearest to it is (in every direction) using an Ultrasonic Distance Sensor and then take the necessary action, i.e. whether it is safe to move ahead or it should take a detour. ‘But, hang on… HOW will it check for objects in EVERY direction?’ before you start thinking of thinking about this question, we give you – Servo Motor. The servo motor will rotate the sensor in different directions. When the sensor is convinced (even robots have insecurities) that the path clear, it will let the robot know and it will move ahead till it encounters any other obstacle in its way.
Components Required
Now let’s get back to the main objective – adding the sensor to your already efficient comrade. For this task, you need:
- An ultrasonic distance sensor
- A holder to hold the sensor
- A servo motor
- Servo motor accessories
- M2 bolts of 12mm length
- M2 nuts
- And, a screwdriver
Everything necessary is available in the evive starter kit. Let’s begin:
Assembly
- Place the ultrasonic sensor in the holder as shown in the figure and fasten it using 12mm M2 bolts and M2 nuts.
- Attach the servo horn to the base of the holder as shown in the figure using self-threading screws (the servo horn and self-threading screws are available with the servo motor in the kit).
- Insert the servo motor into the slot in the chassis and fasten it using 12 mm M2 bolts and M2 nuts as shown the figure below:
- Finally, attach the servo horn-sensor holder assembly to the servo head, as shown in the figure:
And it’s done! We’ll set the servo angle in the next topic.