In this article, we are going to control LEDs from a web page using an Arduino Ethernet module. The Ethernet module will create a server using the router and we will set a webpage for this server. We will use the HTML commands to print the data and to make the buttons on the webpage.

When the button on the webpage is pressed, we will get some data on the serial monitor. We will save this data in the string and will use this data to turn the LEDs ON or OFF.