Skip to content

Arduino Tutorial : Sending and Receiving String via UDP

.

WIZnet

Published February 17, 2023

Arduino Tutorial : Sending and Receiving String via UDP

Project description

DETAILS

In this example, you will use your Ethernet Shield and your Arduino to send and receive text strings via the UDP protocol (Universal Datagram Packet). You’ll need another device to send to and from. The Processingsketch included at the end of the code will send to and receive from your Arduino running this example.

 

Step 1: What You Need?

1 x Arduino Board ( Arduino UNO used in this tutorial)
1 x Arduino Ethernet Shield
 

Step 2: Build Your Circuit.

The Ethernet shield allows you to connect a WizNet Ethernet controller to the Arduino boards via the SPI bus. It uses pins 10, 11, 12, and 13 for the SPI connection to the WizNet. Later models of the Ethernet shield also have an SD Card on board. Digital pin 4 is used to control the slave select pin on the SD card.
 
Step 2: Build Your Circuit.
 
 
 
 

Step 3: Upload The Code.

–  Details are explained! You just do step by step!

 
Step 3: Upload The Code.
 
 
Step 3: Upload The Code.

Code_Link

 
 

Dated : Friday, August 05, 2016

Source : https://myrobotduino.blogspot.kr/2016/08/sending-and-receiving-string-via-udp.html

Author : Robot edu


 

Comments

Comments