Profile switches not operating as expected

Hello there!

I have a peculiar thing happening with a proffie 3.9 build: it’s a two-switch setup, using Fett263 config props, and by all accounts everything SEEMS to be fine with both wiring and the config file… but the switches, tactile buttons, aren’t working as expected. Each switch appears to work for the most part, but the action resulting from pressing them seems rather random (at least I don’t really notice any discernible, consistent pattern).

If there is more info or details I can provide, please let me know what to include. Thanks so much in advance all! MTFBWY

DId you read the how-to controls for the prop file?
What’s random about using the buttons?

Yep, the config file (other than the expanded collection of fonts) comes from the configuration builder hubbe.net site.

As for the “randomness”… for instance, at one moment the power switch will activate the saber, then later will duplicate the current font, or announce that looping is activated (?); the aux switch will sometimes cycle to the next font, then later activate the volume menu (sometimes the power switch does this too). It’s difficult to fully/clearly describe because there seems to be no pattern that I can tell.

(I have about a dozen or so other proffies and so am not completely new to them… but I’ve also not really experimented with the menu options and other specials like shifting from one font form to another, etc…)

So, yes any insights anyone can provide would be greatly appreciated!!! :blush:

If you have this line in your config file:

#include "../props/saber_fett263_buttons.h"

Then you should read the instructions for how the buttons work.
ProffieOS/props/saber_fett263_buttons.h

Just open the file with any text editor and read the top comment section.

If you’re using my prop I recommend reading this page for Controls and Defines to customize.

Thanks all for your replies and suggestions… yep, definitely made sure to check out the details on how the fett263 button settings work. And it seems it is definitely something to do with the switches themselves. They are tactile push button momentary switches (SQXBK Tactile Push Button Switch 10PCS 2 Pin 6x6x5mm DIP Round Micro Switch Tact Switch: Amazon.com: Industrial & Scientific) housed in an OWK switch box; i had to do some insulating because I discovered some small metal protrusions on the switch body contacting the metal of the switch box.

Nevertheless, the switches still respond in idiosyncratic ways… most commonly activating the volume menu rather than powering up the saber (when pressing the power switch) or switching to the next font (when pressing the aux switch).

There’s seemingly if not clearly something amiss with the wiring — something subtle that I seem to be overlooking — or the switches themselves. The switches seem to be responding as expected when I test them with the multimeter: I’m by no means a completely seasoned saber builder :wink: but not exactly a noob either, and have never had any other switch wiring problems like this.

Again, any assistance, suggestions et al. The community can provide is greatly appreciated!!! If there are details that y’all need to sleuth this out, I’ll happily add to the post.

DId you watch serial monitor to see what the buttons are actually triggering?
i.e

EVENT: Power-Pressed#1 ON millis=46873972
EVENT: Power-Pressed ON millis=46873972
EVENT: Power-Released#1 ON millis=46874130

Hello fellow saberers!! In case anyone is interested, I did at last discover that the problem was that the tactile switches were not fully insulated from the surrounding metal switchbox! :scream: The result of course was that combinations of power and aux switch activations were occurring that I wasn’t actually initiating.

I solved the problem by coating the switch housing seats in the switchbox with a thin layer of liquid electrical tape – just enough to insulate the switches from the switchbox while still allowing them to fit (very tight fit for them). And voila, this did the trick! :nerd_face:

Thanks to all who posted helpful troubleshooting suggestions and ideas!!! MTFBWY!!!

1 Like