Wednesday, 24 February 2010

PIC Servo driver

Many thanks to Nathan for donating some servos for me to play with, here are the first results...

This is a simple start to driving servos from a PIC using the venerable 16F84. On power up, the PIC resets the servo to the mid position and then waits for one of two input pins to go low. One makes the servo swing to the right and the other to the left. The total range of movement is sub-divided into 100 steps so accuracy is good.

I'd like to use this in a scanning security camera application with some sort of simple motion sensing using maybe ultrasonics.

No comments:

Post a Comment