주요 콘텐츠

Wi-Fi

Wi-Fi를 사용하여 통신

Wi-Fi®를 사용하면 기기를 근거리 통신망에 무선으로 연결할 수 있습니다. Wi-Fi는 IEEE® 802.11 표준을 기반으로 하며, 인터넷 액세스를 제공하고 물리적 케이블 없이 기기 간의 통신을 가능하게 하는 데 널리 사용됩니다.

Wi-Fi 쉴드를 Arduino® 보드에 대한 애드온으로 사용하여 Wi-Fi 기능을 확장합니다. 이러한 쉴드를 사용하면 보드를 무선망에 연결하여 인터넷 또는 로컬 네트워크를 통해 데이터를 보내고 받을 수 있습니다.

블록

WiFi TCP/IP ReceiveReceive data over TCP/IP network from remote host on wireless network
WiFi TCP/IP SendSend data over TCP/IP network to remote host over wireless network
WiFi UDP ReceiveReceive data from UDP host on wireless network
WiFi UDP SendSend data to UDP host on wireless network
WiFi ThingSpeak ReadRead data stored in a ThingSpeak channel on wireless network
WiFi ThingSpeak WritePublish data to Internet of Things using ThingSpeak on wireless network
WebSocket SubscribeSubscribe to the JSON data received by a WebSocket server
WebSocket PublishPublish data to WebSocket server in JSON format
WiFi MQTT PublishPublish messages to message queuing telemetry transport (MQTT) broker (R2022b 이후)
WiFi MQTT SubscribeReceive messages from message queuing telemetry transport (MQTT) broker (R2022b 이후)
WiFi HTTP ClientSend and receive data from HTTP server over URL connection (R2023a 이후)

도움말 항목

문제 해결

Unable to Deploy Code on an Arduino Board Connected to an ESP8266

No separate serial port is available on Arduino Uno board to deploy code.

Unable to Connect ESP8266 to Wi-Fi Network

Connection between ESP8266 and Wi-Fi network failed.

Unable to Assign IP Address to an Arduino Board Connected to ESP8266

Failed to assign IP address to Arduino board connected to ESP8266.

Unable to Assign IP Address to an Arduino MKR1000 Board

Failed to assign IP address to Arduino MKR WIFI 1010 board.

Unable to Assign IP Address to an Arduino MKR WIFI 1010 Board

Failed to assign IP address to Arduino MKR WIFI 1010 board.

Unable to Assign IP Address to an Arduino Board Connected to WiFi Shield

Failed to assign IP address to Arduino board connected to WiFi shield.

Expected Data Not Received on WiFi TCP or UDP Receive Block

Data received on the WiFi TCP Receive block or WiFi UDP Receive block is incorrect.

WiFi TCP/IP Send or Receive Server Block Is Unable to Communicate to TCP/IP Client

In server mode, the WiFi TCP/IP block is unable to communicate with TCP/IP client.

WiFi TCP/IP Send or Receive Client Block Is Unable to Communicate to TCP/IP Server

In client mode, the WiFi TCP/IP block is unable to communicate with TCP/IP server.

WiFi ThingSpeak Write Block Unable to Upload Data to a ThingSpeak Channel

Data is not uploaded on ThingSpeak™ channel.

추천 예제