Hans on IoT

ThingSpeak, MATLAB, and the Internet of Things

This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English version of the page.

Create a GPS Tracker with MATLAB Mobile and ThingSpeak 4

Posted by Hans Scharler,

Takuji Fukumoto, an Application Engineer at MathWorks, shared a project with me that he created that uses capabilities of MATLAB Mobile™, MATLAB Drive™, MATLAB Online™, and ThingSpeak™. His project uses MATLAB Mobile to send its position and sensor data to ThingSpeak. He then uses MATLAB® to process the data and generate maps of his position.

You might have noticed recently on ThingSpeak that you can link your ThingSpeak user account to a MathWorks Account. By doing so, you have access to other MathWorks products and services that you can use with the same user account. MATLAB Mobile is a native Apple or Android app that allows you to evaluate MATLAB commands, create and edit files, view results, acquire data from sensors, and visualize data. MATLAB Mobile also has thingSpeakRead and thingSpeakWrite functions built-in. One exciting aspects of MATLAB Mobile is that you can capture the sensor data of the mobile device and send it to MATLAB Online.

To take the project further, you can use additional toolboxes from MathWorks to preprocess the data and do advanced mapping. Takuji demonstrates using the Signal Processing Toolbox™ to filter, down sample, and remove outliers from the incoming data from the MATLAB Mobile sensors. Using the Mapping Toolbox™, he plots the latitude and longitude of his mobile device on a WPS map and displays the map on a ThingSpeak channel.

Takuji has shared all of the source code and steps on File Exchange so you can replicate this project on your own mobile device. Check out his project on File Exchange and see his raw data and visualizations on ThingSpeak.

4 CommentsOldest to Newest

deepak chauhan replied on : 1 of 4
can i get your coding???? actualy i am an engineering student and i work on a project in which i want to show three device locations on matlab using thinkspeak so i want your help... hope for reply
Ariel Suárez replied on : 2 of 4
tengo un error To use 'geoquadline', the following product must be licensed, installed, and enabled: Mapping Toolbox
Hamza Arif replied on : 3 of 4
Hi, Can i please get your coding? Actually i need his for my Final Year Project.Hope you will consider my request As soon as possible.
Hans Scharler replied on : 4 of 4
The code for the project is hosted on File Exchange -https://www.mathworks.com/matlabcentral/fileexchange/60825-gps-mobile-gps-data-analysis-on-thingspeak - Click Download to get a zip file of the functions.

Add A Comment

Your email address will not be published. Required fields are marked *

Preview: hide