This program makes your robot drive forward, with the speed of the robot controlled by the sound level. The louder you yell at the robot, the faster it will drive! The program uses the
NXT Sound Sensor block in the Measure – dBA mode to get the sound level on a Numeric data wire. The result is wired to the Power input of a
Move Steering block to make the sound level control the motor power. The process is repeated in a
Loop so that the motor power is continuously adjusted based on new sound readings.