STM3 ESC dual brushless motor controller. 10-60v, motor power rating tiny to kW. Ganged or independent motor control As used in 'The Brute' locomotive - www.jons-workshop.com
Dependencies: mbed BufferedSerial Servo FastPWM
DualBLS.h@2:04761b196473, 2018-03-10 (annotated)
- Committer:
- JonFreeman
- Date:
- Sat Mar 10 10:11:07 2018 +0000
- Revision:
- 2:04761b196473
- Parent:
- 0:435bf84ce48a
- Child:
- 3:ecb00e0e8d68
Proved board basically works, drives 1 brushless motor, not fitted all comps to test second. About to change MotorA and MotorB to Motor[2] array - more general for N motors;
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
JonFreeman | 2:04761b196473 | 1 | //#define POWER_OF_TWO 12 // Range is 4 to 13, is log2N |
JonFreeman | 2:04761b196473 | 2 | //typedef float ffty; // Choice of float or double float is HUGELY FASTER than double |
JonFreeman | 2:04761b196473 | 3 | const int HANDBRAKE = 0, |
JonFreeman | 2:04761b196473 | 4 | FORWARD = 8, |
JonFreeman | 2:04761b196473 | 5 | REVERSE = 16, |
JonFreeman | 2:04761b196473 | 6 | REGENBRAKE = 24; |