Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [button]

Questions about button types, button debouncing, button interfacing, etc.

-2
votes
0answers
58 views

Why my servo motor is always on? [migrated]

Why my servo motor is always on? ...
3
votes
4answers
355 views

Question about debouncing - delay of state change

I have a very simple project where I needed to debounce a button (in software). Logically, my thought process is: If the state's been stable for a while, and it changes, then immediately signal an ...
0
votes
1answer
90 views

Pic Programming - Nested Loops

I'm having some problem with my code and I can't get my two loops working properly. I'm new to C programming so I might have got the basic loop concepts wrong. I've got 10 LED lights connected to my ...
0
votes
0answers
31 views

How to attach a button to the circuit board on a key fob?

I have a power lock key fob for my Subaru where the unlock button has detached from the circuit board. I would like to try to re-attach it, but I am not sure about the right method. Is there some sort ...
6
votes
2answers
352 views

Motorized valve interfering with button?

I have the following circuit: The relay will basically be controlled by the Arduino (using pin 3), based on a value it's getting (from a NRF24L01 module). However, I also want the relay to be ...
1
vote
1answer
29 views

Power button behaving as OFF-(ON) momentary switch rather than latching- Troubleshooting

I have a device which doesn't turn on normally when you press the power button like it did before. You have to keep holding it down for it to remain on. As soon as you let go, it turns back off. In ...
2
votes
1answer
51 views

How to replace push buttons on an intercom?

This is the intercom panel in my apartment, it's 30+ years old and I want to give it a face lift. The push-buttons are momentary, and I want to replace them using modern ones like these, but I'm not ...
0
votes
0answers
28 views

How to control single 12V LED with 3,3v GPIO? [duplicate]

Heyo! I need to control single 12V LED using Raspberry's GPIO To be more exact, I need to connect 12V LED & push button to 3.3v GPIO in order to control LED (on/off) and read button push events. ...
0
votes
0answers
66 views

Convert momentary button to toggle switch?

I have this simple circuit (existing, not mine) that you toggle on and off with a simple push button and when you power it off and back on it stays off unless the button is pressed. I want to set this ...
0
votes
0answers
65 views

What is the connection pattern for multi-pole push button switches like this one?

It does not appear to be one of the two obvious choices - one side common or button down connects terminals across from each other. Used on an HVAC unit. It is busted so I can not probe it out. ...
0
votes
3answers
187 views

How to make a positive pulse with a button?

I want to make a circuit that sends a positive pulse that gets high for a few nano seconds when I push the button and then goes to low. I want this to happen even if I hold the button down without ...
0
votes
2answers
114 views

Can a button control a 5 speed fan without a microcontroller?

Is it possible to control a fan with a single button that cycles though fan speeds without using a micro controller. Can anyone point me to some documentation on how this would work or any ideas how ...
2
votes
2answers
82 views

Unusual behavior when controlling a Button Matrix

I have a 4x4 matrix for 16 buttons. Each row/column is directly connected to the pins of an unknown microcontroller. When I connect the pins directly to each other, the microcontroller behaves ...
0
votes
2answers
81 views

Momentary push button

Can someone help me with this push button? I want to connect to an Arduino, it works fine with a small one but with this big one it conducts when press and releasing. The problem is that the push ...
1
vote
2answers
295 views

LED Circuit design (4 switches, 1 potentiometer)

I need to design an LED circuit that acts as a switching system. It must meet these specifications. Case 1(Press Button 1): LED 1 ON, LED 2 ON, LED 3 OFF Case 2(Press Button 2): LED 1 ON, LED 2 OFF,...
0
votes
1answer
43 views

Trigger an analog SPDT switch ONLY with a long button press

I'm currently working on project where I need an analog SPDT switch to be only triggered by a long button press. Long story short I'm trying to make a module that would fit inside a Game Boy. This ...
-3
votes
1answer
66 views

how rubber keypad works [closed]

Press on the keyboard, how does he connect the circuit of this key? Two thin films, coated with conductive rubber circuit, with a thin film in the middle, with holes, used to isolate two thin films ...
1
vote
0answers
70 views

Make a double-tapping button (ideally without ICs or keeping ICs to a minimum) for a small “tiny cell” powered device

Conditions: small device, extremely space constrained (large caps are a no-go) Powered by a small battery (something like under 120 mah) Thus, adding a few more ICs like the 555 or "TimeBlox ...
0
votes
1answer
63 views

Open and Close Circuit automatically (Automate Push Button)

I have a simple circuit board with a push button on it. I just want to automate the pressing action every 0.2 sec or so. The push button has two terminals underneath and I understand that I should ...
1
vote
2answers
61 views

Which components for flat waterproof buttons controller

I'm trying to build a waterproof controller to mount on a motorcycle, to interact with a Raspberry PI Zero. I'm looking for the best way to build something flat (it has to be mounted on the handlebar),...
4
votes
3answers
1k views

I need the name of this one “component”

I have been wondering what this blue thing in the top is called. I want to make the same kind of buttons for a project but i dont know what they are called and how to make them. Please help.
1
vote
1answer
49 views

What solution would be a low power option to signal a computer with button presses?

I want to make a custom input device with six buttons that when pressed signal computer to run a program. I would like to do this with a very low amount of power. What options are available to me to ...
1
vote
2answers
109 views

Hold Pushbutton for soft latch after X seconds

What I'm trying to achieve is have a momentary push button that must be held for say 5 seconds before latching on permanently. But the button must be held for entire duration or else timer will reset....
0
votes
1answer
95 views

I need to do a membrane pcb for a keyboard or a flexible PCB like a membrane PCB

I need to design a membrane PCB for a keyboard and/or flexible double sided PCB that works like a membrane PCB. My problem here is that I don't know how to do the buttons, with one contact of the ...
-1
votes
2answers
88 views

How do I make a circuit for a push switch that in order to turn on you need to press it 2 times?

Is there any way to make a switch circuit that turn a led on by pressig it two times thank you...
0
votes
1answer
166 views

esp32 adafruit huzza32 touch button

I'm having a problem mapping touch pins(for touch buttons) on adafruit hazzah, because pins on the chip(for touch sensors) and board doesn't match. Does anybody knows how to connect them(to which pins)...
0
votes
3answers
122 views

How to align components for front panels

I am struggling with the front panel setup. I need to align 3 types of components: push-buttons, potentimeters and 5mm leds. The potentiometers have a nut to fasten it to the front-panel, for the ...
6
votes
5answers
1k views

Automated test for pushing a pcb mounted mini push button

We have a test that checks whether or a push button works or not, and as of now the test is done manually by hand. My question is how to do this automatically? We have considered using a solenoid to ...
3
votes
3answers
459 views

Latching Soft ON/OFF Button

Would it be reasonable to implement a soft ON/OFF button like this? My design requirements in short: Enable the system power from a single-cell LiPo battery immediately after the ON/OFF button has ...
0
votes
1answer
53 views

Single Button Power Switch and Mode Selector

I am currently creating an embedded project and would like to know what you all think is the best way to proceed. My setup at its most basic is an ATMEGA328P, a simple momentary pushbutton, a ...
0
votes
1answer
107 views

Preventing long-press button function on DFPlayer board

I'm using DFPlayer in stand-alone mode (no Arduino) for a music project. The buttons all have short-press and long-press commands. I want to trigger a short-press command by releasing a depressed ...
0
votes
2answers
567 views

Reversing Motor with 2 push button switches [closed]

i wanted to make a schematic to reverse the motor direction with 2 push buttons, and i failed every time to make a schematic like this, when someone can help me would it be helpful thanks.
0
votes
1answer
164 views

Bypass button press on fan for direct power on when plugged in

I have a fan that I want to plug into a thermostatically controlled power outlet so that the fan comes on when the temperature reading reaches a certain set point. The fan is currently wired through ...
-1
votes
1answer
198 views

Solder a push button directly to Raspberry Pi Zero GPIO [closed]

I would like to solder a push button directly to the Raspberry Pi Zero's 40 GPIO row (without the header). I am looking for instructions on how to do it and also possibly for a suitable button type/...
0
votes
1answer
37 views

Push buttons switch

Maybe someone can help me out here. I have tried looking all over for a push button switch that is 4 pronged and can turn on 2 separate devices at the same time. I need to be able to turn on a air ...
1
vote
1answer
63 views

Schematic Question with electronic button

I have a question about this schematic, the arrows with the lines going thru them. what I'm trying to do is hook up a push button, either a: 2-wire push button, or a 4-wire push button (Push ...
1
vote
1answer
122 views

Creating a vehicle starting circuit

My vehicle's ignition barrel has given up the ghost, and instead of replacing it, i want to go with a push to start system. I have already sourced a start button and only released after chucking the ...
1
vote
1answer
254 views

Add Delay to “Momentary to Toggle Button” Circuit

I have a simple circuit to take a momentary tactile button and make it toggle a power signal on and off. Unfortunately I was now asked to add a delay to the button. So you have to hold it for a second ...
2
votes
2answers
106 views

What's the name of the type of button that you have to press and hold for current to pass through it?

I want to build a LED toy gun that lights up when the trigger is pressed. I need a button or switch that only allows current to pass through it only when the button is pressed and held down. What is ...
8
votes
2answers
1k views

Can multiple Schmitt triggers in series fully debounce a switch?

After dealing with software debouncing for a while, I find it takes a huge toll on the system, so I thought of initially making a hardware debouncer with one Schmitt trigger (74HC14), a capacitor, ...
-1
votes
1answer
64 views

Ideas needed for a project with a lot of buttons [closed]

Alright so this may sound very weird. Even though I'm 19 years old, I still like electronics with a lot of LEDs and buttons and pots and switches. You know what I'm talking about. I saw this video on ...
0
votes
2answers
579 views

STM32 - more buttons pressed interrupt

I am using STM32L433CCT6 and I am programming it with eclipse and code genereted by STM32CubeMX. I would like to ask you, if is possible to add iterrupt that will be called, if i press two (or more) ...
2
votes
3answers
197 views

Push-Button Voltage Spike (not debouncing)

I have a circuit which reads push-button presses. If it is pressed, it turns on the door by rotating motor. In this system, safety and stability are keys. I added r/c filter to debounce button and ...
-2
votes
1answer
544 views

capacitive touch buttons through VERY thick glass or macrolon? [closed]

for a science-project I need to create 4-5 capacitive touch buttons through thick glass or macrolon. I think we talk about 15cm atleast, if not 20. I wonder if a big coil or big sheet of tinfoil would ...
1
vote
3answers
615 views

Using transistors to replace push buttons

I'm looking for a little help designing a transistor circuit. I have a small LCD (I took from an after-market car backup cam system), and I’m trying to control its built-in menu using the buttons of ...
1
vote
1answer
394 views

LED and Button Matrix multiplexing?

I have only six GPIO to control a piezo buzzer and 6 LEDs and read 6 buttons... Would multiplexing the 6 LEDs/buttons in a 2x3 matrix work like this (i.e. 5 pins for the 6 LEDs and buttons, one ...
1
vote
1answer
136 views

One GPIO pin for LED, Pushbutton and Buzzer via high-pass filter?

There's Pin as both input (for a switch) and output (for LED) with ATmega32U4? but I also need one of six such pins to drive a piezo buzzer. Due to its capacitive nature, I figured it could be ...
0
votes
1answer
318 views

Soft-latch auto-reset OFF (hold) / ON (press) button, is the schematic correct?

I'm looking to make a soft-latching interface with a single momentary push button. Required features for my build are (edited, sorry for bad description) : Circuit should always start in OFF ...
0
votes
1answer
262 views

How do these buttons work?

I can see traces that connect the corners of where the button is mounted, but it seems to me then that the contacts should be always connected via the metal dome button. There's nothing in the middle ...
6
votes
3answers
611 views

How can I keep a momentary button low long enough for microcontroller to read it?

I'm using an ESP-12F to fire off mqtt messages when a button is pressed. The circuit works as expected; the physical button resets the device which boots, runs the code and deep sleeps indefinitely. I ...