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: Radio_Control_In.cpp
- Revision:
- 14:acaa1add097b
- Parent:
- 12:d1d21a2941ef
- Child:
- 16:d1e4b9ad3b8b
--- a/Radio_Control_In.cpp Sun Sep 29 16:34:37 2019 +0000
+++ b/Radio_Control_In.cpp Sat Nov 30 16:34:58 2019 +0000
@@ -64,14 +64,14 @@
return norm;
}
-void RControl_In::RadC_rise () // December 2018 - Could not make Servo port bidirectional, fix by using PC_14 and 15 as inputs
-{
+void RControl_In::RadC_fall () // December 2018 - Could not make Servo port bidirectional, fix by using PC_14 and 15 as inputs
+{ // 30th November 2019 - Swapped _rise and _fall as now using Schmitt inverters on input
period_us = t.read_us ();
t.reset ();
t.start ();
}
-void RControl_In::RadC_fall ()
+void RControl_In::RadC_rise ()
{
pulse_width_us = t.read_us ();
pulse_count++;