How can I make my own computer mouse?

  • Thread starter Thread starter iceman90289
  • Start date Start date
Click For Summary

Discussion Overview

The discussion revolves around the process of building a custom computer mouse, including considerations for its physical design, electronics, and programming requirements. Participants explore various approaches to creating both the hardware and software components of the mouse.

Discussion Character

  • Exploratory
  • Technical explanation
  • Debate/contested

Main Points Raised

  • One participant expresses a desire to build a simple mouse and inquires about the necessary programming for a driver and the physical design of the mouse.
  • Another suggests replacing the shell of an existing mouse with a custom version made from modeling clay, indicating that writing a driver may not be necessary if the existing communication protocol is identified.
  • A later reply proposes using a 3-D printer to create a custom enclosure, recommending local Maker Faires or workshops for access to such technology.
  • Participants discuss various materials for creating the mouse shell, including modeling clay, driftwood, and even unconventional options like taxidermy.
  • One participant challenges the assumption that datasheets provide sufficient information for all parts, noting that while some manufacturers offer application notes, many aspects require independent research.
  • There is mention of using ARM or PIC processors with built-in USB clients for unique electronic features, suggesting that HID mice may not require drivers for major operating systems.
  • Another participant warns that converting optical laser module outputs into USB HID protocol is complex and recommends starting with an existing mouse for adaptation.
  • It is noted that small wireless mice can be purchased cheaply, which could simplify the project by allowing customization of the outer package.

Areas of Agreement / Disagreement

Participants present multiple competing views on how to approach the project, with no consensus on the best method for building the mouse or the necessity of writing a driver.

Contextual Notes

Participants express uncertainty about the availability of firmware for mouse components and the complexity of mechanical design within a mouse. There are also varying opinions on the sufficiency of datasheets for guidance on parts.

iceman90289
Messages
3
Reaction score
0
I was at the apple store the other day and thought to myself "these products are so pretty. Currently I am going to school to be an electronics engineering tech (my schedule doesn't allow me to go for EE), i just want to build a simple mouse for a computer. i know i'd have to program a driver and while I've coded various other things I've never done a driver before. but how do i approach this project? i know datasheets will have all the info i need for parts, but what about the physical shape of the mouse itself? how do i make that? can i buy a plastic box and shape it down how i need it?
 
Engineering news on Phys.org
Why not buy a mouse and replace the shell with your own modelling clay version.

You do not have to write a driver. You only need identify the existing mouse communication protocol.
 
iceman90289 said:
I was at the apple store the other day and thought to myself "these products are so pretty. Currently I am going to school to be an electronics engineering tech (my schedule doesn't allow me to go for EE), i just want to build a simple mouse for a computer. i know i'd have to program a driver and while I've coded various other things I've never done a driver before. but how do i approach this project? i know datasheets will have all the info i need for parts, but what about the physical shape of the mouse itself? how do i make that? can i buy a plastic box and shape it down how i need it?

Do you have access to a 3-D printer? Look for a Maker Faire near you, or similar workshops where you can rent time on a 3-D printer. Then you can make all sorts of neat enclosures for your projects... :smile:
 
good idea. will modeling clay look good?
 
You can change modelling clay, play dough or plasticine until you think it both looks good and handles well. Paint it or make a mold and cast it in resin.

You could carve your mouse out of a piece of driftwood, balsa, a sea shell or a pumice stone. Maybe even a rat, try taxidermy.
 
iceman90289 said:
i know datasheets will have all the info i need for parts,

HAHAHAHAHAHAHAHA!

That's really not true in general. Texas instruments, and Microchip are pretty good about giving parts advice in their application notes for their products but you're on your own much of the time.

Do you have an interesting idea for the electronics of your mouse? Even adding a ton of blinking lights would make it stand out. What I'm getting at is that if you want to do something unique with the electronics then I'd be happy to point you in the right direction. It's not that hard. You can get ARM processors and PIC processors with built-in USB clients and example codes that are ready to compile and load for a HID mouse. HID mice don't need drivers for major operating systems. You can mod to your hearts content.

Arduino probably has a USB shield too though I've never played with Arduino myself but I understand that Arduino is much more approachable for hobbyists and newcomers.

If you just want a nice do-it-youself case then it will be much easier to buy a mouse and use its electronics. It will be much cheaper too than getting all the prototyping tools.
 
Turning the output from an optical laser module, buttons, and wheels into USB HID protocol is non trivial. You can reverse engineer the main parts, but the firmware that does the real work is not going to be available. No doubt you need to start with a mouse and adapt that to your mechanics. You will find that challenging enough. The mechanical design within a mouse is a thing to behold.

You can buy relatively small wireless mice for cheap, and put them within a package of your choosing.
 

Similar threads

Replies
5
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
Replies
20
Views
2K
Replies
8
Views
1K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 59 ·
2
Replies
59
Views
2K
Replies
9
Views
3K
  • · Replies 14 ·
Replies
14
Views
3K