J
Jan Panteltje
I have put the source for the PIC 16F628A on
http://www.home.zonnet.nl/panteltje/download/camc_pic-0.1.tgz
The diagram will follow later..... perhaps.
This is a max 232 connected to the 16F628, the servos go on RA0-Ra3.
The thing can control 4 RC servos, with simple ASCII commands via RS232
It is designed to move a webcam (pan, tilt, focus, and perhaps zoom).
The PIC generates the 0-2.5 ms pulses.
Safe command area is 100 to 200, else servo may want to move past endstop,
and lots of current may be drawn.
It accepts commands like
x150ENTER
y100ENTER
f200ENTER
z100ENTER
where ENTER is CR (dec 13).
Numbers 0-255 are allowed, after that no idea what things will happen.
150 is 1.5ms = center
Code is for a 6 MHz xtal.
So now you can control your webcam position over the net too.
(With some extra coding).
Can also be used as servo tester.
http://www.home.zonnet.nl/panteltje/download/camc_pic-0.1.tgz
The diagram will follow later..... perhaps.
This is a max 232 connected to the 16F628, the servos go on RA0-Ra3.
The thing can control 4 RC servos, with simple ASCII commands via RS232
It is designed to move a webcam (pan, tilt, focus, and perhaps zoom).
The PIC generates the 0-2.5 ms pulses.
Safe command area is 100 to 200, else servo may want to move past endstop,
and lots of current may be drawn.
It accepts commands like
x150ENTER
y100ENTER
f200ENTER
z100ENTER
where ENTER is CR (dec 13).
Numbers 0-255 are allowed, after that no idea what things will happen.
150 is 1.5ms = center
Code is for a 6 MHz xtal.
So now you can control your webcam position over the net too.
(With some extra coding).
Can also be used as servo tester.