rc-gateway/temp_sensor
2023-02-22 22:30:24 +01:00
..
2021-12-28 22:09:18 +01:00
2022-10-07 19:52:34 +02:00
2022-10-07 13:43:42 +02:00
2023-02-22 22:30:24 +01:00

Temperature sensor

It uses a TMP36 to read temperature and it is optimised for power consumption.
It uses watch dog that wakes every 8s and increments a counter. Once the counter reaches a certain value (e.g. equivalent to 1 hour), it will read and send temperature to the gateway.
Every 12 hours the voltage is also read and sent.

According to the battery life calculator, a cell coin battery with a capacity of 200mAh should last for ~ 3 years, given that:

  • Current consumption of device during sleep is 4.5uA
  • Device wakes up every hour
  • Current consumption of device during wake is 10mA
  • Duration of wake time is 1000 ms

Schematics