WebCam servo control

Technology
WebCam servo control

Webcamservo
C@PPER writes –

I needed a simple way to add pan and tilt capability to my LabCam from a remote location using a web page interface. Two RC servos and an ATmega16 was the solution. This project is fairly simple in nature, and was completed in less than a week.

The two servos are attached directly to the webcam to form a gimbal. The controller consists of an ATmega16, a MAX232 IC, and a small 5V power supply.

The LabCam was already running on a Mepis Linux server using Camstreams to take snapshots at defined intervals. One of the guys at http://thegeekgroup.org helped me with the PHP code to output servo control commands from the Mepis PC serial port to the controller. The controller then adjusts the servos in response to commands received.

A custom web page on the Mepis server links both the snapshot photos and the servo control.

:: AVR Freaks – Link.

What will the next generation of Make: look like? We’re inviting you to shape the future by investing in Make:. By becoming an investor, you help decide what’s next. The future of Make: is in your hands. Learn More.

Tagged

current: @adafruit - previous: MAKE, popular science, hackaday, engadget, fallon, braincraft ... howtoons, 2600...

View more articles by Phillip Torrone
Discuss this article with the rest of the community on our Discord server!

ADVERTISEMENT

FEEDBACK