-->
Page 1 of 4

node.readvdd33() doesn't work anymore

PostPosted: Wed Jan 28, 2015 10:26 am
by Hans174
Calling node.readvdd33() restarts the ESP8266.

Code: Select all
> print(node.readvdd33())
J²â1Zøþv9Bk÷¨v9Bkbs«V¦ñá

NodeMCU 0.9.5 build 20150127  powered by Lua 5.1.4
lua: cannot open init.lua
>


Re: node.readvdd33() doesn't work anymore

PostPosted: Wed Jan 28, 2015 10:36 am
by alonewolfx2
i take a quick look and it's not working if wifi mode is station. you need to use wifi.sta.disconnect() before meassure voltage in station mode. but its working correctly in stationap mode.

Re: node.readvdd33() doesn't work anymore

PostPosted: Wed Jan 28, 2015 1:40 pm
by Fr4gg0r
Good finding.
That explains why it has never worked for me. :lol:
Damn bug (obviously not in lua, but in espressif's code).

Re: node.readvdd33() doesn't work anymore

PostPosted: Thu Feb 19, 2015 3:39 pm
by jankop
It is a pity that node.readvdd33 function () is unstable and almost unusable . Measured voltage faithfully reproduces the input voltage. This could very well be used for battery powered sensors.