Battery powered temp sensor, minimize drain?
-
I have build a simple battery powered sensor using a simple voltage divider as described here. The resistor (10k) is connected to Vcc just as the battery and I measure voltage between thermistor(10k) and ground. Will this constant connection drain the battery or should I have one pin powering the circuit just when I want to wake up the sensor and measure?
-
I have build a simple battery powered sensor using a simple voltage divider as described here. The resistor (10k) is connected to Vcc just as the battery and I measure voltage between thermistor(10k) and ground. Will this constant connection drain the battery or should I have one pin powering the circuit just when I want to wake up the sensor and measure?
@Efflon yes that will drain the battery. A 10k resistor will give 3.3V/10000=0.00033A = 0.33mA. AA batteries normally supply about 2,000mAh. With 0.33mA drain, the voltage divider alone will drain the batteries in about 6,000 hours or 250 days. The Arduino and sensors will add to that drain to make battery time even shorter.
See https://www.mysensors.org/build/battery for the official MySensors recommendations for battery-powered sensors.
-
@Efflon yes that will drain the battery. A 10k resistor will give 3.3V/10000=0.00033A = 0.33mA. AA batteries normally supply about 2,000mAh. With 0.33mA drain, the voltage divider alone will drain the batteries in about 6,000 hours or 250 days. The Arduino and sensors will add to that drain to make battery time even shorter.
See https://www.mysensors.org/build/battery for the official MySensors recommendations for battery-powered sensors.
@mfalkvidd Thanks, I have read the link and followed the instructions regarding the LED. I will re-build my sensor to use a dedicated pin for power instead.
But wait! Since it's only when measuring I have a voltage division with 10000, the normal case would be 3.3V/(10000+~10000)=0.15mA and thus 500days? Well, a bit of code instead of changing batteries is better. -
@mfalkvidd Thanks, I have read the link and followed the instructions regarding the LED. I will re-build my sensor to use a dedicated pin for power instead.
But wait! Since it's only when measuring I have a voltage division with 10000, the normal case would be 3.3V/(10000+~10000)=0.15mA and thus 500days? Well, a bit of code instead of changing batteries is better.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login