Subscribe to Arduino Academy and start learning today for FREE!

Remote control the Arduino from the web!

From http://autocad.spinelink.com/arduino-serial-communication-with-web-gui-via-php.html

This project is very inspiring! It is an Arduino project that has two LEDs on green and one red that are controlled via a local web server (AKA my Mac’s Apache Server). The web server is hosting a PHP script that has a user interface. When I click a link it sends a command to the Arduino board to turn on or off each LED. The Arduino board must be connected to the computer that has the web server on it for this to work. The PHP code is open source as well as the library/class that I have used.

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

 

 

Subscribe
Notify of
guest
4 Comments
Inline Feedbacks
View all comments
Byron
12 years ago

Very cool. Can you monitor the states of the LEDs? Could be handy for say, a manual button that toggles them, or web interface to toggle.

Steve Spence
12 years ago

sure can. you do a digitalread, then check for a transition by saving the value in a variable. you'll want to debounce the switch with a 1000ms delay. pages 42-51 of Getting Started with Arduino (Make: Projects)

Braeder
10 years ago

I love arduino. I have yet to get started with my projects but bought 4 books of various languages to make this a smooth transition. Will be buying senors and supplies in the next couple of weeks!

Anonymous
Anonymous
10 years ago

Hello arduino friend!!!Very nice project!I have make a similar project.Look my site http://www.power7.net .

Archives

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