Last updated: 28 September 2012
Prepared by Vanissa Law [vanissalaw@gmail.com]
URL: http://www.parallax.com/tabid/768/ProductID/614/Default.aspx
Cost per unit: $8.99 USD (approx. HKD70)



Sound Impact Sensor.png

General Information

About Sound Impact Sensor
The Sound Impact Sensor detects sound from up to 3 meters away, lending noise-activation possibilities to your project. This sensor also includes an onboard potentiometer for easy adjustment of the range of detection for the sensor. This sensor is compatible with all Parallax microcontrollers and sample code for both the BASIC Stamp 2 and the Propeller chip can be found

Features & Specifications
For full specs refer to datasheet available here:
http://www.parallax.com/Portals/0/Downloads/docs/prod/sens/29132-SoundImpactSesnor-v1.0.pdf
Here’s a list of important features to note:
Detection range up to 3 meters away
On-board potentiometer provides an adjustable range of detection
Single bit output
3-pin SIP header ready for breadboard or through-hole projects
Built-in series resistor for compatibility with the Propeller microcontroller and other 3.3 V devices
Power requirements: 5 V DC
Communication: Single bit high/low output
Operating temperature range: 0° C to +70° C


Getting it to work!
Connections


soundimpactschematics.jpg


Connection

Left leg (Ground) connected to GND
Middle leg (5V) connected to 5V
Right leg (SIG) connected to A5



Routing readings into Max

1. Open Arduino software. From the “File” pulldown menu choose Examples> Firmata> AllInputsFirmata. Then upload the code onto your Arduino.
2. Open the “MaxuinoForLUME” patch. Click the “print” message box on the grey panel. It will print all the available serial ports on your computer into the “umenu” underneath. Choose “usbmodem621” port to route serial data from Arduino into Max.
3. You should see readings routing thru Max and a midi note will be played whenever there is a sound impulse.