How Does a Computer Mouse Work? Inside an Optical Mouse || Disadvantages of optical mouse

How Does a Computer Mouse Work? Inside an Optical Mouse

optical mouse

optical mouse vs laser mouse

how does a mouse work

Optical mouse

How does a mouse work

optical mouse vs laser mouse


people also ask

How does an optical computer mouse work?

What is inside a computer mouse?

How do you get inside a mouse?

How does a laser mouse work?

What are the disadvantages of optical mouse?

What is the benefit of an optical mouse?

Can optical mouse work without LED?

Is my mouse optical or laser?


optical mouse optical mouse vs laser mouse how does a mouse work Optical mouse How does a mouse work optical mouse vs laser mouse


How does an optical computer mouse work?

You’ve probably used a computer mouse for thousands of hours, magic mouse and yet, have you ever stopped to wonder how it works? Well, essentially the modern computer mouse is a merger of 7 different technologies and some rather ingenious engineering. 


What is inside a computer mouse?

It would take over an hour to cover all these technologies in-depth, so in this, we’re going to focus on just one, razer viper mini price the image sensor, and find out what exactly happens when you move your mouse around on a mouse pad. magic mouse After that, we’ll take a look at a gaming mouse and see how some mice have 25,000 DPI or dots per inch, while others have only a few thousand. 


Details Video



optical mouse vs laser mouse

magic mouserazer viper mini price razer deathadder essential gaming mouse glorious model o logitech mx master 3 logitech mx master 2s logitech g502 logitech b170 razer viper ultimate razer basilisk x hyperspeed deathadder essential razer deathadder essential fantech zeus x5s razer deathadder v2 logitech g304 rapoo m100 g502 viper mini g402 gaming pad rapoo 8000s best gaming mouse xiaomi wireless mouse logitech m185 razer viper mini razer deathadder g102 logitech fantech x9 thor fantech vx7 logitech g402 logitech m221 corsair harpoon logitech mk 220 razer mouse computer mouse havit gaming mouse rgb mouse pad best wireless mouse a4tech gaming mouse logitech gaming mouse wifi mouse logitech m90 remote mouse pc mouse gaming mouse pad 


How do you get inside a mouse?

Stick around and let’s jump right in. At the bottom of this mouse, we have the image acquisition system or IAS, which is composed of an Infrared LED, a pair of lenses, and the image pixel array. magic mouse Infrared light, generated by the LED, passes through a lens and illuminates the surface directly underneath the computer mouse razer viper mini price


optical mouse optical mouse vs laser mouse how does a mouse work Optical mouse How does a mouse work optical mouse vs laser mouse


How does a laser mouse work?

Next, the infrared light bounces off the surface, passes through a second lens, then through a tiny aperture, and finally hits this rather sophisticated image pixel array, or image sensor, razer viper mini price which is composed of sixteen hundred pixels, laid out 40 X 40. This is important: your mouse doesn’t capture the colour or design of the mouse pad or surface. glorious model o



How Does a Computer Mouse Work? Inside an Optical Mouse

optical mouse optical mouse vs laser mouse optical mouse switch mouse computer mouse mice computer mice laser mouse laser optical optical mice vs laser mice logitech gaming mouse computer mouse wireless computer mouse Logitech best computer mouse types of computer mouse optical mouse switch vs mechanical inside a compouter mouse how do computer mice work optical mouse repair gaming mouse vs normal mouse razer mouse razer computer mouse not working


What are the disadvantages of optical mouse?

Rather, because the light is emitted at a shallow angle, it illuminates the texture, or the ridges and valleys of the surface, kind of like a sunset falling across rolling hills. The tops of the hills catch and reflect the light and are illuminated, but the light doesn’t reach into the valleys, and thus they remain dark magic mouse


optical mouse optical mouse vs laser mouse how does a mouse work Optical mouse How does a mouse work optical mouse vs laser mouse

What is the benefit of an optical mouse?

Your eyes might see just a uniform black mouse pad or wooden desk, but because of the shallow angle of the infrared light and the focus of the lenses, the image sensor is able to capture a topographically and texturally complex landscape magic mouse


how does a computer mouse work

how does a computer mouse work wikipedia

how does a wireless computer mouse work

how does a laser computer mouse work

how does a simple computer mouse work

how fast does a computer mouse work

how does a small computer mouse work

how to use a mouse computer

how long do computer mice last

how to speed up computer mouse

how to measure the speed of a computer mouse



Can optical mouse work without LED?

Note that if the surface were perfectly smooth with no imperfections, the mouse would struggle to work on it which is the reason why some computer mice don’t work well on glass [Video Note: Some mice are better at detecting the imperfections of a glass surface] razer viper mini price


How does an optical computer mouse work?

Furthermore, this image sensor with its 1600 pixels focuses only on a tiny area just 1/200th the size of a penny, immediately below the mouse. However, the key is that the image sensor takes up to 17,000 pictures of the surface every single second, and thus, even if you move your mouse across the mousepad for just a tenth of a second, the image sensor would take around 1700 pictures during that quick move razer deathadder essential gaming mouse


optical mouse optical mouse vs laser mouse how does a mouse work Optical mouse How does a mouse work optical mouse vs laser mouse

What is inside a computer mouse?

And here’s the kicker to this technology: your mouse doesn’t save any of these images, but rather, every time it takes a picture, it compares it to the previous one taken 59 microseconds earlier. glorious model o


Is my mouse optical or laser?

The microchip then uses the difference between the two images in order to determine the change in X and change in Y, or in essence how far and in what direction you moved your mouse in that one seventeen-thousandths of a second or 59 microseconds magic mouse


How do you get inside a mouse?

Let’s dive a little deeper into this idea. If we have two images of the topographical texture of the surface taken 59 microseconds apart, how exactly does the microchip determine the change in X and the change in Y between them? 


Is my mouse optical or laser?

Well, to calculate this, the two images are sent to a section of the microchip called the digital signal processor, or DSP for short, where an algorithm called cross-correlation is executed razer viper mini price


optical mouse optical mouse vs laser mouse how does a mouse work Optical mouse How does a mouse work optical mouse vs laser mouse

How does a laser mouse work?

As mentioned before, each image is composed of 40 by 40 pixels, and every pixel generates a value between 0 and 4095 that relates to the intensity of light that hits that particular pixel. Here we represent the values by the height of each pixel. 


Can optical mouse work without LED?

The digital signal processor or DSP takes the first image and overlays the second image on top of it. Next, the DSP subtracts all the values of the second image’s individual pixels from the first, and we get a new resulting image magic mouse


How does an optical computer mouse work?

The processor then shifts the second image around while leaving the first stationery and continues to calculate the difference between the two images until a position is found where the resulting image is at a minimum razer deathadder essential gaming mouse


What is the benefit of an optical mouse?

The amount of shift in position to reach a minimum resultant image tells us exactly how far the mouse moved between two successive images taken one seventeen thousandths of a second apart, yielding a value for the change in X and the change in Y, measured in pixel counts. 


What is inside a computer mouse?

59 microseconds later another image is captured, and the processor performs the same cross-correlation algorithm but with the new image shifting around, and the previous image stationary, resulting in another set of values. The processor continues to capture new images and executes the cross-correlation algorithm 17 times. 



optical mouse optical mouse vs laser mouse how does a mouse work Optical mouse How does a mouse work optical mouse vs laser mouse


How do you get inside a mouse?

It then adds up all the values, and we get how far the mouse moved in one millisecond. This combined change in X and change in Y for the one millisecond is then sent to the System on a chip over here which in turn relays the information to your computer using either a USB transceiver or Bluetooth [Video Note: Point to Bluetooth card] magic mouse


How does a laser mouse work?

And that’s how your mouse calculates movement every single millisecond. Let’s now take a look at the difference between gaming mice and non-gaming mice. Aside from the sharper-looking shape of the mouse, a different number and layout of buttons, and the LED lights, the first main difference is the specified DPI or dots per inch razer deathadder essential gaming mouse


How does an optical computer mouse work?

Gaming mice have DPI specs of 12,000 to 25,000 while non-gaming mice are closer to 850 to 4,000 DPI. But that begs the question, what exactly is DPI? Well, when you move your mouse to the right by 1 inch, however many units your cursor moves across the screen results in the value of dots per inch. A DPI of say 2,000 means your cursor will move 2,000 units for every 1 inch of movement of the mouse razer viper mini price


What is inside a computer mouse?

However, how does this relate to the image sensor and the cross-correlation algorithm that we talked about earlier? Well, let’s say each pixel in this 40 by 40-pixel image sensor has a length and height of 30 micrometers totaling a square 1.2mm by 1.2mm. 


How do you get inside a mouse?

If we were to extrapolate this sensor’s pix-els out to an inch in length, then we would need around 850 pixels, which in effect would yield a DPI of 850. In order to reach a higher DPI, we need to subdivide each whole or integer pixel using multiple cuts. 


What is the benefit of an optical mouse?

Let’s take each pixel and subdivide it by 4 along the X direction and 4 along the Y. Each pixel turns into 25 subpixels and now, our 850 DPI sensor has a DPI of 4,250. However, if we were to make 29 cuts along each length of every single pixel, we get a DPI closer to 25,500 razer deathadder essential gaming mouse


Can optical mouse work without LED?

Note that DPI is a linear unit, whereas pixels per square inch is a square unit. So now that we have a general idea, how specifically does it happen? Well, a common technique for subdividing whole pixels into subpixels is called interpolation, and the simple version goes like this. 


How does an optical computer mouse work?

Here we have 4 whole or integer pixels, each with a value for the intensity of light hitting that pixel, and just as before, the height of each pixel represents the value as well as an approximation for the textural topography of the surface. Next, we draw a line between the tops of the two sets of pixels in the X direction, and then draw lines between the two lines in the Y direction. 


What is inside a computer mouse?

Then, depending on how many subpixels we want, we subdivide the lines accordingly. At each intersection, we have a corresponding value for a new interpolated subpixel. So, when you change the DPI settings of your mouse, what you are actually changing is the number of subdivisions in this interpolation algorithm. razer deathadder essential gaming mouse


optical mouse optical mouse vs laser mouse how does a mouse work Optical mouse How does a mouse work optical mouse vs laser mouse


How do you get inside a mouse?

Here we’re showing a bilinear interpolation. It’s called bilinear because we draw straight lines between the whole integer pixels. However, a bicubic interpolation, which uses a little more math, can be used to create a smoother topography. One additional difference between gaming mice and non-gaming mice is that gaming mice typically report their movements to the computer 1000 times a second, or once every millisecond, whereas non-gaming mice send data 120 times a second.


How does a laser mouse work?

 Furthermore, the number of pictures taken every second called the frame rate, of 17,000 is only this high when you are quickly moving your mouse, and it scales down when your mouse is stationary in order to conserve battery life. 


What are the disadvantages of optical mouse?

One important thing to note is that there are a wide variety of mice out there, and in this video, we listed specs of a frame rate of 17,000, and a resolution of 25,000 DPI, which are the specs for a rather high-end gaming mouse. 


Can optical mouse work without LED?

Specs typically range from 4000 frames per second to 17,000, 1,000 DPI to 25,000, 18 by 18 pixels to 40 by 40, and a reporting rate from 100 to 1000. Furthermore, we showed a mouse that uses an infrared LED for illumination, whereas some mice use a laser, older mice use a red LED, and prehistoric mice use a ball. razer deathadder essential gaming mouse


What is inside a computer mouse?

Note that at the beginning of this video we said there were 7 different technologies inside this com-puter mouse, and thus far we’ve only covered one. The next video we’re considering making is on the scroll wheel and how fast we can get this wheel spinning. 


How does an optical computer mouse work?

If we can get this current video to over 30,000 likes, we’ll be sure to make that video. Inside this mouse is a rather complicated printed circuit board or PCB, and without it, there would be a rather messy jumble of wires that most likely wouldn’t even work properly. 


How do you get inside a mouse?

If you want to make your own devices, you’re going to have to create your own PCB which is rather fitting because this video was made possible by our sponsor PCBWay. PCBWay can quickly manufacture your PCBs with competitive prices and impeccable standards. 


How does a laser mouse work?

They also provide PCB assembly services where they populate and solder the components to the PCB. Check them out using the link in the description below. We believe the future will require a strong emphasis on engineering education and we’re thankful to all of our Patreon and YouTube Membership Sponsors for supporting this dream. 


What is the benefit of an optical mouse?

If you want to support us on YouTube Memberships, or Patreon, you can find the links in the description. Also, thank you to Logitech for providing information, reviewing the script, and providing a mouse to tear apart. Also remember to subscribe, comment below, and share this video with others. This is Branch Education, thanks for watching to the end!



optical mouse optical mouse vs laser mouse how does a mouse work Optical mouse How does a mouse work optical mouse vs laser mouse


How does an optical computer mouse work?

745 Comments

Next icon

Add a public comment…


How do you get inside a mouse?

Jared Owen

I miss the days when you could take the ball out of the mouse to prank your friends.  Great video once again! razer deathadder essential gaming mouse


ADHITHYA

I will never see a mouse the same again . Respect to all those brilliant minds and thank you Branch education for creating such an amazing video.


What is the benefit of an optical mouse?

Meeoowww.

The amount of time spent on making this animation is just immeasurable than the attention this channel gets..


Persian Carpet

These videos fulfill my childish wish of knowing how everything works.

My parents could not always explain in such detail



How does a laser mouse work?

Nax FM

It's beautiful to see this channel growing rapidly.

The animation quality and detail is just astounding and the explanation are always technical but not too difficult to understand. 

It's just perfect


Ninad Deshmukh

How can someone explain such a complex thing in just few minutes hatsoff to your talent dude I still can’t believe I am watching this free


sandeepyadav1478

Man, the voice. It feels like GOD is trying to explain everything too me. And I'm so desperately listening all of it  again and again.


What is the benefit of an optical mouse?

Matthew McClain

Prehistoric mice use a ball 😂 wasn't expecting that. Lol


Randy Lahey

it's really incredible how deep the rabbit hole goes. Theres always one more layer of complexity underneath. No one ever really knows how everything 100% works end to end.


Vitor Cardoso

I never imagined its was so complex to turn the mouse movement into coordinates.


Techoyaki

What is the difference between gaming mouse and normal mouse? The LEDs obviously... we all know more LEDs make it go faster :)


How do you get inside a mouse?

Quantlight

The most Hardworking and underrated Person on YouTube. He deseve more than he is getting. I also have a question that why the people who provide knowledge are most of them Underrated but The quality of people here are priceless. I think this is Heaven


An Anonymous (طارق سلمانی)

Being a computer engineer myself I wasn't really aware of the complex engineering and effort it took to build a small optical mouse....Your video is a gem 💎


What are the disadvantages of optical mouse?

Incredible

In this channel, you can have in-depth working of a particular object that is lying around in your house.

It’s always fascinating how brilliant he explains us with animation.


Patrick Oliver Bustamante

This channel is criminally underrated, a great video as always sir!


Reagan reigns

The technology that lies under the palm of the hand is amazing

How does an optical computer mouse work?

William Holden

We're just a messenger. Dry humor in the midst of this awesomely detailed presentation. Dying laughing 🤣


Dark Fate

4 days ago

Just amazing, it seems like a simple mouse 🖱️but all the engineering and science behind it, just wow. 

I can't believe I'm watching this much helpful content for free. Love you  guys for this much information in a very short time


What is the benefit of an optical mouse?

UNKNOWN

It's so detailed, I am thrilled by technology.


Zenko Kulchitsky

It would take over an hour to cover all these technologies in depth. Please by all means! An hour of this content is worth watching. Amazing, everyone should know this stuff.


How do you get inside a mouse?

Siddhesh Deshpande

Wow! The accuracy and precision of evey part in detail is a bliss to see.


NIB2307

This mouse is Logitech MX Master. I have one and this is the most convenient mouse I've ever had, although it's not cheap


Redactbtw

something we think is so small and insignificant, actually turns out to be more complexed than anyone would have ever imagined.... Amazing video.


What are the disadvantages of optical mouse?

TrisT

Never knew the thing just used a camera and such a brute force style algorithm. You have those IR RPM counters, and I always thought it was something more along those lines even though I don't really know how those work either. This is cool stuff, and great animations. Thank you!


Atique Raza

The way they visually represent the complex math is amazing.


How does a laser mouse work?

Alexander TM-290

Your animations are superb, for me it’s just like watching good animated high-end movie.


Kishore Kumar

The animation is amazing!!!

It really takes lot of effort to make such videos


FLλm3

It's wonderful how a 5 dollar mouse is faster than my adding skills


randomname9283

pre-historic mice use a ball

Modern trackball users: Am I a joke to you?


What is the benefit of an optical mouse?

Mahboob Alam

We really take computer and its accesories for granted. Wonder every time when I come across such great presentations. Although not everybody will understand the cross correlation stuff but will get the gist of the techology right under their palms.


Tripto15

The graphics gets better and better everyday!! Love your effort to teach people about IT ❤


How do you get inside a mouse?

Giorno Giovanna

It makes me feel privileged and thankful to live in this modern era, to experience such a complex and marvelous technology which would blown the brains off of the people from  past 50 years.


just another person

This is exactly what is used in lidar Remote sensing and navigation! It amazing to see how space tech has influenced consumer electronics.


greenleaf

animations keeps getting better and better, thanks for the superb job!


How does an optical computer mouse work?

Oliver Kongolo

This was really good! Apart from learning about how mouses work, the visuals were impressive.


Enrico Bettella

I'm impressed by the quality of this video. Just a big thanks for this great explanation.


Farkhod Sadykov

This is on of the best educational content I have ever seen on YouTube. Thank you for such good quality content.


How does a laser mouse work?

Thomas Jean

Thank  you 😀

I always wonder what DPI are, and now I know thanks to this amazing challenge.

Can't wait to learn more from the next video 😄




Napynap

I was recently wondering about this sitting at my office desk. Thank you for this, perfect timing!


Satyam Srivastava

Now I have a huge amount of Respect for my mouse. Hats off to the Developers.


What are the disadvantages of optical mouse?

Jo Apolonia Alcoran

Great work on this one! Never considered how complex a mouse could be…


Loop

Perfect even the sponsor is perfect


Gautam Nag

Now I feel bad about that amazon review 5 years ago where I went on a rant claiming the price was too high for a mouse (;′⌒`)


Váradi Richárd

Such detailed explanations are a sight for sore eyes. Good work! I'm eagerly waiting for the next episodes! [Could you do some on the workings of different keyboards too? ]


How do you get inside a mouse?

1maginary.Dragon

Prehistoric mouse used a ball

I have used that particular mouse a couple years back


The Nasiudk

Finally, a good explanation of Mouse lore


Beautiful Name

You are an inspiration to teachers, thank you  so much for this content !!!!


Nrusingh Prasad Acharya

So informative... As much as I love these videos because it satisfies my curiosity, and then again I share these videos to my Computer Science students for their reference... I wish I had these type of videos when I was a student.



How does an optical computer mouse work?

Sea Wolf

Holy moly these animations are incredible!


Sarfraz Ahmed

Being an Engineer and nerd, I appreciate your videos so much!!

Great job!


Ishan Singh

All those years i was wondering if i can visualise how a mouse works, and here i am. Thanks @BranchEducation team for this video, it will be helpful to many. I am subscribing to your channel and hopeful to see such illustrative videos in near future.


Can optical mouse work without LED?

Brian Pletcher

Hah, saw this on the youtube home page 43 seconds after you posted it! Looking forward to watching it! (edit after watching) Indeed, quite interesting!


Ayaancast

I love how you used an MX Master 3 which is one of the most complicated mice.


UniQuE TV

another great video with nice animations! thanks so much for doing this!


Andres Ramos

Every time these guys make a video, I admire the thing they talk about for at least one week, and wonder about the science and work behind it.


How do you get inside a mouse?

BluishGreenPro

This channel makes really high quality content with actual, in-depth explanations that aren’t just reading off the Wikipedia page on the subject! If you like this style of video, make sure to support the creator, but also check out The Engineer Guy channel for a similar style of presentation (unfortunately, they haven’t uploaded in years, but there’s a great backlog)


Pratul Venkatesh

How does the cross correlation algorithm simplify? Wondering how does the processor know to move in this direction and test whether the difference then reduces to zero or does it test in all directions?


Priscilla Tablante

Once again, such a great video! Who knew there was so much involved!!!


How does an optical computer mouse work?

Celsius

This is cool. I've been trying to make my G9X 3D printable for a while now since it's a favorite of mine.


G.O.A.T Productions

5 days ago

As always... Great video. I learned a lot! Who knew there is so much tech crammed into a seemingly simple mouse?


Siddharth Mukkanawar

23 hours ago

Great video!  It's really an amazing piece of engineering. And the was great too. Thanks for the video always wondered how the mouse works. Now some idea about it, waiting for the next video


Richi rich

I love your videos and how you explain stuff everyone ask themselfs from time to time

Keep up the good work!


How does an optical computer mouse work?

Nolan S. Estorninos

Your previous animations are amazing! But, this one I like it very much. Neat and elegant.. I guess black is cool.. I kindda accustomed to your orangey background in your other videos.

Your an amazing educator! Trying your best to make videos about topics that not everyone may appreciate really shows your love about science and tech. You are amazing!


Aaron Bryan

Thank you for the content, quite impressed with all those details. Enjoyed watching it.


Can optical mouse work without LED?

STAR SYNE

The mechanical biology of a mouse!! Awesome


3dplanet100: walking and tours videos

Its amazing how much thoughts and effort engineers have use to make a mouse. A lot of complicated math, physics, computer engineering, etc.



Chad Hayag

I have a logitech g302 and I was moving it around the whole time thinking about how amazingly fast the processes are going on. Thanks to all the great minds that made that algorithm so i don't have to wash a ball every so often.


How do you get inside a mouse?

nankink

The MX3 scroll wheel is kinda different from the others mice.. I'd love to take a look at it from inside!


Norland MFM

Hey Branch Education,  I really do love the videos you make on this channel. And myself, I'd love to make some. Do you have sources of where I could start learning pls ?

If anyone in the comment section here have some clues, thanks a lot for sharing !!


Use R

Again and again: Simply wow. What Else. 👍

Scholars and Students should be so happy that your videos are spread over and available on the entire world …


How does a laser mouse work?

Andrei Pencu

How lovely to see that it is exactly the mouse I am using. Great video! -MX Master Team


Chinmaya Singh Rawat

This channel is so fun to binge through! 🤩


Ajinkya Mahajan

Wonderful Day after watching your Videos 

Impressive Animation ✨✨

Cheers


Keith Dadson

Thanks for the video! Something I've always wanted. I've wondered about this since using ball mice back in the 90s. Would love to see something on those too, particularly how did ball mice differentiate left movement from right movement, or up from down?


Zak

The ironic thing is that the MX Master 3 used in the video is a laser mouse instead of an optical mouse like they're explaining....


How does an optical computer mouse work?

Satyam Srivastava

Thank you Branch Education for making such informative videos.


Halane 252

That was amazing, I never thought that before 😊👍


Moises Sequera

Can't wait for the other videos about the mouse's technology, you'll surely reach lots of likes.


Shahidul Islam

Excellent video. Loved the inside animation. Brach Education never compromises with the quality.


Crossfire_Bolt

This Channel deserves to allot more subs. Keep creating these amazing videos. Thank you.


5 Comments

Post a Comment

Previous Post Next Post