EasySensors / ButtonSizeNode2

The Button Size Node 2 is a low cost wireless Arduino IDE compatible (the Atmel ATMega328P) micro-controller + RFM69HW(HCW) 915, 868 or 433 MHz radio on-board. BS2032-2
7 stars 0 forks source link

Voltage divider not suitable for 6V batteries #3

Open ger-ator opened 5 years ago

ger-ator commented 5 years ago

The voltage divider (R3 = 1M, R4 = 470k) is suitable for measuring up to 3,44V using 1,1V reference. So it can't measure 6V (2xCR2032) using the 1,1 reference.

yurysvirida commented 5 years ago

are you referring to switch-box code?

ger-ator commented 5 years ago

I'm using buttonsizenode2 with a custom nodemanger based sketch. Most battery powered sketches I have worked with use 1,1V internal reference for battery monitoring. Default reference could be used instead but I guess it would be less accurate. Though it's easy to change 470k resistor for 210k and enable to use 1,1V reference. Not a bug really, just a suggestion.

yurysvirida commented 5 years ago

ic, in next version there will be 3MOhm x 470k. internal will be fine then. and some 2 uA drain could be saved

On Sun, Mar 31, 2019, 11:22 PM ger-ator notifications@github.com wrote:

I'm using buttonsizenode2 with a custom nodemanger based sketch. Most battery powered sketches I have worked with use 1,1V internal reference for battery monitoring. Default reference could be used instead but I guess it would be less accurate. Though it's easy to change 470k resistor for 210k and enable to use 1,1V reference. Not a bug really, just a suggestion.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/EasySensors/ButtonSizeNode2/issues/3#issuecomment-478378425, or mute the thread https://github.com/notifications/unsubscribe-auth/AR1yvZeVJXYTBHfU5us3agMaIYyYj64Oks5vcRjxgaJpZM4cQiob .

ger-ator commented 5 years ago

Nice.