Fire-EdUp | Using a Real Temperature Sensor

Updated 20 February 2024

In this guide we'll show you how to make a small improvement to the Fire-EdUp Platform to automatically capture temperature data. This will save us having to input the data manually - and could in theory be extended to many more calculation parameters.

 

For this guide we'll be using a TMP117 Precision Temperature Sensor which is accurate to 0.1°C - not bad!

Prepare Temperature Sensor

The Precision Temperature Sensor features 4 switches labelled ASW that need to be set up correctly. Double-check that Switch #1 is in the ON position (Up), and the remaining three switches are OFF (Down) as shown below.

Modify Example Code

To enable the external temperature sensor, change the following line from:

data = firedup.collect_data()

To:

data = firedup.collect_data(use_temperature_sensor = True) # ignore the slider and read the Precision Temperature Sensor

The argument use_temperature_sensor is completely optional - when it's omitted the Fire-EdUp platform assumes we want to use the slider. If we set this value to True then the slider is ignored and the temperature sensor is used instead.

Important make sure your temperature sensor is connected or you may get an error.

Once your temperature sensor code is running, observe how the temperature should reflect the current temperature of your environment. Touching the sensor or fanning it ought to change the temperature immediately.

Where to From Here?

We've made our Fire-EdUp Platform just a little bit more automatic. Can you think of other parameters that could be captured automatically?

Humidity and Wind Speed are often captured by local weather stations, but what about parameters like Fuel Load and Fuel Moisture Content?

Have a question? Ask the Author of this guide today!

Please enter minimum 20 characters

Your comment will be posted (automatically) on our Support Forum which is publicly accessible. Don't enter private information, such as your phone number.

Expect a quick reply during business hours, many of us check-in over the weekend as well.

Feedback

Please continue if you would like to leave feedback for any of these topics:

  • Website features/issues
  • Content errors/improvements
  • Missing products/categories
  • Product assignments to categories
  • Search results relevance

For all other inquiries (orders status, stock levels, etc), please contact our support team for quick assistance.

Note: click continue and a draft email will be opened to edit. If you don't have an email client on your device, then send a message via the chat icon on the bottom left of our website.

Makers love reviews as much as you do, please follow this link to review the products you have purchased.