Subscribe to Arduino Academy and start learning today for FREE!

More Ethernet – Read Analog, & Set Digital Pins

As a followup to our previous Ethernet web server example, I offer a enhanced version. Again, it displays what is coming in on the analog pins, but also allows you to control digital pins 0-7.

You’ll need:
Arduino UNO
Ethernet Shield

Plug shield into your home router with an ethernet cable. Change IP information to match your network, and MAC address to match your shield.

The html isn’t pretty, but it’s functional! I’m sure some of you can pretty it up, and even show the current status of the digital pins, like the status of the analog pins are displayed. Thanks to the What I did Was blog for inspiration!

Become the Maker you were born to be. Try Arduino Academy for FREE!

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments

Archives

0
Would love your thoughts, please comment.x
()
x