Servo Click Board
Servo Click Board
Introducing the Servo Click Board™: Revolutionize Your Servo Control
Are you tired of struggling with limited servo control options? Look no further! The Servo Click Board™ is here to transform your servo control experience.
Unleash the Power of 16-Channel PWM Control
Say goodbye to single-channel limitations. With the Servo Click Board™, you can simultaneously control a whopping 16 servo motors! Each servo enjoys its own programmable PWM signal, giving you unparalleled flexibility and precision in your projects.
Fine-Tune Your Servo Performance
Precision matters. That's why we equipped the Servo Click Board™ with a programmable PWM signal frequency range from 24 Hz to 1526 Hz. This range is meticulously chosen to cater to various servo types, ensuring that your creations move with the utmost precision and accuracy.
Real-Time Insights with Voltage Sensing
What sets the Servo Click Board™ apart is its 16-bit A/D converter, which samples the voltage drop across each channel's shunt resistor. This means you get real-time feedback on servo current consumption, allowing you to optimize performance and prevent overheating without any need for modifying your servos.
Why Choose the Servo Click Board™?
- Effortless Control: Control up to 16 servos with ease, streamlining your projects and saving you time.
- Precision in Every Move: Fine-tune your servos to perfection with a wide PWM signal frequency range.
- Protect Your Servos: Monitor current consumption in real-time to prevent damage and enhance longevity.
Make the smart choice and experience a new level of servo control with the Servo Click Board™. Elevate your projects, unlock limitless possibilities, and join the ranks of satisfied customers who have already made the switch.
Ready to revolutionize your servo control? Click the button below and take the first step towards a brighter, more precise future!
Get Your Servo Click Board™ Now
Don't miss out on this game-changing innovation. Upgrade your servo control today!
Software Support
We provide a demo application for the Servo Click Board™ on our Libstock page, as well as a demo application (example), developed using MikroElektronika compilers. The demo can run on all the main MikroElektronika development boards.
Library Description
This library will allow you to control multiple servo motors at once.
Key Functions
void servo_init(uint8_t minPosition, uint8_t maxPosition, uint16_t lowResolution, uint16_t highResolution);
- Main click board initialization routine.void servo_setMode(uint8_t mode,uint8_t _data);
- Set's the operation mode of the click board.servo_sleep();
- The function needs to be set before setting the frequency.void servo_setFREQ(uint16_t freq)
; - Used for setting the frequency.void servo_setPosition(uint8_t motor, uint8_t position);
- Set the position of the selected servo motor.
Example Description
The application is composed of three sections:
- System Initialization - Initializes the I2C module and the CS pin as the output
- Application Initialization - Initializes the driver and the servo (setting the minimum and maximum servo motors position and resolutions). Default resolution is 1ms. The IC is set to Sleep mode in order to set the frequency, after which the working mode of the servo is set
- Application Task - (code snippet) - The servo motor is moved across three different positions: 0, 90, 180 - every two seconds. The current consumption is sampled while the servo transitions between these points
void applicationTask() { servo_setPosition(_SERVO_MOTOR_1, 0); Delay_ms( 2000 ); servo_setPosition(_SERVO_MOTOR_1, 90); Delay_ms( 1000 ); servo_setPosition(_SERVO_MOTOR_1, 180); Delay_ms( 2000 ); servo_setPosition(_SERVO_MOTOR_1, 90); Current = setvo_getCurrent(_SERVO_POSITIVE_CH0); IntToStr(Current , text); mikrobus_logWrite( "Current - ", _LOG_TEXT ); mikrobus_logWrite( text, _LOG_TEXT ); mikrobus_logWrite( " mA", _LOG_LINE ); Delay_ms( 1000 ); }
The full application code, and ready to use projects can be found on our Libstock page.
Other MikroElektronika libraries used in the example:
- I2C Library
- UART Library
- Conversions Library
- C_String Library
ADDITIONAL NOTES AND INFORMATION
Depending on the development board you are using, you may need a USB UART click, USB UART 2 click or RS232 click to connect to your PC, for development systems with no UART to USB interface available on the board. The terminal available in all MikroElektronika compilers, or any other terminal application of your choice, can be used to read the message.
MIKROSDK
The Servo Click Board™ is supported with mikroSDK - MikroElektronika Software Development Kit. To ensure proper operation of mikroSDK compliant click board demo applications, mikroSDK should be downloaded from the LibStock and installed for the compiler you are using.
Servo Click Board
Frequently Asked Questions
Have a Question?
Be the first to ask a question about this.