On Mon, 25 May 2009, Anders Wallin wrote:

> Date: Mon, 25 May 2009 18:25:32 +0300
> From: Anders Wallin <anders.wal...@helsinki.fi>
> Reply-To: "Enhanced Machine Controller (EMC)"
>     <emc-users@lists.sourceforge.net>
> To: "Enhanced Machine Controller (EMC)" <emc-users@lists.sourceforge.net>
> Subject: Re: [Emc-users] Servo Control
> 
>
> R/C Servos take a digital pulse input at around 50 (or 100?) Hz.
> The width of the pulse determines the position of the servo.
> A width of 1.5 ms is the central position, and 1.0 ms is full left (for
> example), while 2.0 ms is full right.
>
> if you have digital I/O connected to EMC (parallel port or a pci-card)
> and a machine that can run with a base_period of 25us that would mean
> around 40 base_period's for the full range of motion of the servo.
> Do you need more resolution? Some machines may be able to run with a
> shorter base_period.
>
> There might be an existing PWM HAL component you can use to produce this
> output, but it's not hard to code your own if you need to.
>
> Anders


Oops Anders is right on resolution I'd forgotton that RC servos use such a 
narrow range of pulse widths


Peter Wallace
Mesa Electronics

(\__/)
(='.'=) This is Bunny. Copy and paste bunny into your
(")_(") signature to help him gain world domination.


------------------------------------------------------------------------------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, & 
iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian
Group, R/GA, & Big Spaceship. http://www.creativitycat.com 
_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to