Intel® Makers
Intel® Edison, Intel® Joule™, Intel® Curie™, Intel® Galileo
Announcements
Welcome - This is a Peer-to-Peer Forum only. Intel has discontinued these products but you may find support from other customers on this Forum
9877 Discussions

Programming mouse connected to Intel Edison

EK2
Beginner
1,000 Views

Is it possible to program a mouse connected to the standard usb port of my Intel Edison arduino expansion board? I would like to use my mouse's optical sensor to measure displacement and specify the frequency of image capture by the sensor. I am new to programming and have no idea on how to do this. I'm a civil engineering student and would like to use it to measure crack propagation. Any help would be really appreciated.

1 Solution
Pablo_M_Intel
Employee
125 Views

Hi asan537,

I would suggest you to start by searching articles about USB programming from Linux side, similar to this one http://www.linuxjournal.com/article/4600 http://www.linuxjournal.com/article/4600. Once you're comfortable with that part of the process you can make the jump to the actual project (programming the optical sensor of your mouse). There are some other great articles about using input devices on your Edison board. Some days ago an internet user called Tahmid posted this great article http://tahmidmc.blogspot.com/2015/12/using-input-device-on-embedded-linux.html http://tahmidmc.blogspot.com/2015/12/using-input-device-on-embedded-linux.html on his blog. By coincidence a mouse is being used as the "input device" and the Embedded Linux platform is the Edison Arduino board.

Regards,

PabloM_Intel

View solution in original post

1 Reply
Pablo_M_Intel
Employee
126 Views

Hi asan537,

I would suggest you to start by searching articles about USB programming from Linux side, similar to this one http://www.linuxjournal.com/article/4600 http://www.linuxjournal.com/article/4600. Once you're comfortable with that part of the process you can make the jump to the actual project (programming the optical sensor of your mouse). There are some other great articles about using input devices on your Edison board. Some days ago an internet user called Tahmid posted this great article http://tahmidmc.blogspot.com/2015/12/using-input-device-on-embedded-linux.html http://tahmidmc.blogspot.com/2015/12/using-input-device-on-embedded-linux.html on his blog. By coincidence a mouse is being used as the "input device" and the Embedded Linux platform is the Edison Arduino board.

Regards,

PabloM_Intel

Reply