www.servomagazine.com/index.php?/magazine/article/september2011_Intermaggio
Understanding the Sensor
The sound sensor for NXT is a bit deceptive. Unlike
a microphone, it can’t identify specific sounds. Instead,
the NXT sound sensor detects volume in decibels which
means that its reading will always be the loudest sound it
detects.
Today, we’ll be using the sound sensor to make Eddie
do a few different things — from running from sound, to
steering based on how loud you are, to drawing an
awesome sound gauge.
The Speed of Sound
We’ll start by making Eddie react in his movement to
the sounds he hears. If Eddie hears a loud noise, he’ll move
very quickly; if he hears no noise, he’ll stop.
First, we’ll need to build the sound sensor.
Building Instructions: Sound Sensor Attachment
Start with a 13-hole studless
beam. Snap in two standard
friction pins and two double
friction pins as indicated.
1.
Attach the
sound sensor.
3.
Close the assembly
off with another
nine-hole studless
beam.
4.
Add a nine-hole studless
beam with two double
friction pins.
2.
Attach the assembly
to Eddie 2.0. Plug
the sound sensor
into port 2.
5.
SERVO 09.2011 63