Git Product home page Git Product logo

bldc-motorcontroller's Introduction

BLDC-Motorcontroller

This is a very simple sketch to control two BLDC motors using the STEVAL-GMBL02V1, SimpleFOC library and Arduino IDE.
Motors are iPower GM3506 with internal AS5048A encoders.

I'm using Tourqe as MotionControlType and Voltage as TourqeControlType. This is because the STEVAL-GMBL02V1 sadly only offers a single shunt per motor connection, making Current control impossible (using SimpleFOC v2.2.2 at least).

The controller is managed via I2C connection to a Raspberry Pi and receives relevant speed and steering data.

Findings regarding the STEVAL-GMBL02V1

I didn't find much information about the STEVAL-GMBL02V1 online, so i collected everything here in case anyone else might be interested in it.

  • The documentation notes "6V to 8.4VDC bus voltage range, which you can increase to 11V". It isn't mentioned again, and should be taken with a grain of salt, as the STSPIN233 driver has an operating voltage between 1.8 and 10V, with 11V being the absolute maximum rating for it.
  • I2C can be wired via PB9/SDA and PB8/SCL, or if absolutely neccessary there is another I2C pin in the 10 pin header for the STLink connection. You will need to overwrite the SWD pins for this, so take care.
  • BOOT0 is hardwired to GND, so you'll need a small probe to pull it high.

bldc-motorcontroller's People

Contributors

p-rott avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

starobi

bldc-motorcontroller's Issues

Connection

Hi, can you explain how you managed to connect the controller to Arduino IDE? Thanks!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.