Alert icon
We're changing our privacy policy. This stuff matters.  Learn more  Dismiss

Arduino PHP Servo Serial

Loading...

Sign in or sign up now!
14,087
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Jul 21, 2009

This is another video example of the Arduino in action controlling a servo. The servo movement is controlled by pressing links ion a local web server page written in PHP. For each click the PHP code talks directly with the Arduino board via serial communication. This is using almost the same PHP code as my other project where I control two LEDs via a web GUI. If you like these videos, please subscribe, rate, and comment. My last Arduino video received over 100 views in the first day it was posted. If I can keep this up I will be posting more videos more often with a WHOLE LOT HIGHER QUALITY. Not just video quality. I mean a whole series on the Arduino board and projects. As always the source code is available free, just ask...All I ask from you is that you subscribe. I notice not very many people on YouTube share their source code. Thats not fair if you ask me. The Arduino boards we're ment to be open source, lets keep it that way. Please check out my other videos and stay tuned for more! Thanks for watching!

Visit missionduke.com/arduino-projects/ to download source code for all of my Arduino projects. Thank you!

  • likes, 4 dislikes

Link to this comment:

Share to:

Uploader Comments (djrock9000)

  • Um, I got:

    Parse error: parse error, expecting `')'' in /Users/djdusk/Sites/php_serial­.class.php on line 595

  • @djdusk Did you make any changes to the php_serial.class.php file? Try starting with a fresh copy of that file and see if you get the same error. This looks like the first instance of that type of error. My guess is that there might be a missing semicolon or bracket. Send me a YouTube message with all of the code pasted in it for the php_serial.class.php and I can see if I can fix it. Line 595 in my file is a bracket character. Might be different for you if you have modified the code in any way.

  • Could be nice to mount a web cam and control it remotely, to pan it left or right.

  • @youtubazer That would be cool. I think it would be cool to get some stepper motors and build a camera rig that could follow my movement as I walk. Maybe for YouTube videos. Problem is that it needs to be smooth, silent and fast. I know stepper motors can make some noise.

  • Hey that is very ingenious project. I was watching a couple of videos for inspiration for my application.

    I was just wondering. Are you running the php code on the arduino or from another computer.

  • @georgeflacker The PHP code is running on the computer and the Arduino is attached to the computer and is receiving serial data from the PHP code on the computer.

Video Responses

see all

All Comments (20)

Sign In or Sign Up now to post a comment!
  • Please post a tutorial Arduino with Ethernet shield & PHP. i don't want to use the usb serial communication, lets keep it purely Ethernet. That means using the GET/POST method. Please include all codes for Arduino side and PHP side, Thanks. AND PLEAAAAAASE talk, teach in your tutorial, don't be shy ; we can't learn in silence. I subscribed-Thank you

  • Attach Vibrator. X10 wireless chip. Sew into GF's fav undies. Take her out to dinner. Pull out your phone and let the public orgasms fly.

  • The PHP code is ran from my computer that is setup to be a web server. The Arduino is connected to the computer.

Loading...

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