Controlling 2 Servos by 1 MetaWear C

Hi,
I want to control 2 servo motors by 1 MetaWear C.
Arduino have servo libraries and it can use any type of I/O pin. So I hope there are some kind of tricks to use GPIO for servo.
I know that haptic pin can control servo motor with PWM, but that is only one.

Regards,
 

Comments

  • Hi @northCountry

    If you desire the servo motors to be synchronized you could wire the control signal in parallel.

    At present there can only be one channel for a servo motor -- the nRF51 supports up to four hardware PWM channels using its built in peripherals, but three are being used for the RGB LED channels.  In the future we might be able to add a GPIO interface and abstraction layer to share access to PWM resources, but there is nothing in the pipeline at the moment.

    A servo motor with an integrated digital controller or a serial bus servo controller could be options for your project.
  • Hi Matt,

    Thank you for your reply. I hope your support for PWM in GPIO interface.
  • Has PWM support been added to more than just the one channel on the MetaWearCPRO? 
  • No additional changes to the PWM have been made thus far.
  • Darn! This is soooo close to perfect for my project. Since I already have one, I may see if I can make it work, but at least one more PWM work be a big help. ;-)
  • @lylesvendsen
    What are you trying to do that requires multiple PWM?
This discussion has been closed.