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
Diff: DualBLS.h
- Revision:
- 7:6deaeace9a3e
- Parent:
- 6:f289a49c1eae
- Child:
- 8:93203f473f6e
--- a/DualBLS.h Tue Jun 05 07:19:39 2018 +0000 +++ b/DualBLS.h Sun Jun 17 06:59:37 2018 +0000 @@ -1,5 +1,3 @@ -//#define POWER_OF_TWO 12 // Range is 4 to 13, is log2N -//typedef float ffty; // Choice of float or double float is HUGELY FASTER than double const int HANDBRAKE = 0, FORWARD = 8, REVERSE = 16, @@ -34,9 +32,9 @@ {0, 2, 2, "Servo2 0, 1, 2 = Not used, Input, Output"}, {1, 5, 2, "Command source 0 Invalid, 1 COM1, 2 COM2, 3 Pot, 4 Servo1, 5 Servo2"}, {'1', '9', '0', "Alternative ID ascii '1' to '9'"}, // defaults to '0' before eerom setup for first time - {50, 250, 98, "Wheel diameter mm"}, // New 01/06/2018 - {10, 250, 27, "Motor pinion"}, // New 01/06/2018 - {50, 250, 85, "Wheel gear"}, // New 01/06/2018 + {20, 253, 98, "Wheel diameter mm"}, // New 01/06/2018 + {10, 253, 27, "Motor pinion"}, // New 01/06/2018 + {20, 253, 85, "Wheel gear"}, // New 01/06/2018 } ; const int numof_eeprom_options = sizeof(option_list) / sizeof (struct optpar);