WIRELESS 555 Timer Mouse Modification
Intro: WIRELESS 555 Timer Mouse Modification
Second of all, I would like to mention how easy Instructables is to use. It's just so much easier to give instructions when you can label your pictures and answer comments.
Lets get to business...
A couple years ago I followed this instructable: Add a rapid-fire button to your mouse using a 555 timer
It was easy to follow, the schematics were a bit confusing. It only works on wired mice (mice that run at 5 volts), but in the end I accomplished it.
Today is 2013 and my desk is a little more cluttered than before. I found a cheap wireless mouse in Hong Kong and I loved it. It extremely portable and compact. It wasn't glitchy and it was easy to use.
The sad part was that I had to give up my rapid fire button, which meant giving up the ease of firing pistols at lightning speed in Counter-Strike.
I looked all over the internet to try to find how I could add a rapid-fire button to a wireless (1.5 volt) mouse, and the only thing that could help me was this.
It seems like no one has gotten it working yet, so I decided to try.
Here is a video of it working:
STEP 1: Schematic, Parts
PARTS:
LMC555 timer (LMCMOS)
1k resistor
10k resistor
3.3 uf capacitor
Button THAT FITS YOUR MOUSE
NPN transistor (depends on what type of mouse you have)
STEP 2: You Kept Reading!
I used an Arduino as an oscilloscope. I didn't write the Processing code, I just use it.
Just plug in pin 3 of the 555 timer to an analog pin to read the square wave. If it's working, your square wave should look pretty nice!
Now, I promised that I would explain the transistor.
First, take apart your mouse. You might find screws underneath the pads of the mouse.
After that, flip the circuit board upside down. Look at the two pins of your left mouse button. One of those pins goes to the processor and another one goes to a signal.
Now, on the wired mouse 555 timer modification, the processor on those mice usually pick up a HIGH (5v) when the button is clicked.
For this wireless mouse, the processor picks up a LOW (0v) when I clicked the button.
To determine this, I read the voltage of both the pins when I clicked the button. Both were 0v when I clicked, so obviously the processor pin picks up a click as LOW.
I'm not sure if this applies to every wireless mouse, but it might be common.
STEP 3: How Transistor?
Transistor comes from the words "Current-Transferring Resistor"
It's like a relay. When a voltage is applied to Base it lets current flow from Collector to Emitter.
In this case, we want to connect the mouse processor pin to LOW/GND. So, connect the collector of the transistor to the processor pin (on the button), and the emitter of the transistor to GND.
Connect the base of the transistor to one end of the button. The other end of the button will later be connected to pin 3 of the 555 timer.
Now, the hardest part of this project is not the circuit but the mouse. Make sure your button fits your mouse. Bend the leads, cut away plastic, or whatever to fit it inside your mouse.
EDIT:
The circuit might work without a transistor. Instead of connecting pin 3 output to the base of the NPN transistor, try connecting the pin 3 output directly to the processor pin.
I just realized this because 555 timers oscillate HIGH (5v) and LOW(grounded).
I'm pretty sure this is true; if anyone tries this and find otherwise, please do share!
STEP 4: Doing the Circuit, Finishing Up
You are working with a wireless mouse, which has a battery, and must fit your button, 555 circuit, and possibly other junk, so make sure you WORK SMALL
I bent the pins so that I can solder nicely.
After the circuits are done,
Connect pin 3 of the 555 timer to one end of the button
Connect 555 timer to Vcc and GND
Wrap all circuits in electric tape.
After that, shove all the circuitry into the empty spaces of the mouse (without obstructing any mechanical parts), and screw the mouse back together.
NOTES:
LMC555 is guaranteed to run at 1.5v but not anything lower. Your button might be glitchy, as mine is, but it works most of the time.
Other than that, I hope I helped some people make a WIRELESS 555 timer mouse modification. Ask any questions in the comments.
EDIT:
Added pictures of the insides. the 555 circuit WILL WORK at really low voltages. I tried, it worked until 0.5 volts, which is when the mouse died. My button was broken which is why it was glitching.
30 Comments
mechagen 10 years ago
Large black - Shield
Small black - G
Brown - Data
Orange - +B
Red - Clk
Which of these would be ground and which is Vcc (that means power right?) if you can help it'll be much appreciated.
TSJWang 10 years ago
Oh wow that is a pretty old mouse.
In that case it is probably a PS/2 mouse (please tell me if it is not). Make sure you can use it with your computer first before you modify it! Not many computers use serial or ps/2 or parallel or....
Anyways here is the information on PS/2
http://en.wikipedia.org/wiki/PS/2_port
I'm guessing small black is GND... It doesn't look like the circuit board listed Vcc...
To check if the small black wire is GND and to find Vcc connect a voltmeter - to the black wire and the + to any other wire. the wire that gives a steady 5v is most likely Vcc.
I'm pretty sure G is ground, so make sure that is right :P
Tell us how you did!
mechagen 10 years ago
TSJWang 10 years ago
So those toggle switches have three pins. Pin A, B, C.
When the button is not pressed, for example, pin A and B are connected. B is in the center.
when the button is pressed, B is connected to C and disconnected from A.
So what I would do is look for which two pins are connected when you do not press them. When you find those pins (they should be directly next to each other) the middle pin is probably the source of signal. The pin farthest out is probably useless, so you can ignore that pin.
Now you are left with two pins. In my example, pin B and C.
I'm pretty sure, but I might be wrong, that the middle pin is to signal (B). That means that pin C is to the processor. Now you have to determine if your click is sensed when that pin goes LOW or HIGH. I think for wired mice it's usually HIGH. Check the voltage while the button is pressed to determine whether it's HIGH or LOW.
If it's HIGH, you don't need a transistor.
Hope that helps!
audreyobscura 10 years ago
TSJWang 10 years ago
So basically you have the Arduino reading an analog pin and sending those numbers to the serial port.
The processing sketch (which I did not write, only changed a bit) takes those numbers and represents them graphically, like Excel. It displays the voltage over time.
It's not exactly an oscilloscope, more like a graphical voltmeter, but it serves it's purpose well. The download is in step 2. Thanks!
craig.cameron85 9 years ago
Tried it on a new model mouse and the microprocessor didn't accept the circuit. Tried a simple dell mouse and worked great. Thanks. I did find that your circuit diagram was easier to follow. Mainly because you had the pins in the right order.
piezyxw 9 years ago
If you cant get it to work like me try connecting pin 4 and pin 8
jkristensen1 10 years ago
Do you know if this would work on a Logitech M510?
TSJWang 10 years ago
The only concern is probably about how you would fit the button and circuit into the mouse.
That's probably the most difficult part; fitting the circuit in.
jkristensen1 10 years ago
I see, thanks! Also, does it have to be a LMC555 IC? Could I use a NE555 IC?
Orngrimm 10 years ago
TSJWang 10 years ago
Yea :P
The current CS GO puts a limit on how fast it can fire, and also they made the recoil a bit more difficult.
It's still a useful button though; it makes me a bit more comfortable using pistol.
mechagen 10 years ago
TSJWang 10 years ago
I just realized I never replied to this, sorry.
Could you be more specific? It's connected just the way it is in the schematic.
mechagen 10 years ago
TSJWang 10 years ago
lol its okay any questions.
To test voltage you turn your multimeter counter clockwise 3 clicks (the V== (20))
to test continuity, turn your multimeter to the third red thing when turning clockwise (the thing that looks like a diode).
Connect black to the small black wire (the thing that is possibly ground) and the red one to other wires to test for a steady 5v reading).
mechagen 10 years ago
TSJWang 10 years ago
Quick update:
So my button broke because I was a bit rough on it. I replaced it.
It turns out this circuit CAN work at lower voltages than 1.5v, for example, 1.1 volt, which is about when your mouse should start dying.
So, it was just a button glitch, everything works even nicer.
jasar 10 years ago