ThingSpeak Weather Station

Building your own portable weather station and analyzing weather data in the cloud
Updated 8 Dec 2016

View License

This project demonstrates how to build the weather station, configure the hardware, and interact with the weather data. We show how to retrieve the data from ThingSpeak, an IoT analytics platform. We then use histograms to visualize the data, interpolate missing data, fit trends to the data and compare current data to historical data.
This example requires the user to first install the ThingSpeak Support Toolbox which is available here:
Article for setting up and configuring the Electron Weather Station is published here:
For more information about ThingSpeak, see

Cite As

MathWorks Internet of Things Team (2024). ThingSpeak Weather Station (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2016a
Compatible with any release
Platform Compatibility
Windows macOS Linux
More Files in the  ThingSpeak Community

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes

Updated license
Updated description.

Updated ThingSpeakWeatherStation.m to fix some minor mistakes. (see line 71 and 374)

Added an URL to the description and removed a duplicated tag