element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
STEM Academy
  • Learn
  • Learning Center
  • STEM Academy
  • More
  • Cancel
STEM Academy
Blog Temperature Experiments with Thermocouples
  • Blog
  • Forum
  • Documents
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join STEM Academy to participate - click to join for free!
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: shabaz
  • Date Created: 12 Nov 2014 10:58 PM Date Created
  • Views 5200 views
  • Likes 7 likes
  • Comments 24 comments
  • logger
  • temperature
  • thermocouple
  • raspberry-pi
  • rpi
  • test_and_measurement
  • stem space
Related
Recommended

Temperature Experiments with Thermocouples

shabaz
shabaz
12 Nov 2014

Introduction

It is one thing to check the temperature of something with a thermometer. However logging data and observing the change over time is a great way to see trends and gain more insight.

This blog post covers just a simple experiment but the aim is to have a more general solution for good quality temperature measurement, monitoring and logging at low cost.

 

What is needed?

A temperature sensor and logger is needed. Thanks to support from Element14 and element14Dave check out the blog post for a Raspberry Pi based temperature measurement solution. Of course, any temperature logging system could be used (e.g. off-the-shelf system, or an Arduino based solution mentioned in the comments section below).

 

Is it interesting?

In general, I believe so – perhaps if students are curious then they can measure anything within limits of hundreds of degrees C technically. Practically that would depend on their age and supervision.

 

As a suggestion for further discussion, maybe it could be turned into a game:  A challenge could be, "how long can one keep a drink hot", using nothing other than insulation or materials around the home/school and an hour of time? (by the way It turns out that the answer is: quite a long time. There is some more information on that later).

 

The challenge would involve researching parameters like thermal conductivity, area, and material thickness.

 

Variations of the challenge could involve guessing the temperature of an object at different times on a spreadsheet, and seeing who gets closest to the actual temperature curve – i.e. like a temperature based variation of battleships :  ) This could be automated of course.

image

As a first step, I tried an easier experiment to check out the performance of disposable cups – I wanted to know, is it really worth doubling-up on cups to keep a drink warm?

 

How to do it

First, get some water heated up (or use hot water from a tap).

 

Set up the temperature logging device and get it recording data. At this point the data is just recording room temperature.

 

Measure out an amount of the water into a cup placed in a tray or bowl (in case it leaks or is knocked over), and insert the temperature sensor.

 

I tried a paper cup (make sure it is intended for hot drinks) from the supermarket (Tesco in my case) with no lid, and measured for an hour. It didn’t keep the drink hot for very long. I used 200ml of water from a kettle. Room temperature was about 21 degrees C. I then repeated with a lid, and then a third experiment was with a doubled-up cup but still with one lid.

 

The conclusion (which I knew from experience since we have very similar cups at work!) is to drink quickly or always use a lid :-)

 

This is a very basic experiment of course, but it did help test out the Raspberry Pi temperature logger. The graph below shows the measured temperatures for an hour.

image

 

For the “how long can you keep a drink hot” challenge, here is my entry; I decided to use expanded polystyrene (Styrofoam) about 15mm thick sheets. I chopped it up using a piece of resistance wire connected up to a power supply. I used Nichrome wire of about 40 ohms/metre, and used 50cm of it connected to a 15V supply (outdoors in case the fumes were toxic) – this gently cuts, or turn up the voltage for a more aggressive cut : )

 

The pieces were glued using epoxy resin adhesive (Araldite) – other glues may damage the polystyrene. It was very tricky to get it absolutely watertight but eventually it was (a ready-made polystyrene cup would be an easier option, but my local supermarket didn’t have any : (

 

I also made a tight-fitting lid using expanded polystyrene. I again used 200ml of water, and started at around 51 degrees C, ambient temperature was 21 degrees C. Over the space of an hour, the temperature dropped by just under 8 degrees C. So that’s my record – looking forward to hearing if others can beat it (it shouldn't be hard : ).

image

 

To do the measurements, I used a temperature sensor known as a thermocouple, type ‘K’. It was an ‘exposed junction’ type, which isn’t really intended for liquids but is low cost – dry it thoroughly afterwards to prevent corrosion. Some thermocouple models have an exposed junction (such as the one in the photo below), others are enclosed in a probe where the end is either grounded to the probe or insulated, which affects response time.

 

Some of the enclosed models can handle over 1000 degrees C; others have insulation which functions up to about 250 degrees C, so it is worth checking before using it.

image

 

If you’re interested in building a thermocouple sensor solution for the RPI, check out the blog post here.

  • Sign in to reply

Top Comments

  • Former Member
    Former Member over 10 years ago +2
    Interesting ideas for a class, I like it. I did something along this line some time ago when I made an Arduino data logger with 5 thermocouples & an LCD. I was looking at sample preservation/thermal stability…
  • shabaz
    shabaz over 10 years ago in reply to mikedavis +2
    The post has finally been updated with the code! It was difficult finding time to complete everything I wanted, but I figured I should post now, in case you or others also find time to help improve it…
  • timswift
    timswift over 10 years ago +1
    Could i use a arduino? Tim
Parents
  • mikedavis
    mikedavis over 10 years ago

    Good one Shabaz.  I did a similar experiment in my post about the various coffee mugs in house and how effective they are in keeping coffee drinkable (not too hot, not too cold).   http://www.element14.com/community/groups/stemacademy/blog/2014/09/02/simple-science-experiment-with-the-raspberry-pi

     

    I think a really good question based on some of the question you showed is, 'Should Starbucks double cup their drinks or double lid them?'  This is great and easy to do.  The only thing that I am looking for is a good interface.  Making the temperature probe is easy.  Making the interface so anyone can start it, would be a very good thing.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • shabaz
    shabaz over 10 years ago in reply to mikedavis

    The post has finally been updated with the code!

    It was difficult finding time to complete everything I wanted, but I figured I should post now, in case you or others also find time to help improve it.

    I think the same code could be used for multiple implementations, just replace the low-level code (in my case it is in a C file) with your code (could be C or Python etc), and then the Node.js code can be updated to (say) allow the actual implementation to be selected.

     

    The code is definitely just an experimental prototype, it does work, and certainly usable (I have already used it to log a few things) but has a few glitches (doesn't affect the logging or functionality) such as briefly displaying 0 degrees C if more than one user accesses the web page at the same time (currently I don't check to see if there are multiple users) - the problem does not exist during logging, then the correct value is always displayed for any number of users browsing it. The workaround for now was to just have one user accessing the page.

     

    Also, I've not quite finished the logging functionality - it does log, but I've not got round to implementing the 'stop log' button : ) So currently to stop logging one has to issue 'kill -9 xxx' at the CLI.

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • More
    • Cancel
Comment
  • shabaz
    shabaz over 10 years ago in reply to mikedavis

    The post has finally been updated with the code!

    It was difficult finding time to complete everything I wanted, but I figured I should post now, in case you or others also find time to help improve it.

    I think the same code could be used for multiple implementations, just replace the low-level code (in my case it is in a C file) with your code (could be C or Python etc), and then the Node.js code can be updated to (say) allow the actual implementation to be selected.

     

    The code is definitely just an experimental prototype, it does work, and certainly usable (I have already used it to log a few things) but has a few glitches (doesn't affect the logging or functionality) such as briefly displaying 0 degrees C if more than one user accesses the web page at the same time (currently I don't check to see if there are multiple users) - the problem does not exist during logging, then the correct value is always displayed for any number of users browsing it. The workaround for now was to just have one user accessing the page.

     

    Also, I've not quite finished the logging functionality - it does log, but I've not got round to implementing the 'stop log' button : ) So currently to stop logging one has to issue 'kill -9 xxx' at the CLI.

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • More
    • Cancel
Children
No Data
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube