필터 지우기
필터 지우기

Is it possible to send commands to Arduino through WiFi?

조회 수: 5 (최근 30일)
David Zamora
David Zamora 2018년 7월 19일
댓글: David Zamora 2018년 7월 19일
I have an Arduino Uno R3 with a SparkFun ESP8266 WiFi Shield attached to it. I need Matlab to send commands to Arduino to do some tasks, but I need to do this wirelessly (through WiFi). Currently, the WiFi shield is connected to my network. My question: is it possible for Matlab to access the local WiFi network and send commands to Arduino through this network? I need to do this without using the Matlab's package for Arduino (it doesn't do what I need it to do). Thanks

답변 (1개)

Jason Whitfield
Jason Whitfield 2018년 7월 19일
You should be able to run a tcp server on the Arduino and connect to it using MATLAB. See https://www.mathworks.com/help/matlab/import_export/create-a-tcpip-connection.html. Once the connection is established, you should be able to read and write data as if it were a serial connection.

카테고리

Help CenterFile Exchange에서 Modeling에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by