This is a smart motor driver (also known as SAMI) designed to operate miniature geared motors. The goal of this board is to implement PID control of the motor through appropriate RPM feedback. It can operate independently, powered and communicating via I2C!
The host controller communicates with SAMI via I2C, sending commands including motor speed and direction. The module will automatically implement PID control. Therefore, your host controller can be relaxed, while this board handles the motor. You can also read the motor's status and configure it.
SAMI can drive motors to the desired distance or angle and then stop upon reaching it. This is ideal for robotics, simplifying many arduous tasks and enabling precise motion. Multiple modules can be connected to a single bus, allowing simultaneous control of multiple motors!
Building advanced robots is not easy for anyone! This module simplifies your work; simply solder the module to the motor.
detail
This is an intelligent motor driver (also known as SAMI) designed to run a micro geared motor. The goal of this board is to enable easy PID control on the motor using corresponding RPM feedback from a Hall effect sensor. Therefore, it has its own microcontroller and H-bridge, allowing it to operate independently.
The host microcontroller (or any system that can use I2C) communicates via I2C to issue commands to the intelligent drive module, including the motor's speed and direction. The module will automatically implement PID control to maintain the speed and dynamically apply more/less power to the motor for archiving.
In addition, the control module can drive the electric motor to the required distance or angle. For this, you must specify the wheel diameter and gearbox relationship.
To sense the motor speed, I used a magnetic encoder disk, which is polarized along the disk surface. Therefore, a Hall effect sensor can detect changes in the disk's magnetic field and send the signal to the microcontroller. Then, using timers and interrupts, we calculate the motor's RPM in the second plane, allowing the microcontroller to freely run a PID control algorithm and handle communication with the host.
Furthermore, it prevents gears from dislodging due to sudden acceleration or braking, and avoids the battery tripping the protection circuit due to current surges. Therefore, your valuable motor will be safe!
The Arduino library makes it easy to use SAMI, allowing you to quickly and easily plug in a large number of motors.
feature:
It is easy to install on the back of the miniature DC motor.
It can control the speed and direction of the motor.
It will automatically stop when the distance or angle is reached.
Multiple control modes, including simple PWM or PID with or without automatic stop. Plus a safe direction switching option.
Applicable to I2C. The address can be changed via software.
It can control many motors, with up to 128 modules on the same I2C bus.
The internal pull-up of I2C can be enabled/disabled via software.
The configuration can be saved in EEPROM.
Read the actual speed of the motor and check for any malfunctions.
Fully configurable.
Easy-to-use high-precision motor control.
Small packaging.
Arduino libraries are available.
Specification:
The motor voltage can reach 11V.
The maximum continuous motor current reaches 1.7A and 1.8A peak.
Logic voltage ranges from 3V to 5V. (1.8V range to be confirmed later after testing)
The default I2C address is 0x24.
Prevent overcurrent and overheating.
To reset the default I2C address, connect the MCLR pad to GND during power-on.
Standard 1mm 5-pin JST connector.
advantage:
Independent motor control.
Smoother and more precise movements.
Avoid damaging the motor.
An easy-to-use solution.
Built-in motor speed feedback.
High-response PID control maintains a constant motor speed.
Avoid sudden current spikes that could damage the power supply or battery.
If specified, it will automatically stop at the desired travel distance or angle.
A powerful navigation solution for robots when used in conjunction with other sensors such as IMUs.
Open source design.