Software > Software

Control a pan/tilt webcam

(1/1)

airman00:
How can I control a pan/tilt webcam from a visual basic program?

I found this, but its in php . Any idea how to make it into visual basic?
http://www.lavrsen.dk/twiki/bin/view...e3a1c85007ebd3

Many thanks,
Eric

Admin:
Im assuming your pan/tilt uses servos, right?

Look around for something called a servo controller.
(such as here http://www.pololu.com/products/elec.html#servcon)

Then you would need your visual basic program to send the proper commands to the servo controller out your serial port:
http://www.google.com/search?sourceid=navclient&aq=t&ie=UTF-8&rls=DGUS,DGUS:2006-11,DGUS:en&q=visual+basic+serial+port+example

There are USB methods too, but will probably be harder:
http://www.societyofrobots.com/member_tutorials/node/25

Steve Joblin:
check out this thread at Parallax... he controls a pan/tilt webcam using VB via Roborealm... http://forums.parallax.com/forums/default.aspx?f=10&m=186647

airman00:
Yea, i ended up using Roborealm to do image processing. I took an example for the logitech orbit online and played around with it. Its really cool now. The camera follows a certain color object around and then the robot begins to follow the object around.

Thanks steve

Navigation

[0] Message Index

Go to full version