Open habonlaci opened 7 years ago
The beacon only works when there is a throttle signal present. That is the way it is currently implemented, which covers the vast majority of usecases. I guess it could also be possible to activate it with no throttle signal present.
I think @habonlaci has a good point there. One rationale behind the timer based ESC beacon is to serve as a 'last resort' acoustical locator after a crash, so it would make sense for it to activate even if the connection to the flight controller has been severed or the flight controller / voltage regulator has been damaged in the crash.
Exactly. Today I crashed in a tree and somehow, the connection between the FC and ESC (4in1) got ripped out. Took me like 1 hour to find my quad in the tall grass, and I was very lucky. I use dshot beeper what obviously was not working either.
It turns out that this can be overly complicated. When there is no input connected, the input pullup resistor causes code to go into bootloader mode. Where it will stay as long as there is no input signal. So from the way the system and code currently is designed, activating the beacon with no input signal will be quite complex.
That's not ideal indeed. Would it be an option to add the beacon timeout to the bootloader, and make it jump to the beacon routine after the timeout has elapsed?
Hrm.. Why is there a pull-up on the input, anyway? That seems like it might be a bit dangerous for loose connections.
Pullup is chosen in order to work with the pullup of the one-wire bootloader interface. A pulldown would work against the (dongle or FC) pullup.
Hello :) Isn't the one-wire bootloader supposed to be the thing doing the pull-up, though? Not sure if you're talking about the old turnigy linker thing, but for that I had to use a weak pull-down (1M) to still be able to detect its own weak pull-up while still having something to otherwise drain the pin from noise when not connected.
ROFLMFAO!!!!!!!! @sskaug, dude, listen to @sim-. He actually knows what hes doing. Maybe if u ask nicely u can get @kidBrazil to help u make a real bootloader that actually works correctly.
Is it on purpose that the ESC beacon funcionality is only active when an FC is connected? I think since it is a BLHeli feature and has nothing to do with the FC it would be very helpful if it would activate once the timer is up even if there is no FC present at all. (v16.63)