Hi all,
I'm working on a project that uses a Feather nRF52 to control a ring of NeoPixel LEDs, and I'd like to use a tactile momentary switch as a power button, like this page shows. I've purchased an Adafruit Push-button Power Switch Breakout that uses a Pass FET to make a tactile momentary switch behave like a latching switch, which I've wired as shown in the Fritzing diagram below.
My problem is: when the Feather is powered on by connecting the battery (or any other source), the button shows no behavior or change to the Feather. The Feather is always on, and the button may as well not be there.
Am I using this button breakout correctly?
Trouble Using Switch as Power Button for Feather
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- aidanjwhelan
- Posts: 1
- Joined: Sun Oct 02, 2022 9:43 pm
- dastels
- Posts: 15659
- Joined: Tue Oct 20, 2015 3:22 pm
Re: Trouble Using Switch as Power Button for Feather
I see a definite problem, and a potential/likely one.
First, you're not powering the switch board. To quote the product description:
Now, that said, what you want for your purpose *is* on that board: the output of the flipflop that controls the FET. I found and rendered the schematic, which is attached. I'm thinking that you want to use the GATE signal (pin 11 of the NAND chip) or the point between the two gates (pin 10 of the chip). Which you want depends on which comes up the default state you want (Feather on or off). The attached notated photo of the bottom of the board shows the two points to solder a wire to. The right hand point is pin 11.
Dave
First, you're not powering the switch board. To quote the product description:
That leads to the second problem. You're not using the switch board for what it's intended to be used for. It's for switching power to a circuit, not connecting a pin to ground. The In pin provides power for both the board,itself, as well as the circuit that is being controlled (via that Out pin). It's not a replacement for an SPST switch, it's a power controller.connect the power source to Ground and IN
Now, that said, what you want for your purpose *is* on that board: the output of the flipflop that controls the FET. I found and rendered the schematic, which is attached. I'm thinking that you want to use the GATE signal (pin 11 of the NAND chip) or the point between the two gates (pin 10 of the chip). Which you want depends on which comes up the default state you want (Feather on or off). The attached notated photo of the bottom of the board shows the two points to solder a wire to. The right hand point is pin 11.
Dave
- Attachments
-
- IMG_5984.jpg (191.77 KiB) Viewed 47 times
-
- power_switch_sch.png (26.44 KiB) Viewed 47 times
Please be positive and constructive with your questions and comments.