O'Reilly logo

Robot Building for Teens by Behnam Salemi

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

CHAPTER 5PROGRAMMING THE DB-BOT

In the previous chapter, you built DB-Bot, a programmable robot that has a sensor to measure distance, two wheels to move freely in the environment, an LED, and a micro-controller to run its control programs. In this chapter, you will program the DB-Bot.

A software program determines the behavior of the robot, specifying what actions the robot will take given the information received by its sensors. A carefully designed and tested program allows the robot to take reasonable actions in its environment such that a human being observing the robot would agree that the robot is behaving intelligently. The software programs that you will write demonstrate intelligent behavior by doing the following:

Sensing the environment ...

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