A library for environmental sensors (air and water) for Teensy and Arduino with additional background information.
ESensors library
- Blocking and non-blocking reads from many sensors in parallel.
- Sensor readings in adaptable units.
- Output of sensor properties and readings on streams and into CSV files on SD card.
- Hardware independent derived measures, like for example, dew point and absolute humidity.
- Device properties and settings available as metadata.
- BH1750: light intensity
- BME280: air pressure, temperature, and humidity
- DS18x20: temperature
- DS3231: temperature
- TSL2591: light intensity
- DHT: temperature
- STS4x: temperature
- Installation instructions
- User guide
- Class overview
- Sensor chips: Infos on development boards and libraries for specific sensor chips.
- Parameters: Infos on principles, methods, and available chips for measuring various environmental parameters.
In examples/ you find sketches demonstrating the use of the ESensors library.
- sensors: read sensors and write readings to serial.
- logger: periodically write sensor readings with time stamp into a CSV file.
- snoozelogger: same as logger example, but with hibernate between sensor readings.
In utils/ you find useful python scripts.
- sensors.py: plot the content of the csv file written by the ESensors library.
- fixsensortimestamps.py: Fix sensor time stamps.
Inside the pcbs/ folder you find circuit boards using various
environmental sensors.
- Sensors-V1: temperature and light sensor with status LEDs.
- Power supply: some solutions for power supply.
- Add more sensors.
ESensors is used in:
-
EOD-Logger: A 2-electrode logger for recording electric-organ discharges of electric fish.
-
TeeGrid: Electrode arrays based on 8-16channel recording devices for recording electric fish behavior in natural habitats (see Henninger et al. 2018 and Henninger et al. 2020).
-
FishFinder: A replacement for the usual and horrible RadioShack/MP3 player combination for recording electric fish EODs in their natural habitats with lot's of additional features (display, online analysis, acoustic feedabck, environmental parameters).