Hello guys ,
I'm working on a system consists of 2 sensors + buzzer + LCD screen .
Now the idea that I struggled to accomplish is that I need a way to make the work of second sensor and LCD are conditional with the work of the first sensor .
for example :
" The light sensor + LCD screen will not work until the temperature and humidity ( DHT11 ) are reached to specific values . I need a way to turn on the second sensor once the required measurements are gained from the first sensor " .
Once I connected the battery with the UNO , both sensors + LCD start working and draw current ( which reduces the battery life ) ,
I want to extend battery life as mush as possible , Is there any method to do that ?!
I heard about sleep mode , but actually I don't know what is it exactly or how to apply it in my code .