image thumbnail

ThingSpeak MATLAB Examples

version 1.0.0 (1.93 KB) by Hans Scharler
Examples that use the ThingSpeak IoT Platform with the integrated MATLAB Analysis and Visualizations Apps.

19 Downloads

Updated 27 May 2021

From GitHub

View license on GitHub

View ThingSpeak MATLAB Examples on File Exchange

ThingSpeak-MATLAB

Examples that use the ThingSpeak IoT Platform with the integrated MATLAB Analysis and Visualizations Apps.

Getting Started with ThingSpeak

ThingSpeak is an open source Internet of Things application and API to read and write data from anything using HTTP over the Internet or via a Local Area Network.

Sign Up for ThingSpeak

  • Sign Up for New User Account - https://thingspeak.com/users/new
  • Create a new ThingSpeak Channel by selecting Channels and then Create New Channel
  • Copy and save the ThingSpeak Channel ID and Write API Key
  • Enter the ThingSpeak Channel ID and Write API Key into the MATLAB code examples

random_sensor_value.m

When this MATLAB Analysis code runs, random_sensor_value.m will write a random integer between 0 and 1023 to the specified ThingSpeak channel. Here's an example of a ThingSpeak channel: https://thingspeak.com/channels/53215

Resources

The following links were helpful in creating and implementing my MATLAB code using ThingSpeak:

Cite As

Hans Scharler (2021). ThingSpeak MATLAB Examples (https://github.com/nothans/thingspeak-matlab-examples), GitHub. Retrieved .

MATLAB Release Compatibility
Created with R2021a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Tags Add Tags
Communities
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!
To view or report issues in this GitHub add-on, visit the GitHub Repository.
To view or report issues in this GitHub add-on, visit the GitHub Repository.