NURULNAJWA in MATLAB Answers
上次活动时间: 2022-6-15

Hello. I have a project about tracking vehicle using GPS in real time. Now I'm using GPS board module from sparkfun ZED-F9P and use the google maps API to show the tracking location. I manage to send the coordinates data to thinkspeak but my problems is that the data received at the thinkspeak is lagging. How can I solve this problem. Thank you
Guus Eltink in MATLAB Answers
上次活动时间: 2021-1-25

Tens of thousands of stored GPS data on ThingSpeak can be plotted much faster on a map in a simple way, if MATLAB would be willing to change the order of variables in the channel feed csv-file to make it match directly as input file for the ROUTECONVERTER program. I use a NEO-6M GPS module to store GPS data on ThingSpeak. I tried to find an easy way to plot many GPS coordinates on a map. However, within ThingSpeak there is no possibility to do so. Each time I was linked to Google maps for which I needed an API key to show my GPS results (it is a cumbersome method to finally see the GPS data on a map). I discovered that there is a much easier way to achieve this. ROUTECONVERTER ( www.routeconverter.com ) is a free, user friendly GPS tool to display, edit, enrich and convert routes, tracks and waypoints. It enables the use of a large number of maps, download of maps and supports specific Google maps for which an API key has to be filled in within the program. ROUTECONVERTER supports more than 81 of the most common GPS file formats. It automatically detects a file format, which thereafter can be converted to any other file format. One of the file types is the csv-file format which is also used by ThingSpeak. For THINGSPEAK the channel feed csv-file looks like this: Date&Time, Entry_id, Latitude, Longitude 2021-01-21 12:27:11 +0100, 15, 52.612135, 4.722695 But for ROUTECONVERTER the csv-file should have a format like this: Longitude, Latitude, a string of text (double quotes are needed, if comma’s or semicolons occur in this text string!) 4.722695, 52.612135, 2021-01-21 12:27:11 +0100 If the export csv-file of ThingSpeak would have the same format as the input csv-file for ROUTECONVERTER, it could be used immediately as an input file for ROUTECONVERTER and would therefore immediately show all GPS positions on a map. I presume that ThingSpeak/MATLAB would prefer to have “Entry_ID” and “Date&Time” to be inserted in their csv-file. This might be realized in the “text string” by using a specific character e.g. “#” (no comma’s and semicolons!) to separate both as can be seen below: Longitude, Latitude, Entry_ID # Date&Time 4.722695, 52.612135, 1 # 2021-01-21 12:27:11 +0100 Both items in the text string still enable immediate plotting of the GPS coordinates on a map by opening this file in ROUTECONVERTER and still enable easy splitting of the text string in an Excel spreadsheet. ThingSpeak only presents the field charts of both latitude and longitude against time, but these are absolutely not very helpful or clarifying. An adjusted export feed csv-file and a reference to ROUTECONVERTER in ThingSpeak would enable the GPS-ThingSpeak users to see immediate GPS results on a map. Therefore my question: Is ThingSpeak/MATLAB willing to adjust the format of their export feed csv-file in order to enable immediate plotting of GPS coordinates on a map by ROUTECONVERTER?

关于 ThingSpeak

The community for students, researchers, and engineers looking to use MATLAB, Simulink, and ThingSpeak for Internet of Things applications. You can find the latest ThingSpeak news, tutorials to jump-start your next IoT project, and a forum to engage in a discussion on your latest cloud-based project. You can see answers to problems other users have solved and share how you solved a problem.