I guess speculation takes precedence over looking up the answer from published sources.
I think you’re confusing signal debouncing (which Anduril has) with a physical tendency to short out (which the firmware has no control over). This is not a thing which can be solved by changing code on the MCU.
As for signal debouncing though, two of the supported platforms have rather noisy switches… so I had to add pretty strong debouncing code. Especially on my lightsaber, the switch is really low quality and its signal bounces like no other switch I’ve ever seen. The FW3A switch is relatively tame in comparison.
I’m not really worried about bike vibrations causing spurious button presses… I’m more concerned about it causing electrical noise strong enough to overload and reboot the MCU. But it remains to be seen if that will actually be an issue.
On proto2, I can turn the light on and hit it sideways really hard and nothing happens. But on proto4, if I hit it hard at just the correct angle, it shuts off. Like, immediately… not with a delay like it would with a button press. It’s not detecting a spurious button press. And I don’t know what to expect from real production hardware, because this one was modified with a dremel.
How much play is there with the inner signal tube?
A layer or two of fine kapton tape for a snug fit to remove any play and further insulate it from the body/ keep it perfectly centered?
One layer of kapton tape was all I could fit. Any more than that and it won’t fit into the outer tube any more.
I don’t know if the tail parts will be glued or not, so I don’t know how easy it’ll be to open. Regardless, that doesn’t seem to be an issue as much as making sure the driver fits into the proper place. Proto1 and proto2 were totally fine in that regard, I never saw a proto3, and proto4 didn’t have quite a large enough space cleared out for the driver.
Detailed info has been sent, but everyone there is on holiday for a while so there is no response yet.
Cool. I’m guessing there is a retaining lip at the switch end of the tube?
Yes the driver cavity being correctly machined is quite an important aspect of this build.