O'Reilly logo

Smart Internet of Things Projects by Agus Kurniawan

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Working with the Pololu Zumo robot for Arduino

In this section, we will make a simple robot with simple movements based on avoiding obstacles. If the robot faces an obstacle, the robot will turn left to avoid it. To make this happen, we can use an Ultrasonic module to detect an obstacle.

I usually use HC-SR04 as an Ultrasonic module. It's cheap, and you can buy it on dx.com, banggood.com, and AliExpress. You can see the HC-SR04 module form in the following figure:

Working with the Pololu Zumo robot for Arduino

The HC-SR04 module provides four pins: VCC, GND, Trigger, and Echo. You can connect Trigger and Echo pins to Arduino digital I/O. But how can you connect the HC-SR04 module into Pololu Zumo ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required