Results 1 to 6 of 6

Thread: My Temperature Sensor

  1. #1

    Thread Starter
    WiggleWiggle dclamp's Avatar
    Join Date
    Aug 2006
    Posts
    3,527

    My Temperature Sensor

    I recently reorganized my garage in order to make a little workshop for me to tinker with my electronics and my ham radio gear. With that, I put my computer and a managed switch (HP Procurve 2650) at my workstation in the garage. With the garage door open I get a good breeze, but when the door it closed, there is no moving air. I felt the output of the fan on the switch and the air was really hot. So I decided to whip up a temperature sensor with my Arduino.

    Name:  temperature_sensor.jpg
Views: 1810
Size:  82.6 KB

    This arduino has two separate functions. The first function is displaying information on the 16x2 LCD screen. I send messages to the screen over HTTP. The second function is updating my control server with the temperature every 10 seconds. The Arduino it self does not take the temperature and then display it on the screen.

    Every 10 seconds the Arduino sends the temperature to the control server over HTTP. The server then saves it in the database with the device ID, temperature and timestamp. Then the control server tells the Arduino what to display on the screen, in this case its "Temperature" and "00.00F HH:MM:SS".

    You may think this is overkill sending the temperature to the server then having the server tell the arduino to display it. But the reason I chose this method was because temperature sensing is not the main function of this device. The main function of this device is to display what ever my server tells it to display.

    I am currently working on a design to put this project in a permanent enclosure.

  2. #2

    Thread Starter
    WiggleWiggle dclamp's Avatar
    Join Date
    Aug 2006
    Posts
    3,527

    Re: My Temperature Sensor

    Forgot to mention that the server also serves up a web page listing the average, high, and low temperature as well as the 500 most recent temperature readings.

    Name:  temperature_chart.PNG
Views: 1414
Size:  33.9 KB

  3. #3
    Super Moderator dday9's Avatar
    Join Date
    Mar 2011
    Location
    South Louisiana
    Posts
    10,601

    Re: My Temperature Sensor

    These kind of things has always interested me. Pretty cool to see something homemade like this.
    "Code is like humor. When you have to explain it, itís bad." - Cory House
    VbLessons | Code Tags | Sword of Fury - Jameram

  4. #4

    Thread Starter
    WiggleWiggle dclamp's Avatar
    Join Date
    Aug 2006
    Posts
    3,527

    Re: My Temperature Sensor

    Quote Originally Posted by dday9 View Post
    These kind of things has always interested me. Pretty cool to see something homemade like this.
    Get started doing it! It is easier than you think!

  5. #5
    PowerPoster SJWhiteley's Avatar
    Join Date
    Feb 2009
    Location
    South of the Mason-Dixon Line
    Posts
    2,256

    Re: My Temperature Sensor

    Reviving an old thread, what temperature sensing device did you use? It looks like the 1-wire DS18B20.

    I'm thinking of getting several to put in the attic, house and crawl space to monitor temperatures, and the 1-wire system looks ideal.

    (Oh, I am going to use a Netduino, which can be programmed using VB or C#).
    "Ok, my response to that is pending a Google search" - Bucky Katt.
    "There are two types of people in the world: Those who can extrapolate from incomplete data sets." - Unk.
    "Before you can 'think outside the box' you need to understand where the box is."

  6. #6

    Thread Starter
    WiggleWiggle dclamp's Avatar
    Join Date
    Aug 2006
    Posts
    3,527

    Re: My Temperature Sensor

    Yeah I am using the 1-Wire DS18B20. It works great for me, although now that I am thinking about it, i have never actually compared it to a control device to check the accuracy.

    The Arduino has a library available that will convert the reading into F/C for readable values.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width