Hi Guys,
The story is that I have installed a button (2 legs) to the 2 pins (GND and Switch) on the P3 solder pads.
The problem is that it does turn the witty pi off when I press the button (the pi was on), but it wont turn on when I press the button (the pi was off).
I have waited for the system to fully turn off (like 5 mins) then only then I press the button one time to turn it on but it just wont do anything.
Sometimes it does turn on after I press the button 5 times in the row ( on -> off -> on -> off -> on).
I tried to measure the voltage between Switch and GND. When the button is pressed, it is 0v between switch and GND. When not pressed, it is 3.3v
P/s: The cable to the button is short (5cm), the solder join are secured and there is no bridging between 2 pins. I pressed and released the button as quickly as I can. The button is a push button, press then it stay in pressed states and vice versa.
I am suspecting that I may use the wrong button
How do you power your device? What kind of power source is used?
The button is supposed to be a “normally off” momentary push button, IMO.
When I first installed a button on one of my witty pi 4 L3V7’s, I happened to pick a “normally connected” momentary button from my collection of push buttons not realising it was the wrong type. It took quite some time before I found out what was wrong. The button was nice and small, and not as easy to accidentally push when handling the case as the correct type I replaced it with, but of course it didn’t work as intended.
@arjenr according to what he/she said:
I tried to measure the voltage between Switch and GND. When the button is pressed, it is 0v between switch and GND. When not pressed, it is 3.3v
Seems the correct button type is used. I am thinking maybe the power source was cut, which has rather big chance if it is a powerbank.
@arjenr according to what he/she said:
I tried to measure the voltage between Switch and GND. When the button is pressed, it is 0v between switch and GND. When not pressed, it is 3.3v
Seems the correct button type is used. I am thinking maybe the power source was cut, which has rather big chance if it is a powerbank.
It struck me most that the OP described it as a locking button instead of a momentary one. Not quite the right type, at least not the most suitable type, but in a pinch it could probably work. Some locking pushbuttons have very little to no visible feedback as to which position they are in at any time, which would be a problem.
@admin I used a 12V battery connected via a buck converter, it is quite stable

