Picture of Crazy Mouse
Crazy Mouse is a computer mouse that runs away when you are going to catch it!

Making this mouse is very easy: a light sensor detects the shadow of hand on the mouse and activates a timer that turns on a motor for about a second and the motor makes mouse running.
If you want to make your own mouse read the rest of this instructable.

Step 1: Things You Need

Picture of Things You Need
Things You Need.JPG
To make the circuit board you need the followings:
  -Copper Boards
  -Printed Circuit (Find files on next step)
  -22k Resistor
  -47uF Electrolyte Capacitor
  -TIP122 Transistor
  -555 IC
  -10k Potentiometer
  -Some Wire
  -Soldering Iron
  -Soldering Wire
  -Circuit Boards Acid
  -Paper Tape
  -Wire Cutter
  -1mm Drill
To make the mouse you need the followings:
  -Old Computer Mouse
  -Small Motor
  -4 AA Batteries
  -A piece of Rubber Tube
  -1N4148 Diode
  -0.1uF Ceramic Capacitor (104)
  -Soldering Iron
  -Soldering Wire
  -Some Wire
  -Some Tools

Step 2: The Circuit

Picture of The Circuit
Download the circuit PDF file and print it on an A6 glossy paper with a laser printer.
R1 = 22k Resistor
POT = 10k Potentiometer
C1 = 47uF Capacitor
J  = Jumper = A piece of Wire
U1 = 555 IC
Q1 = TIP122 Transistor
PHTCLL = Photocell
MOTOR = Small Motor
BAT = 3-6V Power Supply

Step 3: Making Circuit Board

1. Clear the copper side of the board from oxides with sandpaper.
2. Put the both sides of printed circuit on the board and fix them with paper tape.
3. Put the board between some pieces of paper and press the hot iron (without steam) on it for a while. (BE CAREFUL: The hot iron may lead to firing of papers)
4. Remove the printed circuit of the board.
5. Soak board in a bowl of circuit board acid and wait till all the visible copper disappears. (BE CAREFUL: You are working with acid)
6. Wash the board and clear it with sandpaper.
7. Make holes with 1mm drill.

Step 4: Soldering Circuit Parts

Picture of Soldering Circuit Parts
Placing the IC.JPG
Soldering TIP122.JPG
Soldering Capacitor.JPG
Place all of the circuit components on their positions and solder them.
Notice the correct direction of the IC, transistor and capacitor.
Solder two wires for power supply, two wires for the motor, two wires for the potentiometer and two wires for the photocell and solder the photocell on the small board.

Step 5: Making Mouse Case Ready

Picture of Making Mouse Case Ready
Mouse Circuit Board.JPG
Making Potentiometer Place.JPG
Potentiometer Place.JPG
Removing Mouse Parts.JPG
Hole on Mouse Back.JPG
Open the mouse cover and remove its useless components and parts. (There are some SPDT switches and some shaft encoders in the mouse you can use them in other projects!)
Make a place for motor and potentiometer with your tools.
Drill a small hole on the back of the mouse to place the photocell behind it.

Step 6: Placing the Motor

Picture of Placing the Motor
Rubber Tube on the Motor Shaft.JPG
Put the rubber tube on the motor shaft and attach the motor inside the mouse with some glue.
The motor must be able to rotate the mouse ball.

Step 7: Placing the Potentiometer

Picture of Placing the Potentiometer
Attaching Circuit and Potentiometer.JPG
Attach the potentiometer to the mouse wheel and fix its position with some glue.

Step 8: Soldering Motor Components

Picture of Soldering Motor Components
Noise and Back EMF Protection.JPG
Soldering Motor Wires.JPG
Find the motor poles that make the mouse move forward with two wires and batteries.
Solder the 1N4148 diode reverse to the motor connectors. (Back EMF protection)
Solder the 100nF ceramic capacitor to the motor connectors. (Noise protection)
Do not solder these components on the board or somewhere far from the motor, solder them right on the motor.
Solder the motor wires coming from the circuit to the motor.

Step 9: Attaching Photocell

Picture of Attaching Photocell
Attach the photocell right behind the hole you made on the mouse back with glue.

Step 10: Power Supply

Picture of Power Supply
Cutting Mouse Wire.JPG
Inside Crazy Mouse.JPG
Solder two of mouse wires to the circuit power supply wires.
Cut the connector at the other end of the mouse wire and solder the wires to a battery holder.
You can use the power coming through the mouse wire from the computer main board instead of cutting mouse connector and using 4 batteries but it is not recommended because it may cause damages to your main board.

Step 11: Ready to Action

Picture of Ready to Action
Mouse Ready to Action.JPG
1. Close the mouse cover.
2. Hide the batteries behind the computer.
3. Rotate the mouse wheel till the motor turns off.
4. Gently rotate back the mouse wheel till the motor turns on.
5. Rotate the mouse wheel a little in reverse direction and wait about a second, continue this till the motor turns off.
6. Put the mouse ball under the mouse.

Step 12: Optimization

Picture of Optimization
If you want the mouse to run more use a higher value electrolyte capacitor.
If you want the mouse to work in darker areas use a higher value potentiometer.
And if you use a gearbox after motor and connect it to a wheel instead of mouse ball, certainly you will get better result.
Definitely try USB power! I'd reccomend using perhaps a few USB plugs, such as in the attached picture (USB powered grill)

sorry, forgot to click "upload" ;)
how long does it take to cook something on that
 Hahaha, a normal grill would cost cheaper/look better? Fun stuff
I should have mentioned, this isn't my picture, I'm not exactly sure whose it is, (I've seen it multiple places)
It's not mine, it's just something I remember from a while back. should've mentioned that...

anyways, if you want to power it with just the computer, it CAN be done ;)
 lol did you get the extra usb cards just for this? sweeet
jakebaldwin4 years ago
If you have a USB port on your computer, you could power the mouse thinger off USB power. USB supplies 5 Volts, but you could make the right adjustments easily I think.

I have a USB REAL mouse, so it would make sense for me to make the mouse that way I think.
maclakey4 years ago
Yay! I completed this as my first "from scratch" board... it works, but only if you keep the circuit board near your body... take it away from your body, and it doesn't work... very strange. I did have to switch the tip122 with a tip120 as that was all I could find, and I used a 470uf cap instead of a 47... did I go too big on the cap?
vahid_you2004 (author)  maclakey4 years ago
Check your board carefully there may be some short circuits or loss of connections.......
w477s5 years ago
you used IR LED + IR photodetector or ir detector only?
vahid_you2004 (author)  w477s5 years ago
None of them.
I used one simple photocell, it is not IR.
ak49er5 years ago

Only way it would get any better is with a loud "squeak" recording and if it acclerated faster, so it just LEAPS away from the person's hand. Hmmmm my engineering prof. always leaves his door wide open when he is away.....

sgchr5 years ago
That's the craziest idea I've seen so far for a mouse. Good one! ;)
TinkerJim5 years ago
You've come up with a great project!!

If you want longer battery life, try the new CSS555 micropower timer.   It is pin compatible with the venerable 555's, but uses far less power.

i have a 9 volt motor as far as i can tell i should be able to run the board of a 9 volt batery. is this ok?
vahid_you2004 (author)  directcurrent135 years ago
You can use a 9V battery.
555 IC works correctly with 9V battery.
But you may need to optimize potentiometer value. (see the last step)
thanks for the help
darkbain5 years ago
This is a sweet project with huge potential.  I love it and if I get the chance to clean up my personal shop ( little space wifey allows me to have).   I wil make this to mess with my nephews who love to play games on my puter lol.  Thanks a ton for this, plus it's a koo 555 ic timer project that could be used for tons of stuff.
pedla5 years ago
Sounds cool but is way beyond my level of computer parts and stuff
M.C. Langer5 years ago
I LOVE IT!!! It would be a good prank for April's Fool!!!!!
framistan5 years ago
You COULD use USB power simply by adding a SERIES resistor to the USB voltage to LIMIT the amperage going to the mouse.  That voltage would slowly charge a capacitor inside the mouse.  Because the motor only runs a couple seconds, the capacitor could supply that. Then when the mouse stops,  the capacitor would start charging again.  Even if you held the mouse down and stopped mouse from "running"... the motor amperage would increase but could not exceed what the current-limiting resistor is supplying.  so your USB port will be safe in all instances.
knektek5 years ago
put a speaker in there and an amp circuit to scare the living shi* out of them.
Fujitsa5 years ago
haha, brilliant idea, you should definitely have video responses of when people try to use it, maybe also make like a mouse that screeches when someone goes to near to it lol. Good job
LMMFAO!  I love the screeching idea.

"EEK!" *scurry away*
Jur5 years ago
I forwarded this to a friend who is in uni right now, so in the near future there might be a classroom with a couple of haunted mice... =P
hg3415 years ago

nice you need to make it usb powered

vahid_you2004 (author)  hg3415 years ago
You can do it but if the motor gets more than 0.5A electric current from your USB port your main board will be damaged. Because of this I recommend batteries or a fuse.
yay resistors!

you should find a faster motor... it only works on absent-minded people.
 Very nice.
Ahmedqatar5 years ago
This is really funny .. it's a gopd way to bug my boss!
Thanks for sharing!!!