Project 7.14—Using the Ethernet—UDP-Based Control

This is another project using the embedded Ethernet. In this project, communication is established between the PC and the microcontroller system using the UDP protocol. Eight LEDs are connected to PORTD of the microcontroller. A Graphical User Interface (GUI) program is developed on the PC using the Visual Studio, Visual Basic program (VB.NET). The user specifies which bits of PORTD should be turned ON by clicking the appropriate parts of a GUI form. The PC program establishes UDP communication with the microcontroller system and sends a packet about the PORTD bits that should be turned ON. The microcontroller system uses the UDP protocol to receive this packet and then turns ON the required bits ...

Get PIC Microcontroller Projects in C, 2nd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.