https://petapixel.com/2025/11/13/this-guy-built-a-compact-camera-using-an-optical-mouse/ * Reviews * Guides * Learn * Podcast * Newsletters * Sample Galleries * Store * * Log in * * * * * [ ] Type here what you are looking for Search This Guy Built a Compact Camera Using an Optical Mouse Nov 13, 2025 Jeremy Gray A person holds a small, box-shaped digital camera with a lens on one side and a small screen displaying a pixelated face on the other side. The camera has blue, orange, and gray panels with red buttons. Reddit user Dycus built a camera using the sensor from an optical mouse. After about 65 hours of work, Dycus had a low-resolution black-and-white camera with multiple shooting modes, housed in a nifty 3D-printed body. PetaPixel has previously reported on similar projects that turn old optical computer mice into functional cameras, but Dycus' project is unique in that he designed a full-blown camera. I made a camera from an optical mouse. 30x30 pixels in 64 glorious shades of gray! byu/Dycus in3Dprinting Optical computer mice work by detecting movement with a photoelectric cell (or sensor) and a light. The light is emitted downward, striking a desk or mousepad, and then reflecting to the sensor. The sensor has a lens to help direct the reflected light, enabling the mouse to convert precise physical movement into an input for the computer's on-screen cursor. The way the reflected changes in response to movement is translated into cursor movement values. It's a clever solution for a fundamental computer problem: how to control the cursor. For most computer users, that's fine, and they can happily use their mouse and go about their day. But when Dycus came across a PCB from an old optical mouse, which they had saved because they knew it was possible to read images from an optical mouse sensor, the itch to build a mouse-based camera was too much to ignore. The new optical mouse camera has a lot of neat features, including multiple shooting modes, numerous color palettes (the camera itself has 64 shades of gray), controllable exposure, and 32kB of on-camera storage to save up to 48 pictures. In addition to a standard single-shot mode, the camera also captures quad shots and "smear" shots, which are panoramas. Posts from the electronics community on Reddit "The panorama 'smear shot' is definitely my favorite mode, it scans out one column at a time across the screen as you sweep the camera," Dycus writes on Reddit. "It's scaled 2x vertically but 1x horizontally, so you get extra 'temporal resolution' horizontally if you do the sweep well." The optical mouse camera can also record movements, like it would if it were integrated into an actual mouse, and convert motion into drawings on the camera's screen. Given that the camera isn't even sniffing one megapixel territory -- its standard photos are just 900 pixels versus the 1,000,000 required to hit 1MP -- the image quality is not particularly impressive, but as Dycus notes and Game Boy Camera enthusiasts can attest, it's not about the resolution, it's about the fun factor. "Despite the low resolution, it's easily possible to take recognizable pictures of stuff," Dycus says. "The 'high' color depth definitely helps. I'd like it to the Game Boy Camera (which I also enjoy), which is much higher resolution but only has four colors." Do It Yourself, News DIY, diycamera, mousecamera, opticalmouse, opticalmousecamera, technology PetaPixel articles may include affiliate links; if you buy something through such a link, PetaPixel may earn a commission. Related Articles [iPhone-7-Camera_feat] Leaked Photo Shows Smaller iPhone 7 Will Have Optical Image Stabilization DIY mouse camera You Can Turn Your Laser Mouse into a Tiny Digital Camera A black Rollei digital camera with an 8x optical zoom lens is shown against a dark gradient background. The lens details and camera controls are clearly visible. Rollei's Cheap and Odd New Compact Camera Has Two Built-in Lenses [0854] A Digital Camera That Magically Prints onto Any Flat Surface Discussion Load Comments Please enable JavaScript to view the comments powered by Disqus. Become a Member Become a PetaPixel Member and access our content ad-free. Subscribe Now Trending Articles A remotely operated underwater vehicle arm approaches a stingray resting on the ocean floor in a dark, rocky underwater environment. YouTuber Drops Camera in Ocean and Films an Unknown Deep-Sea Species Nov 25, 2025 A mountain lion stands at night facing a trail camera, its eyes glowing brightly in the darkness. The background is rocky and dimly lit. Man Leaves Trail Camera in Cave for 10 Years, Captures Incredible Footage Nov 24, 2025 A person holds a tiny blue Kodak toy camera in their palm, with a wood surface in the background. The Kodak Charmera Blind Boxes Sold Out in Just 24 Hours Sep 18, 2025 Google The Conversational Photo Editing Tool on Google Photos is Illegal in Two States Nov 25, 2025 A person wearing headphones edits a video on a laptop connected to two large monitors at a desk. Various items, including a stuffed toy and tumbler, are on the desk in a modern office setting. The Associated Press Has Switched to DaVinci Resolve Nov 24, 2025 * * * * * Reading mode: Light Dark * Home * Glossary * About * Contact * Advertise * Privacy Policy * Full Disclosure (c) 2025 PetaPixel Inc. All rights reserved. [p]