Effacer les filtres
Effacer les filtres

How to continuously write data into ThingSpeak when using Vehicle Network ToolBox?

2 vues (au cours des 30 derniers jours)
Wen Yin Tay
Wen Yin Tay le 2 Déc 2020
Commenté : Wen Yin Tay le 10 Déc 2020
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 commentaires
Christopher Stapels
Christopher Stapels le 7 Déc 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
Wen Yin Tay le 10 Déc 2020
Hi, thanks for replying :)
Yes! I am developing the system that is monitoring the vehicle speed. I am using NI-XNET 8052 to get the signal from the vehicle with the help of Vehicle Network Toolbox. So far, I have identified the Standard CAN ID for the vehicle speed, as we can see from the picture below, the red box highlighted the vehicle speed. For now, I am not sure how to read the bit value only. If you happen to know the way, can you share it with me? Thanks.

Connectez-vous pour commenter.

Réponses (0)

Communautés

Plus de réponses dans  ThingSpeak Community

Catégories

En savoir plus sur Configure Accounts and Channels dans Help Center et File Exchange

Produits


Version

R2020b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by