stylesuxx / esc-configurator

A Web-App to flash your BLHeli_S and AM32 based ESCs from the browser using the Web-Serial API.
https://esc-configurator.com
GNU Affero General Public License v3.0
164 stars 51 forks source link

Allow flashing via FTDI adapter #37

Open stylesuxx opened 3 years ago

stylesuxx commented 3 years ago

This would allow ESC's to be flashed without a need for a flight controller as suggested by @AlkaMotors

One could simply use a FTDI adapter or arduino or anything similar.

stylesuxx commented 3 years ago

This library allows to make a one wire interface from an Arduino and also shows how to convert a UART/FTDI adapter into a one wire interface.

Before connecting the user needs to select the method of connection. Default should be the pass through, and one wire the second option.

If one wire is chosen, the user should be informed about how to prepare his Arduino or FTDI adapter. In a later step we can also think about flashing the Arduino directly from the UI.

Baudrate: 19200

knoopx commented 3 years ago

I definitely need this for AM32, the configurator has this "direct connection" option but works on windows/linux only.

khari05 commented 1 year ago

Just wondering, is there any progress on this feature? I'm not sure if this is helpful but the original BLHeLiSuite supported flashing an Arduino with the correct firmware to interface over serial. A first step could just be adding support to use that same protocol to talk to an ESC after someone already sets up communication through BLHeLiSuite.

stylesuxx commented 1 year ago

Nope, no progress on this one. It's a hard sell for me to be honest. I would need to dump a lot of time into this feature and I simply don't see the use case. FCs are relatively cheap, so if you buy an Arduino or an FC makes almost no difference. I know Alka is working on some additional bootloader functionality to integrate a 4 way interface. Once this is done I might look into it to at least allow AM32 being flashed via FTDI.

The Arduino 4 way interfaces I have seen all don't seem to work straight forward. And I can't really use the one that BLHeli ships with.

But by any means, if anyone wants to integrate this, I'd be more than happy to merge a PR.

khari05 commented 1 year ago

If anyone else finds this issue, the workaround I used was installing betaflight on an STM32 dev board and using that as a temporary flight controller that could talk to bluejay configurator