PDA

View Full Version : Discussion Need help: RS-232 servo controller (one byte only)


looony
May 20, 2007, 11:57 AM
Hello!

I'm new here, and this forum has been great! I'm doing some project and need an unusual PC serial-servo controller. I've bought a few, like from Ponlulu and such, but the problem is I need the controller to require only one byte on info to control the one servo.

The boards on the market need 3 bytes, I need a simple one as I have a program that will be controlling it using such simple, low level info.

Anyone can help please? Would appreciate an email to peterho78 (at) yahoo.com.sg please, I am willing to buy such a solution. Thanks!

Peter

Probedude
May 20, 2007, 12:17 PM
Can you program PIC's? Just use the 1 serial byte to load your delay loop counter to generate the servo pulses.

Dave

vintage1
May 20, 2007, 01:30 PM
Or get an old DOS PC where you can program right at the hardware, and program one pin of the parallel port to do what you want. You can crank the timer way up high on one of these to get fine time divisions..I ran one at 10Khz once..mind you you need to rewrite the timer interrupt stuff if you don't want the date going round every few minutes :D



Then use its serial port as your input..:D :D

AndyOne
May 20, 2007, 03:38 PM
A simple way to make a serial interface for a servo would to be to use a Basic Stamp using the free download programming software you should easily be able to make a stand-alone solution. http://www.parallax.com/html_pages/products/basicstamps/basic_stamps.asp

or you could consider programming a PIC in basic using Oshonsoft Basic which even has serial-in and servo-out commands ready-made.

http://www.oshonsoft.com/picbasiccompiler.html

Andy.

andrewm1973
May 22, 2007, 05:20 PM
Loony - look in my AVR programming thread in the indoor and micro model forums.

There is already ATMEL code there for sending out pulses to servos and there is some code for the 2313 for doing UART reception.

Rub the two together and you are away.

(or if you need help rubbing them together - the send me a PM)

looony
Jun 06, 2007, 09:31 AM
thanks for the advice! Really appreciate it!