Community
cancel
Showing results for 
Search instead for 
Did you mean: 
EK2
Beginner
907 Views

Programming mouse connected to Intel Edison

Jump to solution

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.


Accepted Solutions
Pablo_M_Intel
Employee
32 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
33 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