Temperature Monitor in my shop (DIY)

BobReeves

Member
Not being sure about what direction to take on my failing shop furnace and with the next few weeks predicted to be in the teens I decided I needed a way to monitor the temperature in my shop. Couple hours work and this is what I came up with.

I have the remote temperature monitor working from my shop in it's rough state. The key to making this work is a Teensy 2.0 micro-controller from PJRC using one of the examples he posted on his web site. Same thing can be done with an Arduino and in fact the Teensy uses the Arduino programming app.
https://www.pjrc.com/teensy/
https://www.pjrc.com/teensy/tutorial4.html

Basically, have an application running on the shop computer that checks the Teensy every 1/2 hour and if the temperature drops below 50 degrees it will send me an email. I also wrote a small app that I can run on any Windows networked computer that will send a message to the shop computer asking for the temperature reading at that instant. In case someone else finds themselves in a similar situation I ziped up the 3 files and uploaded them to my web site.
http://www.public.somethinxtra.com/TempMonitorFiles.zip

The ZIP file contains 3 files...
SendMail.exe is the app for the shop computer that talks to the Teensy.
ReqTemp.exe is the app that will send a message to the shop computer requesting a temperature reading.
GetTemp.ino is the code that is running on the Teensy.

This should run on any windows computer but have not tested it on Windows 10. My shop computer is running XP and this one is running Windows 7. No warranties are expressed or implied, your results may vary etc.

The Teensy code uses the minimal example from the PJRC site with serial communications added. The exact temperature isn't critical in this application and the basic calcs are good enough. I just have the Teensy on a plug in proto board just as shown in the PJRC example.

The SendMail.exe app has the Teensy USB port hard coded for COM-5 and 19200 baud. Need to make sure your USB serial port is configured for this before trying to run the app. If it doesn't find the Teensy when it starts it will error out and not work. Once you have it running, you will need to configure an email account. Nothing fancy, your basic POP3/SMTP email settings as in Outlook Express. It has test buttons to make sure everything is working.

ReqTemp.exe queries the network (Windows peer to peer Workgroup) when it starts and loads the names of all the computers on the network into a drop down control. Select the computer that is running the SendMail app and click the Send Msg button. Wait a couple minutes for everything to happen then check your email. May take a little while depending on how fast the emails travels through the net. It isn't perfect and once in a while I have to try a 2nd time for everything to happen. This is the from a quick check just a few minutes ago.

>Sent: Wednesday, December 27, 2017 5:19 AM
>Subject: Temperature Report From Shop

> Shop Temperature = 64.10

This will get me buy without fear of the water lines in the shop freezing because the pilot in the furnace is out before I decide on a permanent fix.
 
Forgot to mention the sensor I used was one I found on the microprocessor of an old computer. Am sure the specs are different from the one PJRC used but again the exact temperature isn't critical. My setup is reading about 5 deg high.

I had the Teensy 2.0 as I use this micro for allot of functions associated with my business.

Links didn't automatically link, just copy and paste into your browser. or click here...

https://www.pjrc.com/teensy/

https://www.pjrc.com/teensy/tutorial4.html

http://www.public.somethinxtra.com/TempMonitorFiles.zip
 
Forgot to mention the sensor I used was one I found on the microprocessor of an old computer. Am sure the specs are different from the one PJRC used but again the exact temperature isn't critical. My setup is reading about 5 deg high.

I had the Teensy 2.0 as I use this micro for allot of functions associated with my business.

Links didn't automatically link, and when I tried to fix it the forum wouldn't allow the post. Just copy and paste into your browser. Not selling anything, do not understand but this isn't my sand pile.
 
You could also use a weather station and put the remote sensor in your shop and be able to read it in the house if you dont have wifi
or internet in outbuilding

Joe
 
I agree with what you said.
What did you say?
LA in WI
===============
(quoted from post at 13:01:00 12/27/17) Not being sure about what direction to take on my failing shop furnace and with the next few weeks predicted to be in the teens I decided I needed a way to monitor the temperature in my shop. Couple hours work and this is what I came up with.

I have the remote temperature monitor working from my shop in it's rough state. The key to making this work is a Teensy 2.0 micro-controller from PJRC using one of the examples he posted on his web site. Same thing can be done with an Arduino and in fact the Teensy uses the Arduino programming app.
https://www.pjrc.com/teensy/
https://www.pjrc.com/teensy/tutorial4.html

Basically, have an application running on the shop computer that checks the Teensy every 1/2 hour and if the temperature drops below 50 degrees it will send me an email. I also wrote a small app that I can run on any Windows networked computer that will send a message to the shop computer asking for the temperature reading at that instant. In case someone else finds themselves in a similar situation I ziped up the 3 files and uploaded them to my web site.
http://www.public.somethinxtra.com/TempMonitorFiles.zip

The ZIP file contains 3 files...
SendMail.exe is the app for the shop computer that talks to the Teensy.
ReqTemp.exe is the app that will send a message to the shop computer requesting a temperature reading.
GetTemp.ino is the code that is running on the Teensy.

This should run on any windows computer but have not tested it on Windows 10. My shop computer is running XP and this one is running Windows 7. No warranties are expressed or implied, your results may vary etc.

The Teensy code uses the minimal example from the PJRC site with serial communications added. The exact temperature isn't critical in this application and the basic calcs are good enough. I just have the Teensy on a plug in proto board just as shown in the PJRC example.

The SendMail.exe app has the Teensy USB port hard coded for COM-5 and 19200 baud. Need to make sure your USB serial port is configured for this before trying to run the app. If it doesn't find the Teensy when it starts it will error out and not work. Once you have it running, you will need to configure an email account. Nothing fancy, your basic POP3/SMTP email settings as in Outlook Express. It has test buttons to make sure everything is working.

ReqTemp.exe queries the network (Windows peer to peer Workgroup) when it starts and loads the names of all the computers on the network into a drop down control. Select the computer that is running the SendMail app and click the Send Msg button. Wait a couple minutes for everything to happen then check your email. May take a little while depending on how fast the emails travels through the net. It isn't perfect and once in a while I have to try a 2nd time for everything to happen. This is the from a quick check just a few minutes ago.

>Sent: Wednesday, December 27, 2017 5:19 AM
>Subject: Temperature Report From Shop

> Shop Temperature = 64.10

This will get me buy without fear of the water lines in the shop freezing because the pilot in the furnace is out before I decide on a permanent fix.
 
I use a Weather Channel wireless thermometer with a remote sensor. The readout device is in the kitchen and the remote sensor is in my shop.
300' range. Works great.
 
A guy was selling those brand new at the flea market a couple of years ago for $5.oo ea. I only bought one. Wish I bought 1/2 dozen of them. Just replace the batteries once a year, Thing always works. Good gravey here in SJ it is going to be in the mid 20s way into next week! Yuck !
 

We sell tractor parts! We have the parts you need to repair your tractor - the right parts. Our low prices and years of research make us your best choice when you need parts. Shop Online Today.

Back
Top