Elegoo Smart Robot Car Part 3 - Collision Avoidance & Line Following

Описание к видео Elegoo Smart Robot Car Part 3 - Collision Avoidance & Line Following

In the third and final installment of my series on the Elegoo Smart Robot Car, I will show you how to use the Collision Avoidance and Line Tracking capabilities of this Arduino-based robot car kit.

Smart Robot Car Kit from Elegoo - https://www.elegoo.com/product/arduin...
Full article at https://dronebotworkshop.com/elegoo-r...
More articles and tutorials: https://dronebotworkshop.com
Join the conversation on the forum: https://forum.dronebotworkshop.com
Subscribe to the newsletter and stay in touch:https://dronebotworkshop.com/subscribe/

You don’t need to own the Elegoo car to perform these experiments as they will work with any Arduino-based design that uses the same components. Nonetheless, the Elegoo car is a very good buy and makes an excellent kit for both beginners and experienced Arduino enthusiasts.

The robot car uses both an HC-SR04 ultrasonic distance sensor and an SG90 servo motor to perform obstacle avoidance. The sensor is mounted on the servo motor shaft and scans the room to determine which of three directions has the longest path to an obstacle. It then moves the car in that direction.

The line tracking (or line following) capabilities make use of a sensor mounted underneath the robot car. The sensor consists of three optical source/sensor arrays that can detect the presence or absence of a black line. Elegoo even provides a roll of black electrical tape for you to create a lined track, which I demonstrate in this video.

I’ll go over the sketches used to make all the magic happen, including a few changes I made to customize my robot car, you may want to make similar modifications.

Here is the table of contents for this video:

00:00 - Introduction
02:30 - Collision Avoidance Operation
04:39 - Servo Test
08:17 - Collision Avoidance Sketch
17:27 - Collision Avoidance Demo
19:05 - Line Following Operation
23:28 - Line Following Sketch

If you missed the other two parts of this video series you can find them here:

Part 1 - Building the Smart Robot Car -    • Building the Elegoo Smart Robot Car P...  
Part 2 - Bluetooth and Infrared Remote Controls -    • Bluetooth & IR Remote - Elegoo Arduin...  

As always you will find a detailed article that accompanies this video on the DroneBot Workshop website. And while you are there make sure to sign up for my newsletter.

Комментарии

Информация по комментариям в разработке