How can i put the generated Sensor Data from my Android Matlab App to thingspeak?

7 ビュー (過去 30 日間)
Luis Spechtenhauser
Luis Spechtenhauser 2019 年 4 月 6 日
回答済み: Sruthi Yenugula 2019 年 4 月 25 日
I generated acceleration Data with my Android Matlab App and now i would like to connect it with thingspeak, how is that possible?

回答 (2 件)

Vinod 2019 年 4 月 6 日
From the MATLAB app, you can use the thingSpeakWrite function to write data to ThingSpeak. Note that the time resolution of data on ThingSpeak is 1 second. What is the resolution your data is sampled at? If is is higher than 1s, can you do some local processing of the data before you write the data to ThingSpeak?
  1 件のコメント
Luis Spechtenhauser
Luis Spechtenhauser 2019 年 4 月 7 日
My resolution so far was 10 Hz but i changed it now to 1 Hz. Is it necessary to do some local processing then?
Where can i find the thingspeakwirte function?


Sruthi Yenugula
Sruthi Yenugula 2019 年 4 月 25 日
You can use Simulink Support Package for Android Devices to convert a Simulink Model to Android Application. You can achieve writing to acceleration data to ThingSpeak using standalone app.
Acceleration data can be obtained using Accelerometer block and write to ThingSpeak using ThingSpeak Write block. Create the Simulink model and deploy on your Android device
Check out the following examples
Run on Android device


その他の回答  ThingSpeak コミュニティ

Community Treasure Hunt

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

Start Hunting!

Translated by