Linear motion solenoid to push a switch

Status
Not open for further replies.
If the plane of rotation is at right angles to the front panel of the PC the arm end will move approximately linearly towards the button. Like this:
 
Hi,

I think the servo is the best option, you can screw a piece of plastic or wood stick to the rotary piece of the servo. So that, if the servo rotates let's say only for 30 degrees, it will be enough to push the button as alec_t said.

If you either take the servo way or the solenoid way, power all over a mosfet. We briefly discussed something which can help you here:
https://www.electro-tech-online.com/threads/an-easy-question-about-mosfet-circuit.139421/

the switch will be the I/O input in your case, and the led is the whichever inductive component you want to use. use a resistor between the gate and 0V to avoid floating gate. you should also use a diode between the positive and negative terminals of the servo or solenoid. For more info please check the arduino mosfet examples.

For microcontroller, I recommend you to use a low power one, since you do not use more then three or four pins, you can use an ATTINY and program it via arduino.

Cheers
Oz
 
Last edited:
Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…