Page 284 - Hacking Roomba
P. 284
Chapter 13 — Giving Roomba a New Brain and Senses 265
FIGURE 13-6: MacBS2 for Mac OS X
After you’ve downloaded one of the programming environments, getting it running and
connected to the Basic Stamp is easy. Plug a 9V battery or power adapter into the Board of
Education, connect the Board of Education serial port to your USB-to-serial adapter, and
click the Identify/ID Stamp button. The program should beep and tell you it found the Basic
Stamp. Hook up the familiar LED and resistor circuit to a pin on the Stamp and click Run.
The program will be tokenized and uploaded to the Stamp and start running. Figure 13-7
shows a typical setup and a running blink program (although the light looks like a simple
white circle when shown in a black-and-white photograph).
If the Stamp isn’t detected, make sure the 0-1-2 power switch on the Board of Education is set
to position 1 or 2.