top of page

Software Architecture
​
During the software development phase, we experimented with different codes. At some point we had three different codes at one; one for INA219 sensor, another one for the RELAY and another one for the DHT22 sensor. That was causing of CPU to do more work because more codes were being used and also they were constantly running. With the final version we run the code once but we set a crontab to run the code once an hour or any desired time. This way, power consumption reduces and battery life is extended.
​

bottom of page