I am working on a project with my students, and we're working to connect the TMP36 to our Flora. Ought to be simple, no?
We connected the left pin to the 3.3v connection on the left side of the flora (with USB up), the center pin to D6, and the right pin to GND next to G6.
Powered by USB to computer. As soon as I connect Ground, the entire Flora shuts off and the computer can no longer read it. I have to restart the computer to re-establish connection to the Flora.
I am using this code (the first, simple code, and yes, I changed the voltage to 3.3 and pin to 6 in code) - https://learn.adafruit.com/tmp36-temper ... emp-sensor
Without the ground, I am able to see results in the serial monitor, but they're wrong. The voltage reads correctly as 3.3, but the temperatures read 250 C and 480 F (or thereabouts).
I tried connecting the included resistor to the ground wire, but I still got the shutoff problem.
What am I doing wrong? I've attached a couple pictures if they're helpful.
With appreciation,
Chris (an educator)
Flora and the TMP36 woes
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- crafty184
- Posts: 21
- Joined: Tue Oct 08, 2013 12:14 pm
Flora and the TMP36 woes
- Attachments
-
- 2014-04-30 12.21.02.jpg (543.36 KiB) Viewed 653 times
-
- 2014-04-30 12.20.56.jpg (358.27 KiB) Viewed 653 times
- adafruit_support_bill
- Posts: 88093
- Joined: Sat Feb 07, 2009 10:11 am
Re: Flora and the TMP36 woes
In the photo, you have the signal pin connected to D9, not D6. And on the Flora, D9 would be A9 (D6 would be A7) as in the diagram below.I am using this code (the first, simple code, and yes, I changed the voltage to 3.3 and pin to 6 in code) -
Still that doesn't explain the shutdown behavior. If you have a multimeter, try testing the sensor as in this tutorial: https://learn.adafruit.com/tmp36-temper ... emp-sensor
- crafty184
- Posts: 21
- Joined: Tue Oct 08, 2013 12:14 pm
Re: Flora and the TMP36 woes
Thanks for your reply. The pin part was a typo, oops.
As for the temp sensor, I did exactly as described with the precise parts listed in the tutorial. When I connected power to the TMP36, it immediately got burning hot and registered 1.8v. Clearly, something is amiss.
I will assume that I got a faulty temperature sensor and proceed to contact support. Thank you for your help.
Chris
As for the temp sensor, I did exactly as described with the precise parts listed in the tutorial. When I connected power to the TMP36, it immediately got burning hot and registered 1.8v. Clearly, something is amiss.
I will assume that I got a faulty temperature sensor and proceed to contact support. Thank you for your help.
Chris
- adafruit_support_bill
- Posts: 88093
- Joined: Sat Feb 07, 2009 10:11 am
Re: Flora and the TMP36 woes
If you contact [email protected] with a link to this thread we can send you a new TMP36.
Please be positive and constructive with your questions and comments.