SaraKIT for Raspberry Pi CM4

SaraKIT is a Raspberry Pi CM4 expansion board that enables advanced voice control and precise motor control. It features three sensitive microphones with sound localization for voice recognition up to 5m away, two independent BLDC motor controllers providing quiet, fast and precise control for gimbal motors, CSI interface with two cameras on a flexible cable, two accelerometers, a gyroscope, and a temperature sensor. In short, SaraKIT is a versatile solution for those who want to build modern and efficient voice-controlled products, robots, home automation, and interact with smart home or office devices.

SaraKIT Mainboard

caption
This example shows how to control motor speed, torque and angle of BLDC gimbal motors using the Field Oriented Control (FOC) algorithm (or not) in C++/Python.



BLDC motors have become increasingly popular due to their smooth operation, high torque, and precise control. In this guide, we will explore the use of BLDC motors using SaraKIT, and compare them to other commonly used motors such as stepper motors and servos.
 
In this video, I demonstrate how easy it is to control BLDC gimbal motors, and also discuss the advantages and disadvantages of solutions based on servos or stepper motors. I also show the difference in controlling gimbal motors that have a decoder and those that do not.
 
We try to simplify the program code as much as possible, we show many examples of use. For example, what you see in the video above is implemented literally in a few lines of the program:
 

or knowing the diameter of the wheel, we can move the vehicle by a certain number of centimeters or meters (c++,python):
 
BLDCMotor_DriveMeters(uchar motorId, float centimeters, float speed, uchar torque, float WhellDiameter);