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.

Simulate mouse click with micro switch and relay?

Status
Not open for further replies.

e-macgyver

Newbie level 3
Newbie level 3
Joined
Nov 11, 2014
Messages
3
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Activity points
30
Hi, this is my first post and I'm a total noobie, I hope I'm posting this in the correct place. I would like to simulate/create a mouse click using a switch and I think a relay. I'm unsure of what type of relay I need and how to wire this. This will be mounted to my phone so when my Plantronics Receiver Lifter lifts the receiver when I answer a call it will make a mouse click, then when I hang up and the lefter lowers the receiver it makes another mouse click. I am using an old 5 button mouse that I have soldered my wires to the 4th and 5th mouse buttons. I originally thought I could use my lever switch wired so that when down it makes contact for the 4th mouse button and when open breaks that contact and makes contact for the 5th mouse button. This works, except it is always open in either position, keeping me from using my other mouse. I think by using one of the buttons instead of both and a relay, when the receiver is lifted the switch will make contact then the relay will break the contact, simulating a mouse down/up motion. When the receiver is set back down the switch breaks contact and the relay opens back up? simulating anther mouse click. I can make the program I'm using work with either two buttons or one button, they just need to simulate a down/up mouse movement. Any input would be appreciated.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top