This project is all about using an Arduino with an Ethernet shield. I’ll be controlling one LED and a servo, but you can apply this method to control any electronic device you want. (such as DC motors, buzzers, relays, stepper motors, etc..)
And I’ll be using a brand new arduino board that my friend at BJTechNews Sent me!
Check his youtube channel here for some cool tech tips.
The code provided when uploaded and connected to the internet it creates a webserver in your LAN and you simply use the IP to access that webserver through your browser. After that it shows a webpage similar to that one below. When you press the button “Turn On LED” your url will change to: “http://192.168.1.178/?button1on” the arduino will read that information and It turns the LED On.
By default the IP is “192.168.1.178″. That also can be found on the arduino code provided.
- 1x Arduino Uno
- 1x Ethernet Shield
- 1x 220 Ohm Resistor
- 1x LED
- 1x Micro Servo Motor
- 1x Breadboard
- Jumper Cables
Upload the code below
Note: If you try this project. You can only access that IP address from your home. This means you must be connected to the same router that you’re ethernet shield is connected to. That picture below is from me accessing my webserver with my iPad.
Thanks for reading, you can contact me by leaving a comment. If you like this post probably you might like my next ones, so please support me by subscribing my blog and my Facebook Page.