Thursday, June 21, 2012

Sensors: Barometric Pressure and ... a faulty Microphone

Baometric Pressure Sensor

Setup:

The pins from left to right on the sensor's breakout board are: VCC (to 3v3), Ground (to Gnd on Arduino), EOC, XCLR (both of which we ignore for now), SCL (Serial Clock to A5), SDA (Serial Data to A4). The sensor can be found here

An important note is that this sensor needs to use the 3v3 (3.3 V) input. Putting 5V through it will fry the device. Using some sample code from the Quickstart Guide on the product page (which actually measures both Temperature and Pressure), I found that the temperature agrees roughly with the temperature read out from the temperature sensor. 

Room Temperature: 24.5 degrees C (the Temperature/Humidity sensor read out 24 degrees C)
Pressure: 98.4 kPa

The current draw is 60-70 mA.


Microphone

We had also ordered a microphone, but it didn't seem to be able to register anything when we plugged it in (AUD to Analog 0, GND to GND, VCC to 5V, with an 8.2k resistor between GND and AUD). Even if I clapped or tapped the microphone, nothing registered.

No comments:

Post a Comment