go away spammer

Author Topic: Control a pan/tilt webcam  (Read 4018 times)

0 Members and 1 Guest are viewing this topic.

Offline airman00Topic starter

  • Contest Winner
  • Supreme Robot
  • ****
  • Posts: 3,650
  • Helpful? 21
  • narobo.com
    • Narobo.com - Mechatronics and related
Control a pan/tilt webcam
« on: September 12, 2007, 06:58:26 AM »
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
Check out the Roboduino, Arduino-compatible board!


Link: http://curiousinventor.com/kits/roboduino

www.Narobo.com

Offline Admin

  • Administrator
  • Supreme Robot
  • *****
  • Posts: 11,703
  • Helpful? 173
    • Society of Robots
Re: Control a pan/tilt webcam
« Reply #1 on: September 15, 2007, 01:00:24 PM »
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

Offline Steve Joblin

  • Supreme Robot
  • *****
  • Posts: 405
  • Helpful? 2
    • Roebotz
Re: Control a pan/tilt webcam
« Reply #2 on: September 15, 2007, 02:01:30 PM »
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

Offline airman00Topic starter

  • Contest Winner
  • Supreme Robot
  • ****
  • Posts: 3,650
  • Helpful? 21
  • narobo.com
    • Narobo.com - Mechatronics and related
Re: Control a pan/tilt webcam
« Reply #3 on: September 15, 2007, 06:35:08 PM »
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
Check out the Roboduino, Arduino-compatible board!


Link: http://curiousinventor.com/kits/roboduino

www.Narobo.com

 


Get Your Ad Here