|Subject:||Re: [Paparazzi-devel] Hexacopter|
|Date:||Wed, 4 Apr 2012 08:00:06 +0200|
So if I want to stick to the LPC I can go the lazy way and order 6 mikrokopter ESC or the hard way and connect the esc to some spare ADC connectors of the tiny and do some coding…
Is that correct ?
De : address@hidden [mailto:address@hidden De la part de Christophe De Wagter
In order to have fast enough motor commands you need to bypass the decade encoder and use direct pwm like on the classix. Stm32 has only direct pwm pins and can therefore make 400hz servo commands on all servos. The default config of the tiny is 50hz servos.
On Apr 4, 2012 7:08 AM, "Cedric Marzer" <address@hidden> wrote:
Thank you for your answer and for the link.
I am still wondering why it is written that the pwm actuator is for stm32 only.
Is it because there is a timing problem with the LPC ?
Or is it just because nobody has taken the time to write it ?
Or is there another subsystem to drive the ESC with PWM ?
Is there an expert that could answer that question ?
Thanks in advance
Le 4 avr. 2012 à 00:06, Simon Wilks a écrit :
I don't know about it's suitability in general but to get around the PWM problem you could use an I2C to PWM converter like this http://abusemark.com/store/index.php?main_page=product_info&cPath=1&products_id=3&zenid=e14a65b50c75f3497735e1f454f69817
If you are using the DJI ESCs they will be fast enough to make the setup probably still fast enough given the 2-3ms delay in the conversion step.
Here is a sample hexa airframe config with the matrix: https://github.com/paparazzi/paparazzi/blob/master/conf/airframes/Poine/h_hex.xml
On Tue, Apr 3, 2012 at 11:00 PM, Cedric Marzer <address@hidden> wrote:
|[Prev in Thread]||Current Thread||[Next in Thread]|