Time to test out my new sensors!
BMP085 Air Pressure SensorĀ
I wired up my Air Pressure sensor following the tutorial on Adafruit. I connected the sensor to 3.3V and ground. I also connected the i2c SCL clock pin to the i2C clock pin on my Arduino (Analog pin #5), and the i2c SDA data pin to the Arduino i2c data pin (Analog pin #4).
I then downloaded and installed the Adafruit Sensor Library and the Adafruit BMP085 Sensor Library. I used two sample sketches provided by the Adafruit Tutorial to test the sensor. Yes, it does work!
TSL2561 Luminosity Sensor
I wired up my TSL2561 Luminosity Sensor in a similar fashion to the BMP085 Barometric Pressure Sensor following the Adafruit Tutorial.
I also installed the Adafruit TSL2561 Sensor Library. Except, I wasn’t able to get any readings! When I ran the sketch, the only result I returned was “sensor overload.” In the sketch, it says:
/* If event.light = 0 lux the sensor is probably saturated
and no reliable data could be generated! */
Serial.println(“Sensor overload”);
So I guess the sensor isn’t reading anything. Not sure what the problem is, and after re-checking my wiring, and that the library was indeed installed, I decided to move on.
DHT22 Temperature-Humidity Sensor
This one was super easy to wire up following the Adafruit tutorial. I installed the DHT22 Adafruit Library and ran the sketch to test the sensor.
So all I need to figure out is how to get the TSL2561 Sensor working! I think the DHT22 sensor is a little big for my wearable, but we will see…