element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • 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 & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
    About the element14 Community
  • 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
      •  Japan
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      •  Vietnam
      • 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
Raspberry Pi
  • Products
  • More
Raspberry Pi
Blog Remote temperature monitoring
  • Blog
  • Forum
  • Documents
  • Quiz
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Raspberry Pi to participate - click to join for free!
Featured Articles
Announcing Pi
Technical Specifications
Raspberry Pi FAQs
Win a Pi
GPIO Pinout
Raspberry Pi Wishlist
Comparison Chart
Quiz
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: mistertee
  • Date Created: 19 Oct 2015 8:36 PM Date Created
  • Views 1154 views
  • Likes 0 likes
  • Comments 5 comments
Related
Recommended
  • raspberrypi_dart_urr_
  • tmp36_dualanalogueradiotransmitter_universalradioreceiver_urr

Remote temperature monitoring

mistertee
mistertee
19 Oct 2015

This post shows how to use the Dual Analogue Radio Transmitter (DART) and the Universal Radio Receiver (URR) to monitor the temperature of one or more freezer.

 

The DART collects data from 2 analogue inputs and transmits this to a receiver using a 433 MHz FM radio module. (FM radio modules gives gives significantly better range and noise performance when compared to AM modules). More information on the DART and URR can be found here.

 

 

image

 

 

The TMP36 is very easy to use. The relationship between the temperature and analogue voltage output is as follows:

 

Temp (in deg C) = voltage (in mv) divided by 10  minus 50

 

So for example if the TMP36 output volts was 800 mV the temperature would be 800/10 = 80 mnus 50 would be 30 deg C.

 

 

image

 

The DART has 2 sets of screw terminals. The TMP36 temperature sesnor can be connected directlty to these. The timing of the temperature measurement and transmission can be set to 1 every minute or 1 every 10 minutes.

 

image

 

On this project uses 2 TMP36 devices. One is connected directlty to the screw terminals and the other is on a cable of approximately 1 metre in length. The TMP36 at the end of this is housed in a plastic tube for protection.

 

image

 

 

  The image below shows the DART in pace with one of the TMP36 device inside the freezer and one outside. This way we can monitor the temperature inside and outside the freezer (which in this case is in the garage).

 

 

 

image

 

The Universal Radio REceiver is connected to a Raspberry Pi, using A Custard Pi 1A breakout board. (This has easy connection points and also has 0.1A fuses on the 5V and 3.3V rails to prevent too much current being drawn from the RPi.)

 

image

 

 

 

 

 

 

The Python code to receive the data on the serial port is listedat the end of this post. Please read this document for more comprehensive instructions on using the UART on the Raspberry Pi.

 

The data displayed on the HDMI monitor connected to the Raspberry Pi is hsown here.

 

image

The data is received every minute and is interpreted as follows.

 

1st digit = device type )always 1 for a DART)

2nd digit = address set on this DART

3rd digit = data count (goes from 0 to 15 and then starts again. Each data set is sent twice)

4th digit = temp 1 = -21 deg C (inside the freezer)

5th digit = temp 2 = 12 deg C (in the garage)

6th digit = batt voltage = 4.417 V

 

PROJECT IDEA #1: Send an e-mail from the Raspberry Pi if the temperature inside the freezer rises by 5 degrees.

 

PROJECT IDEA #2: Log the temperature from a number of freezers for food hygiene purposes. (One URR can receive data from a number of DART devices).

 

Summary: The DART and URR devices allow remote temperature monitoring to be set up very quickly.

 

Appendix: Python code to recive and display data from the serial port.

 

#!/usr/bin/env python

 

import time

import serial

 

ser = serial.Serial(

 

    port='/dev/ttyAMA0',

    baudrate = 9600,

    parity=serial.PARITY_NONE,

    stopbits=serial.STOPBITS_ONE,

    bytesize=serial.EIGHTBITS,

    timeout=0

 

)

 

ser.flushInput()

while True:

    data1 = ser.read(1)

    data2 = ser.read(1)

    data3 = ser.read(1)

    data4 = ser.read(1)

    data5 = ser.read(1)

    data6 = ser.read(1)

  

    if len(data1) >0:

        localtime = time.asctime( time.localtime(time.time()))

        print localtime

        temp1 = (1024*ord(data4)/2550)-50

        temp2 = (1024*ord(data5)/2550)-50

        battv =  (1024 * ord(data6) * 11)/255

        print ord(data2), ord(data3), ord(data1),

        print "Temp1 = ", temp1,

        print "Temp2 = ", temp2,

        print "BattV", battv   

   

    time.sleep (0.5)

 

 

ser.close()

  • Sign in to reply

Top Comments

  • michaelkellett
    michaelkellett over 10 years ago +2
    I don't see a CE mark (or any reference to WEE) on the DART or its documentation - did I miss them or do they not exist ? MK
  • michaelkellett
    michaelkellett over 10 years ago in reply to mistertee +1
    Good - I asked because I couldn't see them on the pictures. Your stuff is a lot more expensive than similar little boards from unknown sources in China via Ebay or Aliexpress (which generally are not marked…
Parents
  • michaelkellett
    michaelkellett over 10 years ago

    I don't see a CE mark (or any reference to WEE) on the DART or its documentation - did I miss them or do they not exist ?

     

    MK

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • gadget.iom
    gadget.iom over 10 years ago in reply to michaelkellett

    Michael Kellett wrote:

     

    I don't see a CE mark (or any reference to WEE) on the DART or its documentation - did I miss them or do they not exist ?

     

    MK

    Good point!

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
Comment
  • gadget.iom
    gadget.iom over 10 years ago in reply to michaelkellett

    Michael Kellett wrote:

     

    I don't see a CE mark (or any reference to WEE) on the DART or its documentation - did I miss them or do they not exist ?

     

    MK

    Good point!

    • Cancel
    • Vote Up 0 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 © 2026 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