I’ve got a momentary button connected to pins A & B on the Mini Pushbutton Power Switch (part #2808) and while neither A or B pins are connected to GND the button will only turn on - a second push will NOT turn it off. The CTRL is connected to an Arduino and that works fine to turn on/off the unit. Additionally, the built-in button will also only turn on - not off.
I have the same problem on two of these units, but not on a third - is this a manufacturing error?
We test every unit, which includes making sure that the built-in pushbutton works, so a manufacturing error seems unlikely. Can you post more details for your other components (power supply, load, external button) along with some pictures that show all of your connections?
Let’s also try a simpler setup. If you disconnect everything from your pushbutton power switch boards except for the power supply, does the built-in pushbutton work as expected? It should be easy to tell just by looking at the board’s LED.
The power supply is a 12VDC, 600mA wall wart. The load is around 200mA. I’m using your D24V5F5 to provide 5V to various LEDs as well as the Vio to a motor stepper driver (TMC2208). The button is a simple momentary button.
As you can see from the pic, the board is soldered into a custom PCB I created so I can’t test it separately. Same goes for the other one - it’s also soldered into a PCB.
Also, the behaviour (button won’t turn off unit) happens when there isn’t any load, as you can also see from the pic.
While you may not be able to remove the pushbutton power switch from your PCB, we can still do more to isolate its behavior from your other components. You mentioned that you already disconnected the load (other than the regulator itself). Can you temporarily disconnect the external pushbutton? Also, can you load an empty sketch onto the microcontroller?
Geat idea. I loaded a blank sketch (File > New) onto the Arduino microcontroller and removed the external pushbutton and load. The behaviour is the same - the onboard momentary button will turn on the unit but not off.
Since I’ve only added pin headers to the 3rd one (and not used it till now) and it doesn’t work, I think it’s safe to say the three purchased in May 2023 all have the same defect. How can I get replacements?
Thanks for the great video and sorry about my delayed response. Since that board looks ok, it is at least partially working, we have had no other reports like this, and all of your boards are not working, let’s just make sure the power supply is not the source of the problem (some wall warts can output higher voltages or be noisy enough to cause malfunction of the switch). Can you easily look at the output with an oscilloscope or try a different power source, including some batteries or a regulated 5V line you have somewhere in your system? If it works at lower voltages, we should get you the SV version (as long as you don’t need operation under 5V).
When you’re right, you’re right - it was the wallwart power supply causing the problem. I just tried with a 9V battery and the onboard button works as expected. I’m ditching that power supply and will use one I know is sound. Phew!
I couldn’t have sorted this out without your help, Patrick, so thanks very much.