Skip to content

Releases: ironsheep/P2-BLDC-Motor-Control

v5.0.0

17 Sep 00:42
Compare
Choose a tag to compare

Overall clean-up of motor ramping and motor coordination, fixing and awakening features

Thank you to Tim Moore as this release is mostly his contribution! He's building and testing platforms with both the 6.5" and Doco motors. This work is a result of his adjuting the code so it is much better performing.

I have used this code as I was incorporating Tim's changes. This entire system is just much more fun to use. Thank you Tim!

In this Release:

  • Improvements to getCurrent() for RevA and RevB boards
  • NEW setAcceleration(rate) implemented
  • Adds synchronization of multiple motors
  • Corrects DoCo motor direction (forward and reverse now correct for both motors)
  • Improves handling of wheel diameter
  • Driver internal adjustments:
    • Repaired board detection (now detects before use, oops!)
    • Internal driver clean up (duty, hall table access, stop mode, code shape changes, PWM enable/disable, etc.)
    • General clean-up of motor ramping
    • Adjusts motor power when small direction changes
  • FlySky changes
    • Code: min/max and controls, now configurable from the demo top-level
    • Demo Controls: add VRA (top left center dial) for controlling acceleration, add swE for rotation testing

WARNING: With these ramp improvements our motors can accelerate even faster now. You already know they are powerful. Please be careful while you get used to these new changes.

What's Changed

  • Tim's PRs 6 through 18, 21, and 22 incorporated in this release

New Contributors

Full Changelog: v4.2.0...v5.0.0

v4.2.0

15 Aug 21:01
Compare
Choose a tag to compare

BLDC Motor Driver with steering and position tracking

Full dual motor control of robotic platform using 6.5" hoverboard BLDC wheels from Parallax and their BLDC Motor control boards.

Easy control of BLDC motors used for other purposes.

Full support for the DocoEng.com smaller 24v 4,000 RPM motor

Full support for RevA and RevB BLDC Motor control boards

In this release

  • Adjust 6.5" motor drive contacts for better operation

Errata - Known Issues for V4.2.0

  • Calculation of current and power not yet correct. It's coming shortly!

Full Changelog: v4.1.0...v4.2.0

v4.1.0

14 Aug 18:42
Compare
Choose a tag to compare

BLDC Motor Driver with steering and position tracking

Full dual motor control of robotic platform using 6.5" hoverboard BLDC wheels from Parallax and their BLDC Motor control boards.

Easy control of BLDC motors used for other purposes.

Full support for the DocoEng.com smaller 24v 4,000 RPM motor

Full support for RevA and RevB BLDC Motor control boards

In this release

  • FIx 2-wheel steering object. (validation method was calling incorrect underlying method)

Errata - Known Issues for V4.1.0

  • Calculation of current and power not yet correct. It's coming shortly!

Full Changelog: v4.0.0...v4.1.0

v4.0.0

14 Apr 08:00
8081f9a
Compare
Choose a tag to compare

BLDC Motor Driver with steering and position tracking

Full dual motor control of robotic platform using 6.5" hoverboard BLDC wheels from Parallax and their BLDC Motor control boards.

Easy control of BLDC motors used for other purposes.

Full support for the DocoEng.com smaller 24v 4,000 RPM motor

In this release

  • Full support for RevB BLDC Boards
  • Adds auto-recognition of RevA and RevB boards (adjusts internal motor parameters accordingly)
  • Revamped "motor drive" pasm code, performs better and simplified state machine

Errata - Known Issues for V4.0.0

  • Calculation of current and power not yet correct. It's coming shortly!

v3.0.0

17 Aug 00:54
Compare
Choose a tag to compare

BLDC Motor Driver with steering and position tracking

Full dual motor control of robotic platform using 6.5" hoverboard BLDC wheels from Parallax and their BLDC Motor control boards.

Easy control of BLDC motors used for other purposes.

Update: BUGFIX and Performance update for the DocoEng.com smaller 24v 4,000 RPM motor

  • Fixed bug in PWM generation at higher RPMs
  • Re-characterized DocoEng.com motor to allow higher RPMs (updated related doc's showing new RPM rates achieved)
  • Updated motor rotation sense mechanism to properly detect slow rpm (less than 8 hall tics per second) speeds
  • Driver should now work better at most propeller clock speeds. (Still needs 270MHz if using HDMI output - HDMI driver limit)

NOTE Attached .zips repaired (fixed CR-only line-endings)

v2.1.0

08 Jul 01:03
Compare
Choose a tag to compare

BLDC Motor Driver with steering and position tracking

Full dual motor control of robotic platform using 6.5" hoverboard BLDC wheels from Parallax and their BLDC Motor control boards.

Easy control of BLDC motors used for other purposes.

Update: Release initial support for the DocoEng.com smaller 24v 4,000 RPM motor

  • This is the first release of support for the new motor offered by Parallax.com

v2.0.0

05 May 03:30
Compare
Choose a tag to compare

BLDC Motor Driver with steering and position tracking

Full dual motor control of robotic platform using 6.5" hoverboard BLDC wheels from Parallax and their BLDC Motor control boards.

Update: Control your platform from mounted RPi via Serial

  • Fixed issues with position tracking/reporting within isp_steering_2wheel.spin2
  • Adds new Serial Top-Level object as the interface to the 2-wheel steering object.
    -- Drive your platform from RPi or Arduino (RPi example provided)

v1.1.0

27 Apr 23:51
Compare
Choose a tag to compare

BLDC Motor Driver with steering and position tracking

Full dual motor control of robotic platform using 6.5" hoverboard BLDC wheels from Parallax and their BLDC Motor control boards.

Minor update

  • Add emergency stop methods to isp_bldc_motor.spin2, and isp_steering_2wheel.spin2
  • Adjust spin-up ramp to start slower then speed up (better traction on loose surfaces but faster speed-up as well.)
  • Add FlySky control mapping info to this README
  • Map FlySky SwD to emergency stop!

v1.0.1

02 Apr 01:12
Compare
Choose a tag to compare

Initial Public Release

BLDC Motor Driver with steering and position tracking.

  • Full dual motor control of robotic platform using 6.5" hoverboard BLDC wheels from Parallax and their BLDC Motor control boards.