Hello,
I know I have bugged the community with issues pertaining to my TMP36 sensor and its technology and the BBB (and all variants “sometimes including Capes”).
Here goes:
…cough.
Um, Why would I attach a male to male lead from 3.3v on the BBB to GND on the TMP36 sensor?
Easier:
BBB (3.3v) or P9_03 to TMP36 (GND) or Pin 3
I think this is my question. Please try to answer with some type of understanding for me.
Seth
P.S. I have found some more items regarding this TMP36 sensor, i.e. like why I am attaching the lead to the BBB on GND_ADC to TMP36 on Pin 1? I found the info. to the TMP36 sensor at http://www.analog.com/media/en/technical-documentation/data-sheets/TMP35_36_37.pdf. Anyway, if you have time one day, please try to make me understand. I thought GND goes to GND with the lead for some reason.
Hello Again,
Seth here. Um, node is not found on my version of stretch. I just tried to run a .js file on the BBB and it replied to me saying that sudo: node: is not a known command. What gives? Does anyone have an idea as to what is happening?
Seth
P.S. Should I get a new node version?
"nodejs"
(in debian an older binary package had already used the binary "node" name..)
Regards,
On Wed, 9 Aug 2017 18:47:22 -0700 (PDT), Mala Dies
<functt@gmail.com> declaimed the following:
...cough.
Um, Why would I attach a male to male lead from 3.3v on the BBB to GND on
the TMP36 sensor?
Easier:
*BBB* (3.3v) or P9_03 *to **TMP36* (GND) or Pin 3
I think this is my question. Please try to answer with some type of
understanding for me.
Since all of my crystal balls are in storage, I would have no idea...
If you are trying this connection, you must have some reason for it. You'd
have to tell us your reasons for any particular wiring.
Hello,
Okay…
TMP36 to BBB:
Pin 3 to 3.3v
Pin 2 to P9_40 (GPIO/Analog)
Pin 1 to P9_34 (GND_ADC/Low noise GND)
I think this should help. I am making a temperature sensor tell me what the temp. is inside for now.
Seth
P.S. I appreciate you reaching out. Please let me know of what other info. I need to furnish.
Hello Sir,
I cannot just run a .js file with sudo nodejs temp.js on my BBB. The issue pertains to nodejs not being installed or something. I went to the npmjs.org site and found bonescript and tried to start from there. I also tried nodejs.org to find info. on how to get it on the BBB.
Seth
P.S. I am coming up short for some reason. I did some work with what the sites have listed at https://www.npmjs.com/package/bonescript and https://nodejs.org/en/download/package-manager/#debian-and-ubuntu-based-linux-distributions. If you or if anyone else is having trouble, please give some advice.
On Thu, 10 Aug 2017 01:48:41 -0700 (PDT), Mala Dies
<functt@gmail.com> declaimed the following:
Hello,
Okay...
TMP36 to BBB:
Pin 3 to 3.3v
Pin 2 to P9_40 (GPIO/Analog)
Pin 1 to P9_34 (GND_ADC/Low noise GND)
I think this should help. I am making a temperature sensor tell me what the
temp. is inside for now.
You still haven't answered the real question: why did you choose THAT
set of connections?
In my library, four (out of seven) Beaglebone books and two (out of
nine) Arduino books used the TMP36 (a few others used the LM35 which has a
similar pin-out but different sensor range). I also downloaded the spec
sheet from your earlier post.
NONE of these books show anything similar to your proposed connections.
Hello Mr. Dennis,
I am going over the book, “Programming the BeagleBone Black,” (Monk 2014) and I found on page 110 a TMP36 software example with relating a P9 Header layout/diagram. I think I am connecting things correctly. I have done this example before but currently I am having trouble with the 2GB BBB and Debian Stretch.
Seth
P.S. I am trying to read a TMP36 temp. sensor to tell me Celsius and Fahrenheit on my command prompt.
On Thu, 10 Aug 2017 08:55:20 -0700 (PDT), Mala Dies
<functt@gmail.com> declaimed the following:
I am going over the book, "Programming the BeagleBone Black," (Monk 2014)
and I found on page 110 a TMP36 software example with relating a P9 Header
layout/diagram. I think I am connecting things correctly. I have done this
example before but currently I am having trouble with the 2GB BBB and
Debian Stretch.
I suggest you look more closely then at the orientation of the TMP36 in
that diagram.
The flat side is to the left
>)
which means Pin 1 is at the top of the diagram.
Hello,
Look at this photo in .jpeg format.

I would assume the left most pin on the TMP36 temp. sensor when facing left, away from the board on the left side of the board, would be Pin 3, right?
Seth
P.S. If you have time, please review the photo and get back to me. I have made mistakes before but I think I am correct. http://www.analog.com/media/en/technical-documentation/data-sheets/TMP35_36_37.pdf.
Hello,
I guess I am making the flat side of the TMP36 sensor face left on the left side, i.e. the flat face is facing away from the BBB when I add the leads.
Seth
One Last Thing,
Look at this photo. This may give some better insight.
Seth

P.S. Here it is:
On Fri, 11 Aug 2017 13:00:38 -0700 (PDT), Mala Dies
<functt@gmail.com> declaimed the following:
I would assume the left most *pin* on the TMP36 temp. sensor when facing
left, away from the board on the left side of the board, would be *Pin 3*,
right?
Pardon? "left most ... when facing left... on the left side..." makes
no sense to me.
However, the key in the spec sheet image is "BOTTOM VIEW". The Monk
book is a TOP VIEW (well, really an oblique view looking on the flat side
from the above the sensor). At least, I presume you have the TO-92 package
and not the 8-pin DIP.
On Fri, 11 Aug 2017 13:11:42 -0700 (PDT), Mala Dies
<functt@gmail.com> declaimed the following:
One Last Thing,
Look at this photo. This may give some better insight.
Seth
<https://lh3.googleusercontent.com/-sHCAzYIH8rE/WY4PeE8xU9I/AAAAAAAAJ1M/rvUGFGcMU6I6PQQGmoOOKyHcOCW9EjOfQCLcBGAs/s1600/BBBTMP36.JPG>
Well, based on /this/ photo -- the breadboard appears to be wired
correctly.
Pin 1 is in B4/Green E4
Pin 2 is in B5/Orange D5
Pin 3 is in B6/Blue E6
In the Monk book, the data pin is in the fourth socket up from the
outer bottom -- but based on the highlights, your Orange is only three
sockets up.
In the book, GND is then three up and one right from the data line.
Your Blue appears to be four up and one right.
Monk has V+ in the second socket down from the outer top; I can't
identify which socket your Green is plugged into.
Hello Mr. Dennis,
Seth here. I do not believe this stuff. The item I was viewing was from the underneath view/bottom view. Silly! I read that many times and it never clicked. Thank you. I feel completely inadequate to post after this screw up but I will again.
Seth
P.S. Thank you again for your support. Oh and I was using AIN1/P9_40 for this software instead of P9_39. I did not want to plagiarize the OpenSource info.