-->
Page 4 of 7

Re: Low Power Battery Powered Surveillance Application

PostPosted: Fri May 06, 2016 9:40 am
by martinayotte
Google is your friend for such easy subject :

https://www.google.com/#q=ESP8266+DS18b20

Re: Low Power Battery Powered Surveillance Application

PostPosted: Wed May 11, 2016 2:58 pm
by RichardS
How are the monitoring the battery voltage? I expect some sort of voltage divider so the input does not exceed 1.0V

I expect there is an internal reference of 1.0V? Does anyone know for certain how this works?

RichardS

Re: Low Power Battery Powered Surveillance Application getVc

PostPosted: Wed May 25, 2016 8:43 pm
by lorneb
Hi great idea to keep the data in RTC Ram,

I have some questions,

From what I've read the radio needs to powered up in order to use the ESP.getVcc() function, see: https://www.bountysource.com/issues/261 ... act-values

I noticed this because the values of the getVcc() varied greatly between when the detection was made ( wifi in sleep ) and when the email was about to be sent (wifi awake)

Has anyone else seen this? (I'm using nodeMCU 0.9 and 1.0 board types

2nd up, the line of code: { if (ESP.getVcc() < BATT_WARNING_VOLTAGE)
if ESP.getVcc() returns an Int representing Mv, then how is this ever going to be less than the #Define value you have of 2.X ?

Re: Low Power Battery Powered Surveillance Application getVc

PostPosted: Thu May 26, 2016 2:59 am
by torntrousers
lorneb wrote:From what I've read the radio needs to powered up in order to use the ESP.getVcc() function, see: https://www.bountysource.com/issues/261 ... act-values


Worth trying with the latest code as that has fixed this for me. See: https://github.com/esp8266/Arduino/issues/1961