If speed is not an issue, and you want to look your robot car like it can actually see and think, than this method is surely a very satisfying one.
As an alternative to the 3 wheel robot, an RC controlled car with multiple HC-SR04 sensors, is the next best thing to try out.
With all the testing done, it’s time to put all the gathered knowledge together, and build the final product: a self-driving-obstacle-avoiding-smart-robot-car, with display and illuminated encoder button. If it works as great as it sounds, it is an awesome machine.
Making a driving vehicle avoiding obstacles using HC-SR04 sensors, turns out to be quite challenging. But despite the shortcomings of this hardware, it is achievable in a certain environment.
If you haven’t read the previous tutorial on multiple sensors, you may want to read that one first: Multiple HC-SR04 with Arduino using interrupts With using multiple interrupts, there’s the disadvantage that the sensors may interfere with each other, when facing the same direction, and crossing each others line of sight. Also, since most Arduino […]
If you need to measure distances or detect objects, but you don’t have a large budget, the HC-SR04 Ultrasonic Sensor may be something for you.
When using autonomous vehicles, it’s important to be able to detect obstacles fast and efficient. The ideal way to do this, is by using Lidar, but that may turn out expensive. A much cheaper way is by using multiple ultrasonic sensors like the HC-SR04. This tutorial explains how you can use multiple HC-SR04, reading and […]