1

If I follow this example using my Arduino Uno https://learn.adafruit.com/tmp36-temperature-sensor/using-a-temp-sensor

(using the 3.3V code example at the bottom of the page), I get reasonable temperatures from the readings over serial.

However, if I try this w/ a LoLin NodeMCU V3 (same circuit layout), my readings seem to be consistently higher than what I get running essentially the same code on the Uno. (Only difference in code is omission of analogReference(EXTERNAL), as the Node V3 appears to run on 3.3V as standard )

I'm fairly new to the whole electronics thing, so any pointers are much appreciated...

Circuit is:

 ----- |---------------- GND on breadboard with jumper to MCU
 | TMP36|---------------- AD0 pin on MCU 
 ----- |---------------- breadboard power w/ 3.3V jumper to MCU 
asked Feb 25, 2019 at 19:40
3
  • if you have two sensors, try reading them one each on the uno and node v3 placed side by side. see if the readings are actually different. then swap the sensors around and recheck if it still consistent. also it might sound silly, but could the ambient temperature have actually changed between the two runs ? Commented Feb 25, 2019 at 20:04
  • also this might be relevant... arduino.stackexchange.com/a/54906/16898. Commented Feb 25, 2019 at 20:13
  • the link is not relevant. the NodeMcu has a voltage divider to read to 3.3 V on A0 Commented Feb 26, 2019 at 8:13

0

Know someone who can answer? Share a link to this question via email, Twitter, or Facebook.

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.