This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Controlling a microservo from nRF51822 when BLE is activated

I am trying to control a servo motor from nRF51822 when BLE is activated. I am using mbed development framework and libraries. My servo example works flowlessly if BLE/SoftDevice S110 is not used. However, when I use BLE for advertising or to establish a connection to a central device, my servo starts glitching/bumping. I have seen this example that shows how to use PWM together with SoftDevice

github.com/.../nrf51-pwm-library

However I have not been able to make it work with my servo. Is there any simple servo example?

Thanks!

Parents
  • tumaku, Have you initialized the control input to your servo before applying power? If not, you should, because most DC servos such as the TowerPro SG90 units have an undefined state when power is applied, but no control signal has been set.

Reply
  • tumaku, Have you initialized the control input to your servo before applying power? If not, you should, because most DC servos such as the TowerPro SG90 units have an undefined state when power is applied, but no control signal has been set.

Children
No Data