Basic HTML Version

|  | Table of Contents |  | View Full Version

Page 157 - 2615_KEC
P. 157

    CAPSTONE PROJECT

                     PROJECT NAME: The Self-Driving Revolution: Build Your Own Obstacle-Avoiding 4-Wheel

                     Objective:
                     Students will build an autonomous 4-wheel car that uses an ultrasonic sensor and continuous servo
                     motors to detect obstacles in its path and automatically stop to avoid collisions. This capstone
                     project focuses on sensor-based automation without Bluetooth control.

                     Steps:

                     1.  Assemble the 4-Wheel Car:

                             Use a readymade chassis for the 4-wheel car.
                              Attach  4 continuous servo motors  (2 for  front  wheels,  2 for  rear  wheels)  to  control
                             movement.

                     2.  Integrate the Ultrasonic Sensor:

                             Connect the ultrasonic sensor to the Micro:bit via GPIO pins.

                             The sensor will measure the distance between the car and any object in its path.

                     3.  Programming for Obstacle Detection:
                              Program the car to move forward until the ultrasonic sensor detects an obstacle within a

                             predefined range (e.g., 10 cm).
                             When an obstacle is detected, the car will stop automatically to avoid collision.

                             The car will remain stationary until the path is clear.

                     4.  Testing the System:

                             Test the car by placing objects in its path and checking if it stops in time.
                             Adjust the sensor’s detection range for optimal performance.

                                                                                                     Capstone Project  155

| 152 153 154 155 156 157 158 159 160 161 162 |