Selbstgebaute Feuchtigkeitssensoren für den Bayernlüfter
This project aims to aid at self-building sensors for the Bayernluefter by
- replacing them with cheap humidity and temperature sensors
- translating the data via Arduino-like microchips
- emulate the original
HYT131SHT31 temperature and humidity sensor
Hence this project includes
- some code to write data in the
HYT131SHT31 format - a framework to plug the data from one sensor to the other
Anyone with a bit of joy in tweaking code. Essentially the only knowledge required is how to include a sensor library and set it up as well as read the values from the sensor afterwards.
Place your code which reads temperature and humdity values from a connected sensor in main.ino
.
Do your own sensors provide data in an integer format or double? Modify the defintions at the top the file accordingly.
Make sure that the global values cur_temperature
and cur_humidity
are set on a regular interval.
Have a look at the configuration in config.h
. Compile twice, once with ITC_ADDRESS
set to the address for each sensor and upload the matching code.
Modified code that fits for a certain type of sensor can be found in the branches of this project, see for example the code for using the DHT22.
We actually ordered the sensor-kit from Bayernluft and it includes the SHT31 and not the HYT131. Also emulated HYT131 code would not work, SHT31 emulation did though.