Overclock.net › Forums › Case Mods & Cases › Other Hardware Mods › Toggle Switch to Momentary Switch/Button for Power Button + Slider Windows Volume Control
New Posts  All Forums:Forum Nav:

Toggle Switch to Momentary Switch/Button for Power Button + Slider Windows Volume Control

post #1 of 4
Thread Starter 
I am going to be starting a case mod soon however the case I am using only has a toggle switch location for on/off. I would like to use this to turn on the computer, which operates on a momentary push button. The switch itself can be whatever I want so I can choose from SPST (Single Pole Single Throw) or SPDT (Single Pole Double Throw).

My question is how can I convert my toggle switch to become a momentary button so that when it's moved to the on position it will send a signal like a momentary button, and when the toggle switch is moved to the off position it will send a long (but not permanently) single to tell windows to forcibly shut the computer down.

My second question is, is there any sort of small usb device/adapter that would allow me to convert whatever the slider position is (from max to min) to a signal that will tell the computer (running Windows) to lower or increase the volume by a fixed amount.

Thanks, any additional information I'll be happy to provide.
post #2 of 4
You need to replace the switch with a momentary contact one. You can't "convert" one to the other.
Well, you could, but by the time you're done (relay, timer, etc) it would cost 50 times the cost of a new switch.

As for volume control, there used to be such a device (so I know it can be done) but I have no idea if it's still available.
My System
(15 items)
 
  
CPUMotherboardGraphicsRAM
FX6300 Black M5A99X EVO R2.0 Nvidia GTS450 Team Vulcan PC3 12800 
Hard DriveOptical DriveCoolingOS
Samsung 840 PRO Asus DRW-1608P (x2) Custom Water Cooling Win7 (Ult), Win 8.1 & Win Server 2012 R2 
MonitorKeyboardPowerCase
2 X Samsung 915N Ducky Shine III, Blue Cherry/Blue LEDs PCP&C 1kw Lian Li PC-71 (W/Window) 
MouseAudio
Logiteck G400s none 
  hide details  
Reply
My System
(15 items)
 
  
CPUMotherboardGraphicsRAM
FX6300 Black M5A99X EVO R2.0 Nvidia GTS450 Team Vulcan PC3 12800 
Hard DriveOptical DriveCoolingOS
Samsung 840 PRO Asus DRW-1608P (x2) Custom Water Cooling Win7 (Ult), Win 8.1 & Win Server 2012 R2 
MonitorKeyboardPowerCase
2 X Samsung 915N Ducky Shine III, Blue Cherry/Blue LEDs PCP&C 1kw Lian Li PC-71 (W/Window) 
MouseAudio
Logiteck G400s none 
  hide details  
Reply
post #3 of 4
Thread Starter 
Momentary contact won't work though in this case as to keep it authentic looking the switch when it's in the on position needs to be in the on position and vice versa.

So it being a bit more expensive may be something that would be fine as it may be a partially sponsored or donated build.

I was also thinking about using an Ardunio Uno connected to an always-on USB port, which could handle/control the toggle switch and convert it with some logic and a 12V relay into momentary action. Same goes with the slider, using a pot connect to it and through a windows program (that I'd write) control the Windows volume that way. I know I can probably do this way fairly easily, just seems a slight waste of an Uno though for two things I'd hope could be accomplished through other methods.

If I went the Arduino route I'd probably pick up an Arduino Micro just for the space saving size + Windows sees it additionally as a keyboard/mouse.

I do also have a PIC laying around, however I don't exactly have a USB programmer for it so I'd need to go through the hassle of building the usb programmer circuit with it.
Edited by Arinoth - 10/18/13 at 1:26pm
post #4 of 4
You could set up everything on the Arduino first, then verify how much space your program takes and select a smaller, less costly component like an ATtiny8 or something to drive the two functions. You don't even need to use a relay, Use an opto-isolator and use the ATtiny (3.3v?) to switch the power connector (5v). Altogether the entire thing should be about the size of a postage stamp.
New Posts  All Forums:Forum Nav:
  Return Home
  Back to Forum: Other Hardware Mods
Overclock.net › Forums › Case Mods & Cases › Other Hardware Mods › Toggle Switch to Momentary Switch/Button for Power Button + Slider Windows Volume Control