Skip to content

About

Arduino Shiled for running Gimbal BLDC motors with FOC algorithm

Topics

Resources

Stars

635 stars

Watchers

18 watching

Forks

Repository files navigation

Arduino SimpleFOCShield v4.1

License: MIT GitHub release (latest by date) GitHub Release Date

This is an open-source low-cost BLDC/Stepper motor driver board intended primarily for mid-power FOC applications up to 10Amps. The board is fully compatible with the Arduino UNO and all the boards with the standard Arduino headers. The SimpleFOCShield, in combination with the SimpleFOClibrary provides user-friendly way to control BLDC motors both in hardware and software.

Features

  • Plug & play: In combination with Arduino SimpleFOClibrary - github
  • Low-cost: Price of 15-30€ - Check the pricing
  • In-line current sensing: Up to 10Amps bidirectional
    • INA240 inline current sense amps (Gain 50, shunt 5mΩ)
  • Integrated 8V regulator:
    • Enable/disable by soldering pads
  • Absolute max ratings - Designed for mid-power motors (preferably gimbals).
    • Max current: 8A/10A (3-5A continous),
    • Max input voltage: 35V
  • Power supply voltage sensing: Optional volatge divisor 4.7kΩ/47kΩ (1/11)
  • Stackable: running 2 motors in the same time
  • Encoder/Hall sensors interface: Integrated 3.3kΩ pullups (configurable)
  • I2C interface: Integrated 4.7kΩ pullups (configurable)
  • Configurable pinout: Hardware configuration - soldering connections
  • QWIIC/STEMMA compatible**: The board now has the 4-pin JST i2c connector to enable easy upgrades of your projects
  • SPI connector: 6-pin JST connector for easy connection of SPI sensors (stacking not possile)
  • Arduino headers: Arduino UNO, Arduino MEGA, STM32 Nucleo boards...
  • Open Source:

New Features v4.x

  • Transition away from stm's DRV8313 chip to DRV8316, with higher current capacity
  • Transition form ACS712 hall sensor amps to TI's INA240 amps
  • Power supply volatge sennsing
  • Designed completely in EasyEDA PRO, which is a free online PCB design tool - Official Easy EDA project
  • Added SPI and QWIIC/STEMMA connectors

Comparison to the Drive shield

Short YouTube demonstration video (Old and somewhat outdated)

Short video guide to fabricating your own SimpleFOCShield (Old and potentially outdated)

More info on board fabrication docs.

Board versions:

Feature SimpleFOCShield v1.x SimpleFOCShield v2.x SimpleFOCShield v3.x SimpleFOCShield v4.x
PWM Driver L6234 L6234 DRV8313 DRV8316
Current Sense ❌ INA240 ACS712 INA240
Current measurement range ❌ (configurable) ±3.3/5Amps ±5Amps (configurable) ±8A/±10A
Onboard LDO ❌ LM7808 LM7808 LM7808
Stackable ✔️ ✔️ ✔️ ✔️
Max current 2Amps (5Amp peak) 2Amps (5Amp peak) 2Amps (3Amp peak) 5Amps (8Amps)
Max voltage 24V 35V 35V 35V
Protections Overtemperature Overtemperature Overtemperature, Overcurrent UVLO, CPUV, OCP, OTW/OTSD
Footprint 68mm x 53 mm 68mm x 53 mm 56mm x 53mm 56mm x 53mm
Design tool Altium Designer 2019 Altium Designer 2019 EasyEDA EasyEDA PRO
QWIIC/STEMMA connector ❌ ❌ ❌ ✔️
SPI connector ❌ ❌ ❌ ✔️

Release timeline

To check the release timeline, click here

Version link Release date Comment
SimpleFOCShield v1.3 release v1.3 04/20 Inital release
SimpleFOCShield v1.3.1 release v1.3.1 07/20 added Nucleo stacking support
SimpleFOCShield v1.3.2 release v1.3.2 09/20 added I2C pullups
SimpleFOCShield v1.3.3 release v1.3.3 12/20 adapted L6234 circuit + full Arduino header
SimpleFOCShield v2.0 release v2.0 01/21 - 3A in-line current sensing
- 5V regulator
- new pinout for hardware config
SimpleFOCShield v2.0.1 release v2.0.1 01/21 - reduced via size
- configurable range
SimpleFOCShield v2.0.2 release v2.0.2 02/21 replaced 7805(connected to 5V) with 78M08 (connected to VIN) to be compatible with stm32 Nucleo-64
SimpleFOCShield v2.0.3 release v2.0.3 03/21 - Shortened the lines from ADC to current sense
- Typo fix : underside label switched phase A and phase B
SimpleFOCShield v2.0.4 release v2.0.4 09/21 - Pullup config simplified
- Max input voltage 35V
- removed CAP2 for a CL1
- Easy EDA version of the project
SimpleFOCShield v3.1 release v3.1 10/22 - Complete redesign
- Transition to DRV8313
- Transition to ACS712
- Smaller footprint: 56mm x 53mm
- Fault and reset pins exposed (optional)
- Fault led indication
- Fully developed using EasyEDA
SimpleFOCShield v3.2 release v3.2 04/24 - Official release
- Resolved the bug #9
SimpleFOCShield v4.1 release v4.1 04/26 - Official v4 release
- transition to DRV8316
- transition to INA240 amps
- Added stemma/qwiic support
- Added SPI JST connector

Getting started

You already have your own SimpleFOCShield?
Here is a simple guide how to start preparing your setup

How to get hold of the SimpleFOCShield

  • Fabricate the board yourself: Please visit the board fabrication to find out how to manufacture the board yourself!
  • Order the finished and tested board: Check out our shop.

About

Arduino Shiled for running Gimbal BLDC motors with FOC algorithm

Topics

Resources

Stars

635 stars

Watchers

18 watching

Forks

Releases

Packages

Contributors