Category Archives: Elegoo Smart Car Tutorial

Robotics Training LESSON 18: Obstacle Detection and Collision Avoidance

In this lesson we explore using the HC-SR04 to detect obstacles, and then avoid collisions by stopping the car. This requires a more sophisticated control algorithm for the desired distance for the car to travel. Making it even more tricky, after the obstacle is removed, the car needs to resume its programmed mission. The video shows my solution to this problem

 

Robotics Training LESSON 17: Measuring Distance to Obstacle using the HC-SR04


In this video lesson we show how to use the HC-SR04 ultrasonic sensor to detect the distance to obstacles in a robotic application. We use the sensor to measure the time it takes for a ping to travel from the sensor, to the target, and then back. We use this measured time, and the known speed of sound to calculate the distance to the target. This will be used in future lessons to keep the robot from running into an obstacle.

 

Robotics Training LESSON 16: Using the HC-SR04 Ultrasonic Sensor for Echolocation

In this lesson we explain the concept of echolocation, and how the HC-SR04 ultrasonic sensor can be used to measure the time it takes a ping to go out, bounce off a target and come back. From this ping travel time, it is possible to  precisely calculate the distance to the target. For your convenience, the code we developed is included below.

 

Robotics Training LESSON 15: Using the BLE Bluetooth Module for Robotic Control

In this lesson we show how to control the Elegoo Smart Car Robot Kit using the Bluetooth module. This allows much more accurate control than what was possible with the IR Remote. Below is the code which we developed in the lesson.

 

Robotics Training LESSON 14: Using the BLE Bluetooth Module to Control the Arduino Elegoo Smart Car


In this lesson we learn how to use bluetooth with the Arduino. We show how you can control the Elegoo Smart Car from a Bluetooth App. We show how to download the app on your phone, and then how to program the Ap to control the smart car.