Skip to content

WebSocket on Industruino

WebSocket on Industruino

Components

Hardware components

x 1

Project description

WebSockets are an easy way to exchange data between a client and server, full-duplex, over a single TCP connection. This example uses the?ArduinoWebSockets?library, which needs only a few modifications to work with the Industruino's D21G platform. We will run a websocket server on a laptop (e.g. the node.js/simple.js example included in the above library), and our Industruino will connect over Ethernet to this server. start the websocket server start the Industruino websocket client the Industruino connects to the server and send a hello message the server sends a hello message to the…

Keep reading with a free account

Guests can read 15 projects per visit. Log in or create a free account to read the full description, open the documents and join the comments.