Node MCU Deep Sleep or ON/OFF
Posted: Thu Apr 26, 2018 3:51 am
Hi!
I am building a sensor to my sewage tank. The plan is to have a float switch (like on a pump) as a high level sensor and a NodeMCU board to send this information on e-mail.
Can I use the float switch directly to power on the board instead of leaving the board into a Deep Sleep to save battery life? Plan is to power it with 3 AA batteries and have the float switch in between the + line of the battery.
It will signal 1 time per month. After sending the e-mail, something will cut off the power again like this: https://www.aliexpress.com/item/DC-3-12 ... 0.0.XM3Qpn . So when the float switch turns on the NodeMCU it connects to wifi and sends 1 email. In approx 1 minute the Delay circuit will cut the power again, so only this circuit will be under power as long as the float switch keeps the power on (1-3 days). After the truck comes and the float switch will go down and cut the power, the battery is not drained anymore. How much could this circuit power consumption be?
If i could solve the battery issue, it would be more fancy to use a waterproof ultrasonic sensor instead, but would be nice to have a 12 month lifetime for the batteries, but I can not see this without cutting the power, as Deep Sleep still drains the battery on NodeMCU
I am building a sensor to my sewage tank. The plan is to have a float switch (like on a pump) as a high level sensor and a NodeMCU board to send this information on e-mail.
Can I use the float switch directly to power on the board instead of leaving the board into a Deep Sleep to save battery life? Plan is to power it with 3 AA batteries and have the float switch in between the + line of the battery.
It will signal 1 time per month. After sending the e-mail, something will cut off the power again like this: https://www.aliexpress.com/item/DC-3-12 ... 0.0.XM3Qpn . So when the float switch turns on the NodeMCU it connects to wifi and sends 1 email. In approx 1 minute the Delay circuit will cut the power again, so only this circuit will be under power as long as the float switch keeps the power on (1-3 days). After the truck comes and the float switch will go down and cut the power, the battery is not drained anymore. How much could this circuit power consumption be?
If i could solve the battery issue, it would be more fancy to use a waterproof ultrasonic sensor instead, but would be nice to have a 12 month lifetime for the batteries, but I can not see this without cutting the power, as Deep Sleep still drains the battery on NodeMCU