Skip to content

Environmental logging [temperature, humidity, pressure, light]

DD4WH edited this page Jul 10, 2018 · 4 revisions

Environmental logging

Environmental data can be logged by attaching different sensors to the microSoundRecorder. At the moment there is support for the following sensors:

BME280: temperature, humidity, pressure [4,- EURO] https://www.ebay.de/itm/322667108319

BH1750: light [3,- EURO] https://www.ebay.de/itm/BH1750-GY-302-Lichtsensor-Helligkeitssensor-Sensor-Modul-I2C-Arduino-Raspberry/162351871499

Pin connections:

BME 280: Vin = 3.3V, GND = GND, SCL = SCL pin 19, SDA = SDA pin 18, I2C adress: 0x76

BH1750: Vcc = 3.3V, GND = GND, SCL = SCL pin 19, SDA = SDA pin 18, I2C adress: 0x23

The environmental data measurements are written onto the SD card into a separate txt.-file that can be read with any spread sheet software.

The frequency with which the environmental data is read and written to the SD card, is set in: Audio_hibernate.h --> line 161

#define ShortSleepDuration 10 // every ten seconds the Teensy wakes up and records environmental data

You can’t perform that action at this time.