电脑桌面
添加小米粒文库到电脑桌面
安装后可以在桌面快捷访问

光电鼠标改装成扫描仪

光电鼠标改装成扫描仪_第1页
1/8
光电鼠标改装成扫描仪_第2页
2/8
光电鼠标改装成扫描仪_第3页
3/8
光电鼠标改装成扫描仪 有没有想过光电鼠标也可以改装成扫描仪?其实这是可能的,光电鼠标里面有个CCD器件,虽然只有16x16像素,但是移动鼠标时,就可以“扫描”一整片区域。有个国外的DIY狂人就做了这种改装。 笔者也想试试这个新奇的想法,就吧鼠标拆了。 结果发现不能成功。根本原因:人家用的是Agilent的光电鼠标传感器,但是我用的是OM02的。 Agilent那颗有个I2C接口,连几根线到并口上,就可以用I2C接口读出里面的内容。 OM02也有I2C接口,不过这个接口只能在 test mode下使用,但是芯片资料上没有写出进入 test 模式的方法。 要是知道怎么进入 test mode就可以实现扫描的功能了。 Optical mouse cam Are you using an optical mouse right now? Ever wanted to see your desktop through the eye on the bottom of it? Me neither, I already know I have to clean my desktop :-) People get bored sometimes, and when I get bored I sometimes open up stuff to find out what makes it tick. One time, I did this with an old optical mouse. Well, a mouse only has 2 chips inside: the optical sensor and a chip for the usb/ps2-interfacing. I looked up the datasheet of the optical sensor (which is an ADNS2610) and it told me the sensor has a tiny 18x18 CCD, which can be read out using the serial port (the one which normally interfaces to the PS2/USB-chip). So I start Visual Basic (I usually do my stuff under Linux, but I'm no star at using anything graphical like QT or GTK, so for this quick'n'dirty project I fell back in my old habits) and hack something up using a few wires to the trusty ole parallel port. The result: crisp lo-res b&w imaging :-) As you can see, the mouse was over some text with an 'e' in it. One of the more obvious features of a mouse, however, is that it can detect movement. Combine this with the just-aquired imaging features, and we have a ghetto b&w handscanner. This is a...

1、当您付费下载文档后,您只拥有了使用权限,并不意味着购买了版权,文档只能用于自身使用,不得用于其他商业用途(如 [转卖]进行直接盈利或[编辑后售卖]进行间接盈利)。
2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。
3、如文档内容存在违规,或者侵犯商业秘密、侵犯著作权等,请点击“违规举报”。

碎片内容

光电鼠标改装成扫描仪

确认删除?
VIP
微信客服
  • 扫码咨询
会员Q群
  • 会员专属群点击这里加入QQ群
客服邮箱
回到顶部