Is it possible to send data from MATLAB GUI to esp8266 wired with Arduino?
2 views (last 30 days)
Show older comments
Hi everyone! I have a GUI already created for home automation using Bluetooth of laptop and HC-05 hooked up with arduino on the other side. I was able to do small stuff with simple buttons on GUI and controlling appliances wirelessly. But now I want to shift my project to IoT. I plan to use ESP8266 instead of HC-05 and make it server(or whatever) and make my laptop connected to that ESP8266 and send commands from GUI to ESP8266 from anywhere on Earth.
Is it possible? If yes, what are the steps? Explain briefly or refer to any links.
9 Comments
Walter Roberson
on 30 Oct 2017
Unfortunately, with R2011a to R2013b, arduino support is through the "legacy" package, https://www.mathworks.com/matlabcentral/fileexchange/32374-legacy-matlab-and-simulink-support-for-arduino which I do not know as much about.
"OBJ = udp('RHOST'); In this command, which IP address I will have to specify in RHOST parameter?"
The public IP address you configured into the ESP8266.
The article https://blogs.mathworks.com/iot/2017/10/27/collecting-resting-heart-rate-data-using-thingspeak/ might help.
Answers (0)
Communities
More Answers in the ThingSpeak Community
See Also
Categories
Find more on Arduino Hardware in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!