47Views0Replies

Author Options:

Simulink+arduino+ethernet shield+ThingSpeak Answered

Hi guys, am working on a project which requires collecting analog signals from sensors and presenting them in ThingSpeak. I want to use the analog input signal block in simulink and present the analog input signal in ThingSpeak . Hope to get a positive feedback..

Discussions

0
ChristopherS309
ChristopherS309

17 days ago

You can use the ThingSpeak Output block to write data to a ThingSpeak field. https://www.mathworks.com/help/sldrt/ref/thingspeakoutput.html

If you have a MATLAB license, you can also interact directly with your Arduino in MATLAB. https://www.mathworks.com/hardware-support/arduino-matlab.html You could use the thingSpeakWrite function in your code.
https://www.mathworks.com/help/thingspeak/thingspeakwrite.html

Depending on which Arduino you use, you can write directly from your device to ThingSpeak. Have a look at the examples. https://www.mathworks.com/help/thingspeak/examples.html