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

2 ビュー (過去 30 日間)
Ahmer Ahmed
Ahmer Ahmed 2017 年 10 月 29 日
編集済み: Hans Scharler 2017 年 11 月 7 日
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 件のコメント
Ahmer Ahmed
Ahmer Ahmed 2017 年 10 月 30 日
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 2017 年 10 月 30 日
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.

サインインしてコメントする。

回答 (0 件)

コミュニティ

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

カテゴリ

Help Center および File ExchangeArduino Hardware についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by