Skip to Content
Make a Mind-Controlled Arduino Robot
book

Make a Mind-Controlled Arduino Robot

by Tero Karvinen, Kimmo Karvinen
December 2011
Intermediate to advanced
96 pages
2h 1m
English
O'Reilly Media, Inc.
Content preview from Make a Mind-Controlled Arduino Robot

Attaching the Line-Detecting Sensor

Cut a 3 cm piece from the aluminum pipe. To make sure that the pipe does not short-circuit the sensor, we’ll put a round piece of felt pad on the other end. Make a hole in the felt pad so that you can push the screw easily through it (Figure 1-12).

3 cm piece of aluminum pipe for the line-detecting sensor and a felt pad to prevent short circuits

Figure 1-12. 3 cm piece of aluminum pipe for the line-detecting sensor and a felt pad to prevent short circuits

Put a 3x42 mm screw through the pipe and secure the line detector in the front of the robot (Figure 1-13). The emitter/receiver part of the sensor has to be facing down.

Line-detecting sensor attached

Figure 1-13. Line-detecting sensor attached

Tip

How does the line-detecting sensor work? It has a infrared emitter and a infrared detector. Reflective surfaces bounce the infrared light back to the infrared detector. So we know there is no line. This does not happen with nonreflective surface, such as a black line. Generally reflective surfaces are white and nonreflective ones are black. Just keep in mind that this is not always the case. We have had black paper that was more reflective than our white tape. With three or more line-detecting sensors, you can make a line-following robot. Instead of just turning around like our robot, line followers try to keep the black line in the center sensor. If the side sensors detect the line, ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

Arduino Robot Bonanza

Arduino Robot Bonanza

Gordon McComb
Make: Arduino Bots and Gadgets

Make: Arduino Bots and Gadgets

Tero Karvinen, Kimmo Karvinen
Arduino Projects for Amateur Radio

Arduino Projects for Amateur Radio

Jack Purdum, Dennis Kidder
Arduino Essentials

Arduino Essentials

Francis Perea

Publisher Resources

ISBN: 9781449312800Catalog PageErrata