kriswiner / PMW3901

3 stars 0 forks source link

Poor mouse emulation #3

Open Tonymazzz opened 3 years ago

Tonymazzz commented 3 years ago

Hello sir!

I have mounted the sensor on a kind of mouse and I use it as a laser, everything works but when jumping from surfaces to different ones it behaves as if it vibrates or stops for moments until you reload a surface that the sensor like, let's say it's hard to draw a circle in Paint without shaking or losing track a bit. Any advice please?

Thank you very much in advance!!

kriswiner commented 3 years ago

This is not really supposed to be used as a mouse on a surface since the minimum separation distance between sensor and surface is supposed to be 80 mm. If the surface distance changes abruptly, or more likely, if there are multiple surfaces then the sensor will not output accurate data. But as for a fix for this I think you will need to contact the manufacturer PixArt. Note that there is a limit to the speed that the sensor can be used as well, which IIRC is ~7 rads/second, so in addition to a minimum distance constraint there is a speed constraint. Maybe by slowing down your motions a bit you might get better results?

On Fri, Aug 20, 2021 at 8:58 AM Tonymazzz @.***> wrote:

Hello sir!

I have mounted the sensor on a kind of mouse and I use it as a laser, everything works but when jumping from surfaces to different ones it behaves as if it vibrates or stops for moments until you reload a surface that the sensor like, let's say it's hard to draw a circle in Paint without shaking or losing track a bit. Any advice please?

Thank you very much in advance!!

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/kriswiner/PMW3901/issues/3, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABTDLKUWNAREW3LABSGB7LLT5Z3RTANCNFSM5CQS2LHA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email .

Tonymazzz commented 3 years ago

Thanks for your quick response!

I am using it from 1 meter to arround 2-5 meters. I reduced from arround 260hz to 60hz and looks the same :$

Tonymazzz commented 3 years ago

Right now I am using it with daylight inside a house and it seems that wooden doors or smooth surfaces do not capture them and when it is night the same thing happens but even worse: S

kriswiner commented 3 years ago

What happens when you slow down the hand motion?

On Fri, Aug 20, 2021 at 9:19 AM Tonymazzz @.***> wrote:

Right now I am using it with daylight inside a house and it seems that wooden doors or smooth surfaces do not capture them and when it is night the same thing happens but even worse: S

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/kriswiner/PMW3901/issues/3#issuecomment-902806710, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABTDLKVHD4AXSAFCGJIZGB3T5Z6AHANCNFSM5CQS2LHA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email .

Tonymazzz commented 3 years ago

I will try in a few minuts and get back to you sir, thanks!!

Tonymazzz commented 3 years ago

the same even if i move my hand slowly: $

Tonymazzz commented 3 years ago

On the other hand, could you give me some advice on how to reduce the vibration of when it is in my hand, something like make it smoother please sir?