no analogWrite, though, so it must still be immature :/
and bluetooth integrated .. cool
@skorokithakis Dude I gotta get to sleep hahah its 4am here .. chat tomorrow buddy .. sleep well ..5am in greece ..? Insomnia ?
nah man, going to bed now :P
@skorokithakis bwahahaha .. go sleep !
So I have a wemos D1 mini that I am using for remote water tank level sensing via the thingspeak IOT. I send the esp into deepsleep for 1 hour then wake, turn on a ping sensor and take a reading, measure the battery voltage and then connect to the network and send the readings to thingspeak. My issue is that after about two days it fails to go into deepsleep and sends the battery flat. I have a "deepsleep on fail to connect to wifi" routine in the sketch.
@moose4621 the code looks solid the battery dying seems like a problem. I would attach a deep cycle cell battery with a solar plane onto it, this way you can always have power be replenish on your downtime/ deep-sleep periods
@Allwaysawake Thanks for your reply. I probably should have added that it has a 800mah lipo and a solar panel attached.
@Allwaysawake When it is running I can see the battery hitting full charge by about midday everyday and then, crash with no more readings.
@moose4621 what’s the size of your solar panels...?
Make that a 350mah lipo.
Um, 5watt 6v I think?
@Allwaysawake I also have the wemos battery shield attached with built in charger but I removed the leds which accounted for most of the power drain.
@Allwaysawake Its a 110 x 60mm panel. 6v 1w.
@Allwaysawake I see the battery voltage hits 4.2v at midday and by early morning it is about 4.05 to 4.1v just before the sun comes up.