Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

how mouse pointer follow the motion of mouse?

Status
Not open for further replies.

uday mehta

Advanced Member level 4
Joined
Dec 30, 2011
Messages
104
Helped
6
Reputation
12
Reaction score
6
Trophy points
1,298
Activity points
1,979
i have a little knowledge about mouse technology. in mouse there is a sensor which sense the motion. and cursor follows that motion. there is an encoder which tells the position of mouse to computer. how this encoder works. And if i use another sensor for motion detection then how can i interface that with computer?
 

tpetar

Advanced Member level 5
Joined
Sep 27, 2010
Messages
6,417
Helped
1,713
Reputation
3,456
Reaction score
1,673
Trophy points
1,393
Location
Pancevo-Belgrade, Serbia
Activity points
37,370
i have a little knowledge about mouse technology. in mouse there is a sensor which sense the motion. and cursor follows that motion. there is an encoder which tells the position of mouse to computer. how this encoder works. And if i use another sensor for motion detection then how can i interface that with computer?

Mouse with ball or optical mouse?


How Computer Mice Work
https://www.howstuffworks.com/mouse2.htm

**broken link removed**



Optical mice
https://computer.howstuffworks.com/mouse4.htm
**broken link removed**



Best regards,
Peter
 

uday mehta

Advanced Member level 4
Joined
Dec 30, 2011
Messages
104
Helped
6
Reputation
12
Reaction score
6
Trophy points
1,298
Activity points
1,979
actually i want to make my own mouse using different sensor. question is that how will i tell to operating system that now i press left click and now i move my mouse to right etc.
Means i want the deep functioning of mouse. in which language and by which software i can do so? I saw a you tube video in which Mr. Belal control his system by keypad.
link: https://www.youtube.com/watch?v=Ey_HsOEHxJA. I want to do same thing by my mouse. If somebody explain that how to control the system by keypad, then i can get help from it.
 

betwixt

Super Moderator
Staff member
Joined
Jul 4, 2009
Messages
15,571
Helped
5,036
Reputation
10,096
Reaction score
4,876
Trophy points
1,393
Location
Aberdyfi, West Wales, UK
Activity points
131,972
A mouse sends a code back to the host either as a TTL level serial stream (old type) or as a USB serial stream on newer types. The mouse doesn't know where it is, only which direction it is moving and whether a button has been pressed. All it does is send back a byte of data per movement of it's motion sensor. As far as I know, the only command you can send to a mouse is to request it's identity and it responds with either a single letter or in the case of a USB mouse, it's manufacturer and ID strings.

Brian
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top