22Ultrasonic Robot

In this project we’ll combine an ultrasonic sensor with two DC motors and a servomotor to create a simple object-avoiding robot.

Image
Image

PARTS REQUIRED

Arduino board

Jumper wires

L293d motor shield

2 DC motors and wheels*

HC-SR04 ultrasonic sensor

9V AA battery pack

Robot base with fittings*

Center wheel*

Tower Pro SG90 9g servomotor

LIBRARIES REQUIRED

Servo

NewPing

Adafruit Motor Shield V1

* These items can be purchased as part of a kit

HOW IT WORKS

The key parts of the ultrasonic robot are the HC-SR04 ultrasonic sensor, L293d motor ...

Get Arduino Project Handbook, Volume II now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.