-->
Page 1 of 2

Trouble with nodemcu esp12e not reading correct voltage A0

PostPosted: Sun Sep 04, 2016 11:45 am
by GixxerPilot
Hey guys,

I am doing a simple project where I am sending temperature data from a TMP36 sensor to a thingspeak channel.
For some reason I am not getting the correct voltage input on my A0 port on the board. I meassured it to be 0,68 volts using a multimeter but the serial monitor tells me it is around 1.1 volt. I am using the code from the arduino guide book and when using on an arduino board instead it gives back the correct value. Is my nodemcu board damaged or how can this be?

Re: Trouble with nodemcu esp12e not reading correct voltage

PostPosted: Mon Sep 05, 2016 10:53 am
by mrburnette
Is my nodemcu board


NideMCU has voltage dividers onboard....

More here:
http://www.hackster.io/rayburne/nodemcu-esp8266-remote-temperature-using-websockets-5956c4


Ray

Re: Trouble with nodemcu esp12e not reading correct voltage

PostPosted: Thu Sep 08, 2016 11:55 am
by GixxerPilot
Thank you for the reply.

Just a few questions to make sure I have understood this correctly. My board has the same onboard resistors?
In order to use the A0 ACD port with a tmp36 sensor I would then have to modify the board in the same way he has done in the article? I have purchased a digital DHT22 and i am planning on using this instead. Being digital I guess that wont present me with the same problems?

Is that the only way you can get a reliable voltage reading from the A0 port by removing the onboard resistors?

Re: Trouble with nodemcu esp12e not reading correct voltage

PostPosted: Thu Sep 08, 2016 12:04 pm
by GixxerPilot
test