28.01.2013 Views

Build Your Own Combat Robot

Build Your Own Combat Robot

Build Your Own Combat Robot

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

260<br />

HAPTER 11 introduced you to several sensor concepts that can be<br />

used to enhance the performance of your combat robot. All of the concepts used a<br />

microcontroller that received control input from an R/C receiver and a set of sensors,<br />

and output control signals to relays and ESCs. This chapter will introduce<br />

what microcontrollers are, and how they can be used. Virtually all robots have<br />

some form of intelligence that can range from simple switches, to a simple radio<br />

control (R/C) system, to fully integrated microcontrollers with neuro-networks.<br />

Most of this book focused on robots that use traditional R/C equipment to control<br />

the robot. Some R/C equipment has advanced programmable features that can<br />

give the operator customized control options.<br />

To implement advanced controls on a robot, you need to use microcontrollers.<br />

The following is an introduction to microcontrollers.<br />

Microcontroller Basics<br />

Most people who develop robots use the term “microcontroller” as a generic term<br />

to refer to a small control system with input and output control capabilities.<br />

Microcontrollers are not computers or microcomputers. Simply put,<br />

microcontrollers are designed to accept input from a set of electrical signals and<br />

output other electrical signals in response to commands programmed into the device.<br />

Computers are designed to accept input from humans and output the results<br />

back to the humans. A computer will include several microcontrollers, but a<br />

microcontroller will not have a computer inside. Microcontrollers, which interpret<br />

a human interface and send electrical signals to the rest of an electronic device, are<br />

often implemented as small, embedded processors found in many modern electronic<br />

gadgets from Furbies to watches, from thermostats to microwave ovens,<br />

from radios to television sets, and from cell phones to electronic ignition systems<br />

found in cars. They are found in many electronic devices made today.<br />

Many controllers are designed specifically for robotic and similar applications,<br />

including Basic Stamp, Handy Board, BrainStem, OOPics, BotBoards, and countless<br />

other controllers. Figure 12-1 shows a photograph of several of the more-popular<br />

microcontrollers.<br />

Some controllers are slave controllers in which commands are given and executed.<br />

An R/C transmitter/receiver pair is a form of slave controller: the input<br />

from an operator using the transmitter is executed and transmitted to the receiver,

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!