How to wire up Piezo touch sensitive switch?

In summary, Ben found that the switch is not as sensitive as he thought it would be and he needs to apply more force to activate it. He found that connecting it to a MOSFET gate and linking the power supply will activate the switch.
  • #1
Ben Whittle
3
1
Hi Everyone,

I could do some advice on wiring up a Piezo touch sensitive switch. I'm in the middle of building a desk PC project and thought it would be a nice touch to have a touch sensitive power switch, so I've bought a nice shiny touch sensitive illuminated Piezo switch and can't figure out how it works. The switch I've bought is an APEM PBAR2AFB000LSG found on RS components - http://uk.rs-online.com/web/p/push-button-switches/6919553/

It has 4 wires, two of which are for the bi-colour LED and the other two for the switch itself. I very quickly figured out that it is not quite as simple as wiring the two switch wires to the power switch header on my motherboard. I thought maybe it needed a slightly higher voltage or a tad more current to pass through it to activate so I wired it up in line with the coil in a relay with a 12v supply and when I touch it nothing happens. If I need to power some sort of circuit to get this to work I have the 5v standby power from the PSU and a separate 12v power supply which will provide constant power too so there are a couple of options. I assume I'm going about this in entirely the wrong way so I thought I'd seek some expert advice, any help would be much appreciated.

Cheers
 
Engineering news on Phys.org
  • #2
Ben Whittle said:
Hi Everyone,

I could do some advice on wiring up a Piezo touch sensitive switch. I'm in the middle of building a desk PC project and thought it would be a nice touch to have a touch sensitive power switch, so I've bought a nice shiny touch sensitive illuminated Piezo switch and can't figure out how it works. The switch I've bought is an APEM PBAR2AFB000LSG found on RS components - http://uk.rs-online.com/web/p/push-button-switches/6919553/

It has 4 wires, two of which are for the bi-colour LED and the other two for the switch itself. I very quickly figured out that it is not quite as simple as wiring the two switch wires to the power switch header on my motherboard. I thought maybe it needed a slightly higher voltage or a tad more current to pass through it to activate so I wired it up in line with the coil in a relay with a 12v supply and when I touch it nothing happens. If I need to power some sort of circuit to get this to work I have the 5v standby power from the PSU and a separate 12v power supply which will provide constant power too so there are a couple of options. I assume I'm going about this in entirely the wrong way so I thought I'd seek some expert advice, any help would be much appreciated.

Cheers

Welcome to the PF, Ben.

I had to go to APEM.com to get a datasheet for the part:

http://www.apem.com/files/apem/brochures/switch-pushbutton-PBA-ENG.pdf

It's not great at explaining what is going on with the switch, but try connecting a resistance meter (DVM in resistance mode) across the switch wires and push the button. You may see a momentary blip down to 10 Ohms or so when you push the switch (or it may be a constant 10 Ohms when being pushed -- I'm not able to tell from the datasheet).

If this is so, just connect one end of the switch wires to ground, and the other to your 5V or 3.3V power supply (whichever you are using for your logic circuit) through a 10kOhm resistor. The wire connected to the resistor should go from the power supply voltage down close to ground when the button is pushed. :smile:
 
  • Like
Likes Ben Whittle
  • #3
berkeman said:
It's not great at explaining what is going on with the switch, but try connecting a resistance meter (DVM in resistance mode) across the switch wires and push the button. You may see a momentary blip down to 10 Ohms or so when you push the switch (or it may be a constant 10 Ohms when being pushed -- I'm not able to tell from the datasheet).

yup, I had already read that too, but didn't suggest it because of its lack of clear advice
its a pity they hadn't given a couple of practical application circuits. That would have made things much clearerDave
 
  • Like
Likes Ben Whittle and berkeman
  • #4
That's great, thanks for the quick response guys. Checking the resistance with the meter it turns out that the switch isn't quite as sensitive as I expected, I have to apply a bit of force to activate it but the resistance does drop significantly when I press hard enough. It still doesn't seem to fire up my motherboard when connected directly to the header though. I guess I can link one switch wire to the gate of a MOSFET and connect the source and drain pins across the power switch header on the motherboard, with a 5v supply on the other side of the switch? I'm being overly cautious here as its quite an expensive motherboard, I don't want to damage anything by making any daft mistakes. Am I right in thinking I can use a MOSFET in this way and there is no chance of current flowing the wrong way and shorting something?

Cheers.
 
  • #5
Ben Whittle said:
That's great, thanks for the quick response guys. Checking the resistance with the meter it turns out that the switch isn't quite as sensitive as I expected, I have to apply a bit of force to activate it but the resistance does drop significantly when I press hard enough. It still doesn't seem to fire up my motherboard when connected directly to the header though. I guess I can link one switch wire to the gate of a MOSFET and connect the source and drain pins across the power switch header on the motherboard, with a 5v supply on the other side of the switch? I'm being overly cautious here as its quite an expensive motherboard, I don't want to damage anything by making any daft mistakes. Am I right in thinking I can use a MOSFET in this way and there is no chance of current flowing the wrong way and shorting something?

Cheers.

So you are wanting to use this as a power switch for your motherboard? I'd recommend using a different (real) switch for that purpose. This appears to be for use as a logic input means, not a solid switch. You could follow it with a FET switch circuit of some kind, but then you'd need a separate logic input switch to use for an OFF input into the FET circuit.

Best to just use a real switch for this, instead of the piezo version, IMO. You can still have pretty LED lights and highlights, though... :smile:
 
  • Like
Likes Ben Whittle
  • #6
Cheers for the advice, taking this into account I've managed to get the touch switch to activate a small relay through a MOSFET. This way it is just closing the contacts on the board as an ordinary switch would. Seems over-complicated for a simple power switch but I've paid for it so I figured I might as well use it. Plus it looks really good mounted in the brushed aluminium panel I've made for it :) Thanks guys, this has solved my problem.
 
  • Like
Likes berkeman

1. What is a Piezo touch sensitive switch?

A Piezo touch sensitive switch is a type of switch that is activated by pressure or touch. It uses a piezoelectric sensor, which produces an electric charge when pressure or force is applied, to trigger the switch. This type of switch is commonly used in electronic devices and appliances.

2. What materials do I need to wire up a Piezo touch sensitive switch?

To wire up a Piezo touch sensitive switch, you will need a Piezo sensor, a resistor, a capacitor, jumper wires, a breadboard (optional), and a microcontroller or circuit board to connect the switch to.

3. How do I connect the Piezo sensor to the switch?

The Piezo sensor will have two leads, a positive and a negative. Connect the positive lead to the input of the microcontroller or circuit board, and the negative lead to ground. If using a breadboard, you can use jumper wires to make these connections.

4. How do I adjust the sensitivity of the switch?

The sensitivity of the switch can be adjusted by changing the value of the resistor and capacitor in the circuit. A smaller resistor and larger capacitor will make the switch more sensitive, while a larger resistor and smaller capacitor will make it less sensitive.

5. Can I use a Piezo touch sensitive switch with any microcontroller or circuit board?

Yes, a Piezo touch sensitive switch can be used with any microcontroller or circuit board as long as you have the necessary input and ground connections available. However, you may need to adjust the code or programming to properly read the input from the switch.

Similar threads

Replies
11
Views
2K
Replies
22
Views
2K
Replies
58
Views
7K
  • Electrical Engineering
Replies
4
Views
2K
  • Electrical Engineering
Replies
10
Views
2K
  • Electrical Engineering
Replies
5
Views
3K
  • Electrical Engineering
Replies
2
Views
1K
Replies
16
Views
2K
  • Electrical Engineering
Replies
17
Views
3K
  • General Engineering
Replies
19
Views
7K
Back
Top