Yahoo Groups archive

Lpc2000

Index last updated: 2026-04-28 23:31 UTC

Thread

Re: [lpc2000] hobby servo sample source?

Re: [lpc2000] hobby servo sample source?

2005-06-05 by RogueRabbit

u can use artx in Keil....


> I have a Keil MCB2100 that I would like to use in a mobile robot I am 
> beginning work on.  I think I am going to use the freertos.org task 
> scheduler and I am wondering if anyone here has experience controlling 
> hobby (R/C) servos with the LPC2129. I am thinking that I will need to 
> set up a time based interrupt at a frequency quick enough to get the 
> control resolution I need on the 1 to 2ms pulse width. Any tips for me 
> or sample code? either with freertos support or without? I am just 
> getting into this. I am using Keil tools for the time being.
> 
> Thanks,
> 
> Michael
> 
> ___________________________________
> http://michael.sprague.name
> 
> 
> 
> 
>  
> Yahoo! Groups Links
> 
> 
> 
>  
> 
> 
> 
> 

[Non-text portions of this message have been removed]

Re: hobby servo sample source?

2005-06-05 by Michael Sprague

Thanks for the rtos suggestion, but I am looking for hobby servo control code.

--- In lpc2000@yahoogroups.com, "RogueRabbit" <XiongXiaowei@1...> wrote:
Show quoted textHide quoted text
> 
> u can use artx in Keil....
> 
>

Re: hobby servo sample source?

2005-06-06 by Michael Sprague

Okay, I found the PWM example on the Keil website. It looks like as 
long as I only want to use the PWM timer for hobby servos and not 
mix in true pwm motor control I can set it up with the 20ms interval 
my servos are looking for. Now I just have to see if I can get that 
working behind the scenes with a task in freertos updating the match 
values on an as needed basis.

Thanks,
Michael

--- In lpc2000@yahoogroups.com, "Michael Sprague" <yahoo-
groups@m...> wrote:
> Thanks for the rtos suggestion, but I am looking for hobby servo 
control code.
> 
> --- In lpc2000@yahoogroups.com, "RogueRabbit" <XiongXiaowei@1...> 
wrote:
Show quoted textHide quoted text
> > 
> > u can use artx in Keil....
> > 
> >

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.