MINI MOUSE (Pocket Mouse)

About: Maker, Electronics enthusiast. Studied Electronics and Communication Engineering. Studies Robotics And Intelligent systems.

Hi everyone,

Here is another instructable of me.Its a simple and interesting work in which i did learn how to hack and remake an optical mouse.I came to notice in many scrap centres, among electronics wastes there is a lot of computer accessories like keyboards,mice etc.I collected mice from there and decided to remake if possible.The rest of the story is this instructable.


Step 1: Understanding ATA 2398:The Optical Image Sensor

The CPU of every mouse is an optical image sensor.What you should do is google about it,find its pin details and prepare the circuit diagram. ATA 2398 is the one i got, it has a simple package just like the NE 555 but with 12 pins.A small hole at the bottom of the package sense the reflection of light from the sliding surface.

Its the final circuit diagram i designed.

Step 2: Bill of Materials

tit tac bottle (as enclosure)


copper clad board

ATA 2398

47mfd/6V capacitors -2

220 ohm resistor

red led

push buttons-2

micro usb female-1

Step 3: Lay Out and PCB Design

Designing and fabricating PCB fit to the selected enclosure is a matter of importance .So, measure the dimensions of the tic-tac bottle and cut a rectangular piece of copper as shown in the pictures .The rectangular space at the centre is for the reflector shown above which should be attached to the bottom of ATA 2398.

Step 4: Soldering the Components

We should take much care when soldering the micro usb port. As per the pin configuration ,we don't need the pin ID so, it should be shorted to ground.

Step 5: Attaching the Reflector to the Sensor

The reflector should be attached to the sensor carefully as per above pictures .Adjust the led to the reflector .

Step 6: The Enclosure

The enclosure is fabricated from the tic tac bottle.

* cut the space for taking out the micro usb port.

* cot the space for the reflector .

* make the holes for the buttons.

Step 7: Fit the Circuit to the Enclosure

Its all about making a mini pocket mouse.

Try this yourself .

HAPPY MAKING.................:)



    • Arduino Contest 2019

      Arduino Contest 2019
    • Woodworking Contest

      Woodworking Contest
    • Classroom Science Contest

      Classroom Science Contest

    7 Discussions


    2 years ago

    Where I can get the reflector? and it doesn't matter, which color of LED i will use? (its detail, blue is more cool. And how about emitting angle of LED?)

    1 reply

    Red LED is usually used because of some optical properties of red like intensity and dispersion.And the photo diodes of the image sensor shows good response to red light than any other colour.You can use other colours . no problem will be cool :)

    Elías ElkirianB

    2 years ago

    Can't find the datasheet of ATA 2398 D= I want to make a trackball with a PIC18F4550 micro controller and I'm looking for a sensor to work with...


    2 years ago

    Cool! I didn't know that the circuit for a mouse was this simple. I like your idea with the female USB, opposed to the traditional "hardwired" mice.

    1 reply

    2 years ago

    Ayyeee so simple! Vere velladhum indakke chengaaayi theettam

    1 reply