{"id":2007,"date":"2017-01-31T16:47:59","date_gmt":"2017-01-31T21:47:59","guid":{"rendered":"https:\/\/blogs.mathworks.com\/iot\/?p=2007"},"modified":"2018-02-12T10:26:57","modified_gmt":"2018-02-12T15:26:57","slug":"create-a-gps-tracker-with-matlab-mobile-and-thingspeak","status":"publish","type":"post","link":"https:\/\/blogs.mathworks.com\/iot\/2017\/01\/31\/create-a-gps-tracker-with-matlab-mobile-and-thingspeak\/","title":{"rendered":"Create a GPS Tracker with MATLAB Mobile and ThingSpeak"},"content":{"rendered":"

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

\"\"<\/a><\/p>\n

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<\/a> or Android<\/a> 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<\/a> and thingSpeakWrite<\/a>\u00a0functions 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<\/a>.<\/p>\n

<\/a><\/p>\n

To take the project further, you can use additional toolboxes from MathWorks to preprocess the data and do advanced mapping. Takuji demonstrates using the\u00a0Signal Processing Toolbox\u2122<\/a> to filter, down sample, and remove outliers from the incoming data from the MATLAB Mobile sensors. Using the\u00a0Mapping Toolbox\u2122<\/a>,\u00a0he plots the latitude and longitude of his mobile device on a WPS map and displays the map on a ThingSpeak channel<\/a>.<\/p>\n

Takuji has shared all of the source code and steps on File Exchange<\/a>\u00a0so you can replicate this project on your own mobile device. Check out his project on File Exchange<\/a> and see his raw data and visualizations on ThingSpeak<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"

\"\"<\/div>\n

Takuji Fukumoto, an Application Engineer at MathWorks, shared a project with me that he created that uses capabilities of MATLAB Mobile\u2122, MATLAB Drive\u2122, MATLAB Online\u2122, and ThingSpeak\u2122. His project… read more >><\/a><\/p>\n","protected":false},"author":148,"featured_media":2008,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[256,3],"tags":[243,244,241,245,242,239],"_links":{"self":[{"href":"https:\/\/blogs.mathworks.com\/iot\/wp-json\/wp\/v2\/posts\/2007"}],"collection":[{"href":"https:\/\/blogs.mathworks.com\/iot\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blogs.mathworks.com\/iot\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blogs.mathworks.com\/iot\/wp-json\/wp\/v2\/users\/148"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.mathworks.com\/iot\/wp-json\/wp\/v2\/comments?post=2007"}],"version-history":[{"count":1,"href":"https:\/\/blogs.mathworks.com\/iot\/wp-json\/wp\/v2\/posts\/2007\/revisions"}],"predecessor-version":[{"id":2010,"href":"https:\/\/blogs.mathworks.com\/iot\/wp-json\/wp\/v2\/posts\/2007\/revisions\/2010"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/blogs.mathworks.com\/iot\/wp-json\/wp\/v2\/media\/2008"}],"wp:attachment":[{"href":"https:\/\/blogs.mathworks.com\/iot\/wp-json\/wp\/v2\/media?parent=2007"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.mathworks.com\/iot\/wp-json\/wp\/v2\/categories?post=2007"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.mathworks.com\/iot\/wp-json\/wp\/v2\/tags?post=2007"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}