Is it possible to send data from MATLAB GUI to esp8266 wired with Arduino?

2 views (last 30 days)
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
Ahmer Ahmed
Ahmer Ahmed on 30 Oct 2017
What will be my path? I am a bit confused. Do correct if I am wrong in any of steps.
1- OBJ = udp('RHOST'); In this command, which IP address I will have to specify in RHOST parameter? The IP address of ESP8266 server located on remote site or the IP address of my router?
Walter Roberson
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.

Sign in to comment.

Answers (0)

Communities

More Answers in the  ThingSpeak Community

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!