Introduction: Crazy Mouse

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

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

Picture of 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

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

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

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

Attach the potentiometer to the mouse wheel and fix its position with some glue.

Step 8: Soldering Motor Components

Picture of Soldering Motor Components

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

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

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.


thecheatscalc (author)2010-03-02

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" ;)

TechDante (author)thecheatscalc2011-01-31

how long does it take to cook something on that

louwhopley (author)thecheatscalc2010-03-05

 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)

Redgerr (author)thecheatscalc2010-03-03


thecheatscalc (author)Redgerr2010-03-04

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

jakebaldwin (author)2010-12-30

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.

maclakey (author)2010-10-28

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?

vahidyou (author)maclakey2010-10-30

Check your board carefully there may be some short circuits or loss of connections.......

w477s (author)2010-05-14

you used IR LED + IR photodetector or ir detector only?

vahidyou (author)w477s2010-05-16

None of them.
I used one simple photocell, it is not IR.

ak49er (author)2010-04-04

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.....

sgchr (author)2010-03-27

That's the craziest idea I've seen so far for a mouse. Good one! ;)

TinkerJim (author)2010-03-25

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.


directcurrent13 (author)2010-03-16

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?

vahidyou (author)directcurrent132010-03-18

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)

directcurrent13 (author)vahidyou2010-03-18

thanks for the help

darkbain (author)2010-03-13

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.

pedla (author)2010-03-12

Sounds cool but is way beyond my level of computer parts and stuff

M.C. Langer (author)2010-03-08

I LOVE IT!!! It would be a good prank for April's Fool!!!!!

framistan (author)2010-03-04

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.

knektek (author)2010-03-03

put a speaker in there and an amp circuit to scare the living shi* out of them.

Fujitsa (author)2010-03-03

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

Javin007 (author)Fujitsa2010-03-03

LMMFAO!  I love the screeching idea.

"EEK!" *scurry away*

Jur (author)2010-03-03

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

hg341 (author)2010-03-02

nice you need to make it usb powered

vahidyou (author)hg3412010-03-02

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.

codongolev (author)vahidyou2010-03-02

yay resistors!

you should find a faster motor... it only works on absent-minded people.

sjoobbani (author)codongolev2010-03-02

 Very nice.

Ahmedqatar (author)2010-03-02

This is really funny .. it's a gopd way to bug my boss!
Thanks for sharing!!!

About This Instructable




Bio: I'm a mechanical engineer, and I like computer programming, mechanics, electronics and specially the robotics.
More by vahidyou:Serial Port Over WiFiCheap Logic AnalyzerCheap STK500 AVR programmer for Atmel Studio
Add instructable to: