Skip to content

sparkfun/SparkFun_IoT_Brushless_Motor_Driver

Repository files navigation

SparkFun IoT Brushless Motor Driver (ESP32 WROOM, TMC6300)

SparkFun IoT Brushless Motor Driver (ESP32 WROOM, TMC6300)

SparkFun IoT Brushless Motor Driver (ESP32 WROOM, TMC6300) (ROB-22132)

The SparkFun IoT Brushless Motor Driver is an all-in-one development platform. It includes all the components to create a simple IoT device or learn about control systems. On the boaard, users will find an ESP32 microcontroller, a TMC6300 motor driver, a gimbal motor, a TMAG5273 hall-effect sensor, three INA240A1 inline current sensors, an MCP6021T low-side current sensor, two user buttons, a Qwiic connector, a 3-pin JST connector (for the gimbal motor), and a WS2812 RGB LED.

The TMC6300 from ADI + Trinamic is a powerful and easy-to-use three-phase motor driver with up to 2A (1.4ARMS) of total drive current. Separate high-side and low-side control of the three half-bridges allows for incredible control of each phase of the motor commutation. We've found the Arduino Simple Field Oriented Control library to work well with the TMC6300 motor driver.

However, a field-oriented control (FOC) algorithm requires some feedback to close and optimize the control loop. Therefore, we integrated a TMAG5273 hall-effect sensor and INA240A1 current sensor amplifiers (both manufactured by Texas Instruments) into the design of the IoT motor driver board. This allows users to incorporate a position sensor and current sensing into the FOC algorithm or any feedback control loop they choose to implement.

Repository Contents

Documentation

Need to download or print our hookup guide?

Product Variants

Version History

  • v10 - Initial Release

License Information

This product is open source!

Please review the LICENSE.md file for license information.

If you have any questions or concerns about licensing, please contact technical support on our SparkFun forums.

Distributed as-is; no warranty is given.

  • Your friends at SparkFun.