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..


The forums are retiring in 2021 and are now closed for new topics and comments.

11 months 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.

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