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
Diff: main.cpp
- Revision:
- 9:ac2412df01be
- Parent:
- 8:93203f473f6e
- Child:
- 10:e40d8724268a
--- a/main.cpp Sat Aug 18 12:51:35 2018 +0000 +++ b/main.cpp Sat Nov 10 17:08:21 2018 +0000 @@ -32,7 +32,7 @@ */ #if defined (TARGET_NUCLEO_F401RE) // CPU in 64 pin LQFP -#include "F401RE.h" +#include "F401RE.h" // See here for warnings about Servo InterruptIn not working #endif #if defined (TARGET_NUCLEO_F446ZE) // CPU in 144 pin LQFP #include "F446ZE.h" @@ -731,7 +731,7 @@ void hand_control_state_machine () { static int new_hand_controller_state = HAND_CONT_STATE_BEGIN; // static int old_hand_controller_state = HAND_CONT_STATE_BEGIN; - static int old_hand_controller_direction = T5, t = 0; + static int old_hand_controller_direction = T5, t = 0; // Nov 2018 confirms Rob and Quentin obs, direction read at powerup static double brake_effort, drive_effort, pot_position, old_pot_position = 0.0; if (T5 != old_hand_controller_direction) { // 1 Forward, 0 Reverse pc.printf ("Direction change! Power off then on again to resume\r\n");