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: cli_BLS_nortos.cpp
- Revision:
- 10:e40d8724268a
- Parent:
- 9:ac2412df01be
- Child:
- 11:bfb73f083009
--- a/cli_BLS_nortos.cpp Sat Nov 10 17:08:21 2018 +0000
+++ b/cli_BLS_nortos.cpp Tue Jan 15 09:03:57 2019 +0000
@@ -289,6 +289,12 @@
a.com->printf ("who%c\r\n", a.target_unit);
}
+extern void rcin_report () ;
+void rcin_pccmd (struct parameters & a)
+{
+ rcin_report ();
+}
+
struct kb_command {
const char * cmd_word; // points to text e.g. "menu"
const char * explan;
@@ -353,6 +359,7 @@
{"kd", "kick the dog, reloads WatchDog", kd_cmd},
{"wden", "enable watchdog if modes allow", wden_pccmd},
{"wddi", "disable watchdog always", wddi_pccmd},
+ {"rcin", "Report Radio Control Input stuff", rcin_pccmd},
{"rpm", "read motor pair speeds", rpm_cmd},
{"mph", "read loco speed miles per hour", mph_cmd},
{"rvi", "read most recent values sent to pwms", rvi_cmd},
@@ -381,7 +388,7 @@
void menucmd (struct parameters & a)
{
if (a.respond) {
- a.com->printf("\r\n\nDouble Brushless Motor Driver 2018\r\nAt menucmd function - listing commands:-\r\n");
+ a.com->printf("\r\n\nDual BLDC ESC type STM3 2018\r\nAt menucmd function - listing commands:-\r\n");
for(int i = 0; i < a.numof_menu_items; i++)
a.com->printf("[%s]\t\t%s\r\n", a.command_list[i].cmd_word, a.command_list[i].explan);
a.com->printf("End of List of Commands\r\n");