|
From: | Christophe De Wagter |
Subject: | Re: [Paparazzi-devel] How to control more than 8 ESC with paparazzi? |
Date: | Thu, 19 Jan 2017 13:27:54 +0100 |
Cheers, Felix- you can also (mostly) freely mix these concepts, so e.g. have some actuators (ESCs) on direct PWM, some on I2C and some on S.BUS or whatever (but you have to take care to have a "consistent" mapping between the input values and the actual thrust)- delegating the actual actuator output to another board (Linux based or not) is always another possibility- if it doesn't have to be PWM, then e.g. I2C or S.BUS based ESCs can easily support a larger number of actuators- of course Paparazzi can control more than 8 ESCs (even via PWM) if the board you use has enough IO ports... (e.g. some existing boards have 10+ PWM outputs and you could always design your own board using an MCU with more IO pins to add more of them)- first the very basic question that you have to ask yourself is whether PWM is really what you would want to use for a multi-rotor vehicle like that...Hi,there are several answers to your question (and some info already provided by Michal and Gautier):On Wed, Jan 18, 2017 at 11:22 PM, Gautier Hattenberger <address@hiddenm > wrote:Hi,
A S.BUS output driver have been added recently (https://github.com/paparazzi/
paparazzi/pull/1952 ). I have not tested it, but you should be able with this to control several (up to 7 it seems) S.BUS compatible servos or ESC (or use a decoder board like https://hobbyking.com/en_us/signal-converter-module-sbus-ppm maybe?) from a single UART TX.-pwm-s2pw.html Gautier
Le 18/01/2017 à 22:28, Michal Podhradsky a écrit :
MichalRegardsThe drawback is that you would have to sacrifice certain IO depending on how many extra outputs you need. The software side should be pretty straightforward, you would just have to define extra PWM outputs in the board files.Hi Hao,you could remap some of the other pins (UART,SPI,GPIO) to PWM output since most of them have timers associated with them (I recommend having a look at the Lisa M schematics). That should give you enough ouputs. Indeed it would be at 3.3V logic, so you would need some voltage converter to make it compatible with the servos/ESC.
On Wed, Jan 18, 2017 at 10:13 AM, Ranger <address@hidden> wrote:
Dear All The autopilot board, such as lisa M, has only 8 PWM output, and may not be just not enough if more rotors/servos are needed. Is there any way of control more than 8 ESCs/servos using paparazzi? Which would be much useful in multi-rotors(see attached photo) and other hybrid platforms. I was thinking about some arm base board, such as raspberry pi, and customize it by simply adding more I/O ports for GPS, IMU and PWM....Anyone have comment interest in this? I knew there was a Linux based paparazzi initiated in 2010, and personally I think it has the potential to be much more powerful than Lisa M. Much appreciated if any one can teach me on existing paparazzi ones. Looking forward to hearing from you. Best Hao
View this message in context: How to control more than 8 ESC with paparazzi?
Sent from the paparazzi-devel mailing list archive at Nabble.com.
_______________________________________________
Paparazzi-devel mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/paparazzi-devel
_______________________________________________ Paparazzi-devel mailing list address@hidden https://lists.nongnu.org/mailm an/listinfo/paparazzi-devel
_______________________________________________
Paparazzi-devel mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/paparazzi-devel
_______________________________________________
Paparazzi-devel mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/paparazzi-devel
[Prev in Thread] | Current Thread | [Next in Thread] |