How to continuously write data into ThingSpeak when using Vehicle Network ToolBox?
Ältere Kommentare anzeigen
Hi,
I am using Vehicle Network Toolbox to retrieve vehicle speed from my vehicle, then I wish to send the vehicle speed continuously to ThingSpeak for data analysis.
May I know how can I do that?
Thank you.
4 Kommentare
thingSpeakWrite enables you to write data from MATLAB into a ThingSpeak channel.
One question you will want to think about is -- how frequently do you sample your vehicle speed?
With a paid license of ThingSpeak, you can update a channel once every second. With a free license, you can update your channel once every 15s. If your vehicle speed sampling rate is faster than your ThingSpeak license allows you to update your channel, your ThingSpeak channel may not have all the data.
Wen Yin Tay
am 7 Dez. 2020
Christopher Stapels
am 7 Dez. 2020
Is the system that is monitoring the vehicle speed in the car? If that system is running MATLAB and is connected to the internet, you might be able to use sendmail to send an email without ThingSpeak.
You could also use the ThingSpeaks alert service. There is a code template in MATLAB analysis that shows you how to send a mail based on a channel threshold.
You can calculate the average velocity locally and send it at regular intervals to ThingSpeak.
Wen Yin Tay
am 10 Dez. 2020
Antworten (0)
Communitys
Weitere Antworten in ThingSpeak Community
Kategorien
Mehr zu ThingSpeak finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
