... Left 242
Parts List 242
Chapter 14. Color Robotic Vision System 243
CMU Camera 244
Serial Communication 245
VB Application Program 248
Interfacing the CMU Camera to a Robot 250
PIC 16F 84 Runs ...
(EPIC) and a programming carrier board (hardware). The EPIC software
package has two executable files, one for DOS and another version of the soft-
ware for Windows.
It is t...
... -p16f 84 wink.bas
The compiler reads the text file and compiles two additional files, an .asm
(assembly language) and a .hex (hexadecimal) file.
The
wink.asm file is the assembly language equivalent ... simple. To install, run the
install.bat file on the 3.5-in EPIC diskette. The install.bat file exe-
cutes the main self-extracting program that automatically creates a...
... microcontroller installed onto the board. If you have an ac
adapter for the EPIC programmer board, plug it into the board. If not, attach
two fresh 9-V batteries. Connect the “battery on” jumper to apply ... disconnect the printer, if one is connected, and attach
the EPIC programming board, using a 6-ft DB25 cable.
When you connect the EPIC programming board to the...
... command to communicate and output mes-
sages to the LCD display.
The PicBasic and PicBasic Pro compilers can send and receive serial
information at 300, 1200, 240 0, and 9600 Bd. Data are sent as ... breadboard.
4 (MCLR), a 4- MHz crystal with two (22-pF) capacitors and a 5-V power sup-
ply. Note: The 4- MHz crystal and two (22-pF) capacitors make up an oscillator
that is...
... allow the robot
to travel and move around the house in a random manner. The idea is that
while traveling in a haphazard manner, it will eventually make its way
throughout the rooms,
cleaning the ... out-
put pins and then access them in our programs. There are other commands
you can use to accomplish the same thing.
The PicBasic and PicBasic Pro compilers have two ba...
...
Building a Walter Tortoise
We can imitate most functions in Walter’s famous tortoise. My adaptation of
Walter’s tortoise is shown in Fig. 8.1. To fabricate the chassis, we need to do a
little metalwork. ... Remove the bearing from the output gear (see Fig. 8.10). The
bearing needs to be removed so that you can cut away the stop tab from the
gear. Use a hobby knif...
... also vary from one another and then are not as closely matched.
Once you have a pair of CdS cells to use, they need to be attached to the
robot. I soldered the CdS cells and capacitors to a ... first look at how the standard program functions.
Fudge Factor
The variable RV (range value) is the fudge factor. At the beginning of the pro-
gram the variable RV is ass...
... 9.9).
The second gearbox motor is secured to the other side in a similar manner.
Back wheels
The shaft diameter of the gearbox motor is a little too small to make a good
friction fit to the ... on the front and
back legs. In the F position, the front and back legs are moved backward
simultaneously, causing the robot to move forward. The walking cycle can...
... programming scenario, when the HM2007 recognizes a command, it can signal
an interrupt to the host CPU and then relay the command it recognized. The
HM2007 c
hip can be cascaded to provide a larger ... with the drilled holes.
4
Pressure is applied to bend the aluminum bar at a 90° angle. It’s best to apply
pressure at the base of the aluminum bar close to...