AlkaMotors / AM32-MultiRotor-ESC-firmware

Firmware for stm32f051 based speed controllers for use with mutirotors
GNU General Public License v3.0
738 stars 264 forks source link

is there a list of cli commands for configurator to set them by cli? #107

Open docjones82 opened 1 year ago

AlkaMotors commented 1 year ago

@docjones82 AM32 uses the same ESC protocol used by blheli_s or bluejay so it works with flight controllers or with usb directly. This is a bidirectional protocol with all the necessary safety checks and acknowledgements to set and read settings. What sort of serial device do you want to try and connect?

AlkaMotors commented 1 year ago

The betaflight cli commands for setting motor direction or 3d mode etc can be used. These are documented in the betaflight project. Otherwise we have move on from a cli interface many years ago.

docjones82 commented 1 year ago

was gonna try iterminal on iphone and blheli passthru , to see if its possible to adjust in field since using esc-configurator does not play friendly w most iphones or androids, no apps out there and not convient to have desktop computer packed w me, laptop ect. everyones got phones tho.. so if can et iterminal to send cli commands thru blhelipassthru maybe .. maybe i can build an app around it for field

AlkaMotors commented 1 year ago

@docjones82 interesting.. what serial device are you planning on using? Maybe I can help out with this. Are you going to use modified serial adapter or a flight controller to connect from the phone to the ESC?

docjones82 commented 1 year ago

will be a esp32 disquised as flight controller, will have passthru on it , i have it working with esc-config.com w computer to change settings works, flash does not, but thinking about just using it and bluetooth to esp and then use iterminal to send terminal commands and would love the help, would love to make your configurator work online ... gonna try putting up aws server and docker and see if it can be put up on webpage as app if so then i dont need to do any of this lol but good thing esp32 shows up as fc now and works so not to far off finding way to make work on phone, just gotta find out whats the best route

docjones82 commented 1 year ago

if i can get a few terminal commands to go thru with what i got now from phone i think can build gui app for phone and tie buttons to terminal commands

Muddauber7 commented 1 year ago

@docjones82 interesting.. what serial device are you planning on using? Maybe I can help out with this. Are you going to use modified serial adapter or a flight controller to connect from the phone to the ESC?

I think we're just about there, just need a few more pieces to finish the puzzle.