GRYNX

18th 2005f October, 2005

Build your own Robotic WebCam

by @ 21:18. Filed under Uncategorized

Build your own Robotic WebCam

By Jawed



Overview


Here’s how to build a webcam that can be viewed and controlled from the web:

  1. User clicks on one of three links: left, center, right
  2. A script written in PHP makes a socket connection to a listener program (written in C++) running on my home PC, indicating the direction of movement requested.
  3. The listener program executes one of three scripts (written in Visual Basic), one for each direction of movement.
  4. The Visual Basic script opens the COM2 serial port and sends one of three signals (L, C, or R).
  5. The pins of the COM2 port are connected to a Parallax BASIC microcontroller. It is running a small progam (written in Parallax Basic) which listens for signals.
  6. Upon receiving the turn signal on the COM2 port the microcontroller sends a pulse signal to the servo motor. Depending on the duration of the positive-going pulse, the servo rotates accordingly.


Required Hardware


Parallax Basic Stamp 2 Starter Kit. This includes a board and a microcontroller with a BASIC interpreter.


Notice the 9-Volt battery hook-up in the upper left corner of the board above.
You’ll need a power supply like this one, but one that has the 9-Volt battery style connector.

5 Responses to “Build your own Robotic WebCam”

  1. moath Says:

    hi,
    i want to know how i can make the c++ program and the vb program executable

  2. zaid Says:

    hi all , plz i want the c++ code for the webcam becouse i want to use it in a robotic project , so if you can help me with this , plz send the code to my E-mail: ( the_bad_killer@hotmail.com )

    hope to c your rely

    thx

    zaid ghanem

  3. beasley Says:

    have you got any ideas in how to put a camera in laptop so its built in, if so where do you get the camera form. i want my laptop to have builtmin camera and i want to build it in myself. i wnat it to be built in like appple mac/laptop camera

  4. beasley Says:

    have you got any ideas in how to put a camera in laptop so its built in, if so where do you get the camera form. i want my laptop to have builtmin camera and i want to build it in myself. i wnat it to be built in like appple mac/laptop camera

  5. beasley Says:

    have you got any ideas in how to put a camera in laptop so its built in, if so where do you get the camera form. i want my laptop to have builtmin camera and i want to build it in myself. i wnat it to be built in like appple mac/laptop camera

Leave a Reply

Host your project

Write for Grynx:

Do you have what it takes? If you're the right person then email us.

Archives:

Support Grynx:

Help us continue our work with a donation

Website promotion SEO Managed Advertising

5 Most popular articles:

Google

Categories:

Do it yourself - DIY
Our projects collection

10 queries. 0.295 seconds

Home