Forum 2005-2010 (read only)
Topic: auto tracking
(Read 473 times)
Apr 17, 2009, 05:40 pm
Hello. I'm totally new to arduino and have just got my first board. Can anyone help me...I'm trying to use it to control a servo that can track a moving object ( it doesn't have to be to accurate). I was going to use PIR sensors and get them to trigger the movement..... Any ideas?
Re: auto tracking
Apr 17, 2009, 06:45 pm
Well, it's a straightforward project, if you have low expectations. You want a sensor for "it's too far left, turn right" and a sensor for "it's too far right, turn left," combined with a servo to turn.
There is a built-in servo library that can handle one or two hobby servos, be careful of the current requirements so you don't damage the low current limits of the output pins.