Left here for archival purposes.

User avatar
By chadouming
#12365 I'm in STATIONAP mode and readvdd33() seems to work fine for me. I'm using 1.0.0 sdk with custom made nodemcu build. One thing tho, it seems like the read is off by about 200 mvolts. Not too much of a hassle since it seems to always be off by the same offset.
User avatar
By alonewolfx2
#12373
chadouming wrote:I'm in STATIONAP mode and readvdd33() seems to work fine for me. I'm using 1.0.0 sdk with custom made nodemcu build. One thing tho, it seems like the read is off by about 200 mvolts. Not too much of a hassle since it seems to always be off by the same offset.

can you upload your custom build nodemcu with sdk 1.0
User avatar
By chadouming
#12381
alonewolfx2 wrote:
chadouming wrote:I'm in STATIONAP mode and readvdd33() seems to work fine for me. I'm using 1.0.0 sdk with custom made nodemcu build. One thing tho, it seems like the read is off by about 200 mvolts. Not too much of a hassle since it seems to always be off by the same offset.

can you upload your custom build nodemcu with sdk 1.0


https://github.com/chadouming/nodemcu-f ... 6/prebuilt

I'm making new build often.
User avatar
By tomte76
#12768 I observed a similar behaviour with my homebrew nodemcu with the 1.0.0 SDK. I changed the 096dev branch of nodemcu to use the SDK 1.0.0 libraries and espconn.h. Then I compiled with the 1.0.0 version of esp-open-sdk. The measured values are fine but after using a "print(node.readvdd33())" for a few times, the system starts rebooting on issuing the command:

> print(node.readvdd33())
3370
> print(node.readvdd33())
3370
> print(node.readvdd33())
3370
> print(node.readvdd33())
3369
> print(node.readvdd33())
rB�Ǧ�SU ���J����^]��HġH�
NodeMCU 1.0.0 Dude-Edition v0.1 build 20150327 powered by Lua 5.1.4
lua: cannot open init.lua
> print(node.readvdd33())
bB�1
�S��Ư��ΌC��=ơH�
NodeMCU 1.0.0 Dude-Edition v0.1 build 20150327 powered by Lua 5.1.4
lua: cannot open init.lua
> print(node.readvdd33())
bBʎ{�Sb9���-B���J�����H�
NodeMCU 1.0.0 Dude-Edition v0.1 build 20150327 powered by Lua 5.1.4
lua: cannot open init.lua
>

Waiting for a while or powercyling the module will solve the problem and everything starts over. I'll check tomorrow, if the period of time between the repeated usage of the function has any influence.

Thank you.