Arduino Serial Communication with Web GUI Via PHP

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
16,573
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Jul 20, 2009

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. The class that I used was created for linux/windows but was changed to work with the Mac. This project does not need the network shield to work. This is just a simple project. You could expand on this to control moters, RGB LEDs, sound, and much more. I am using an Arduino Mega in this video. If you would like the source code, send me a message! You must subscribe to my channel in order to receive the source code. This helps me give support if needed as well as allows me to post bug fixes/updats ect. Please enjoy and as always, Rate, Comment, Subscribe! Thanks for watching!

  • likes, 5 dislikes

Link to this comment:

Share to:

Uploader Comments (djrock9000)

  • Could you help me with your code? I'm already following your channel. I really apreciate if you helpe me  with this code to study as a sample.

  • @cb4603 I actually didn't write the code but if you have questions I might be able to help.

  • where can i see the code? im tryin to send an enter key through php serial for a php serial to gsm modem comm... i need help.

  • @kitho13 On my blog site. Its missionduke(dot)com/arduino-pr­ojects/

  • Very cool! I like what you do.

  • @sjaungere Thanks I like doing it. I love electronics and technology.

see all

All Comments (51)

Sign In or Sign Up now to post a comment!
  • nice job men, i want the code too ;)

  • @djrock 9000 - thanks

  • @wire54321 - Search for the line

    $serial->deviceSet("/dev/tty.u­sbserial-A7006QCP");

    and change to

    $serial->deviceSet("COM5");

    This should help.

Loading...

Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more