Dual Brushless Motor ESC, 10-62V, up to 50A per motor. Motors ganged or independent, multiple control input methods, cycle-by-cycle current limit, speed mode and torque mode control. Motors tiny to kW. Speed limit and other parameters easily set in firmware. As used in 'The Brushless Brutalist' locomotive - www.jons-workshop.com. See also Model Engineer magazine June-October 2019.

Dependencies:   mbed BufferedSerial Servo PCT2075 FastPWM

Update 17th August 2020 Radio control inputs completed

Revisions of main.cpp

Revision Date Message Actions
13:ef7a06fa11de 2019-09-29 Stable code as at end of 2019 running season File  Diff  Annotate
12:d1d21a2941ef 2019-03-04 STM3 ESC dual motor controller boards. Always 'Work In Progress', working snapshot March 2019 File  Diff  Annotate
11:bfb73f083009 2019-01-19 Tidied class parameter passing, serial problem fixed (was hardware) File  Diff  Annotate
10:e40d8724268a 2019-01-15 Buggered serial comms to TS controller File  Diff  Annotate
9:ac2412df01be 2018-11-10 About to work on hand control state machine to remove need of power cycle for direction change File  Diff  Annotate
8:93203f473f6e 2018-08-18 Work underway to drive brushed motors.; Code as supplied to Rob File  Diff  Annotate
7:6deaeace9a3e 2018-06-17 Firmware for STM3 Twin Brushless Motor Electronic Speed Controller; Snapshot at 17th June 2018 File  Diff  Annotate
6:f289a49c1eae 2018-06-05 Migrating towards code for both STM32F401RET (64 pin) and STM32F446ZET7 (144 pin). Should resolve IO conflicts for larger device - getting servo ins and outs working File  Diff  Annotate
5:ca86a7848d54 2018-05-29 Adding temperature sensor and fw\re input from possible hand held control box File  Diff  Annotate
4:21d91465e4b1 2018-04-26 Adding setup in eeprom code, responses to be aligned to controller; File  Diff  Annotate
3:ecb00e0e8d68 2018-03-18 Starting motors requires high-side mosfet drivers being enabled. Auto tickleup functions now included to switch high sides off and on again to charge high side supply capacitors (now 2u2, up from 100n) File  Diff  Annotate
2:04761b196473 2018-03-10 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; File  Diff  Annotate
1:0fabe6fdb55b 2018-03-07 About to start testing twin bldc motor controller board STM2; File  Diff  Annotate
0:435bf84ce48a 2018-03-01 Tested so far on Nucleo F401RE.; About to experiment reading pressure sensor MPL3115A2 using library code; File  Diff  Annotate