Monday 16 November 2020

Smart Servos with I2C Boards That Go Right Inside the Motor

 

Sometimes adding servos to a microcontroller project can be tricky, taking up lots of pins and often needing additional driver hardware. These Smart Servo boards allow common servos to be modified to enable them to be controlled via an I2C port.

Designed to be retro fitted into servo housings these boards replace the regular pulse width modulated control boards and make the servo addressable by I2C. If you are using servos in a project, utilising I2C is likely to reduce pin usage and wiring and also reduce the overhead on your controller. Using the smart servo boards, multiple servos can be addressed uniquely on a single I2C port resulting in an efficient and accurate control system for your project. Whilst requiring slightly different code approaches, these boards are suitable for both single turn and continuous rotation servo applications.

As a common standard protocol, I2C can be found on most microcontrollers including Arduino, Raspberry Pi, Micro:Bit, Trinkets, ESP32, STM32 and many more. There are some great code examples for Arduino and Raspberry Pi in the provided GitHub repository. Full instructions on how to fit these board to servos are provided in well written and clear manual from Statorworks.

 



source https://blog.tindie.com/2020/11/smart-servos-with-i2c-boards-that-go-right-inside-the-motor/

No comments:

Post a Comment