Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

basic question about switches from a complete noob?

Status
Not open for further replies.

explorer58

Newbie level 1
Joined
Jul 30, 2012
Messages
1
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,287
Hey guys, just wondering. I need a button that I can use for volume adjustment (for an alarm clock, if that matters). I'm just wondering, would any old SPST pushbutton switch work, or do I need a specific kind of button for that. And if I need a specific one, could you point me in the right direction?

Thanks!
 

It depends on how you want to implement your volume control. Often, people use a potentiometer with a knob attached—this gives a smooth continuous volume adjustment. In fact, most radio+alarm clock combos have a "volume on/off switch," which combine a power switch with a potentiometer.

If you're avoiding potentiometers, you can also opt for a rotary encoder. You won't be able to get a continuous adjustment (rather, it'd be discrete; you'd also need to implement the volume control digitally, rather than through analog means), but you'd be able to turn the knob indefinitely. You can also use the same knob for other purposes, depending on what mode your device is in, so your volume knob could also adjust the time of day or alarm time. Depending on the encoder, it can also be more reliable than a pot.

Finally, if you really want a SPST push-button it is certainly possible. You'd need to implement volume control digitally, and the user would press the button once for each step in volume. You'd want to play a sample tone every time it's pressed, so the user knows how loud it is, and when they've exhausted the volume range it'd wrap back down to its initial volume.

So, it's up to you... The choice depends on what cost, reliability, functionality, and user experience you're looking for.

Hope this helps!
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top