|
Optical mouse sensor as position feedback February 19, 2016 12:30PM |
Registered: 9 years ago Posts: 181 |
|
Re: Optical mouse sensor as position feedback February 19, 2016 06:21PM |
Registered: 11 years ago Posts: 550 |
|
Re: Optical mouse sensor as position feedback February 19, 2016 07:29PM |
Registered: 11 years ago Posts: 14,689 |
|
Re: Optical mouse sensor as position feedback February 20, 2016 03:01AM |
Registered: 10 years ago Posts: 1,671 |
|
Re: Optical mouse sensor as position feedback February 20, 2016 03:39AM |
Registered: 11 years ago Posts: 550 |
That would work rather well I think, mounting is then easier and you can beter control the distance between the belt and the lens of the sensor. Besides the resolution you also have to check the max speed it can do. An ADNS-2051 will have max speed of 14 ips or ~355mm/s |
Anonymous User
Re: Optical mouse sensor as position feedback February 21, 2016 05:27AM |
|
Re: Optical mouse sensor as position feedback February 23, 2016 07:19AM |
Registered: 9 years ago Posts: 181 |
|
Re: Optical mouse sensor as position feedback March 05, 2016 07:46PM |
Registered: 9 years ago Posts: 181 |

|
Re: Optical mouse sensor as position feedback March 06, 2016 06:46AM |
Registered: 11 years ago Posts: 550 |
|
Re: Optical mouse sensor as position feedback March 06, 2016 02:03PM |
Registered: 9 years ago Posts: 181 |
Well, I simply took a permanent marker and marked a line on the place the belt was entering the jig above.Quote
Frans@France
What do you mean with "draw a line on the belt"?
Most probably. Unfortunately, it seems that it's a "feature" of the encoder - to provide somehow better feeling for the mouse user - as you move your hand faster, it tends to gradually increase the steps in random numbers to deliver "better feedback". For a mouse user, this feels like better responsiveness. For my purpose, it's total no-go.Quote
Frans@France
Could it be because of the acceleration profile at higher printer speeds that it's missing "steps"?
Yes, I did, but as the belt was moving through the jig above, the X direction was -1 to 1 tops, usually 0 until I pulled seriously hard to one side and back.Quote
Frans@France
PS Did you readout all directions? If the sensor is not 100% in line with the belt then you need to combine the x and y data
|
Re: Optical mouse sensor as position feedback March 06, 2016 05:27PM |
Registered: 11 years ago Posts: 550 |
The ADNS-2030 has an SQUAL register (Surface QUALity) which measures the number of features visible by the sensor in the frame, I will include that in the next version to see if the belt was maybe not correctly hovering over the mouse LED.
|
Re: Optical mouse sensor as position feedback March 06, 2016 06:18PM |
Registered: 11 years ago Posts: 550 |
I thought that that normally is a OS mouse driver setting that the user can tune and the optical chip just reports counts.Quote
rklaucoMost probably. Unfortunately, it seems that it's a "feature" of the encoder - to provide somehow better feeling for the mouse user - as you move your hand faster, it tends to gradually increase the steps in random numbers to deliver "better feedback". For a mouse user, this feels like better responsiveness. For my purpose, it's total no-go..Quote
Frans@France
Could it be because of the acceleration profile at higher printer speeds that it's missing "steps"?
|
Re: Optical mouse sensor as position feedback May 05, 2016 12:53AM |
Registered: 9 years ago Posts: 29 |
|
Re: Optical mouse sensor as position feedback May 31, 2016 04:11PM |
Registered: 13 years ago Posts: 203 |
|
Re: Optical mouse sensor as position feedback June 01, 2016 07:56AM |
Registered: 11 years ago Posts: 550 |
|
Re: Optical mouse sensor as position feedback September 06, 2016 03:21AM |
Registered: 9 years ago Posts: 109 |
|
Re: Optical mouse sensor as position feedback September 08, 2016 11:50AM |
Registered: 9 years ago Posts: 321 |
|
Re: Optical mouse sensor as position feedback September 09, 2016 05:43AM |
Registered: 9 years ago Posts: 181 |
|
Re: Optical mouse sensor as position feedback September 09, 2016 07:46AM |
Registered: 9 years ago Posts: 109 |
|
Re: Optical mouse sensor as position feedback September 09, 2016 02:42PM |
Registered: 9 years ago Posts: 181 |
|
Re: Optical mouse sensor as position feedback September 16, 2016 09:15AM |
Registered: 9 years ago Posts: 321 |
Quote
rklauco
It's gonna be cheaper to buy the optical strip and sensor as used in 2D printers then.
|
Re: Optical mouse sensor as position feedback September 16, 2016 09:25AM |
Registered: 9 years ago Posts: 181 |
|
Re: Optical mouse sensor as position feedback September 17, 2016 05:13PM |
Registered: 9 years ago Posts: 321 |
|
Re: Optical mouse sensor as position feedback September 20, 2016 09:41AM |
Registered: 9 years ago Posts: 109 |
Quote
DaGameFace
Neat, wonder how how involved setting up those encoders in firmware is..
|
Re: Optical mouse sensor as position feedback September 20, 2016 11:10AM |
Registered: 9 years ago Posts: 181 |
|
Re: Optical mouse sensor as position feedback September 30, 2016 06:30AM |
Registered: 9 years ago Posts: 109 |
Quote
rklauco
Yeah, correct.
But I went another way.
I measured how many pulses I need for 100mm movement and adjusted the firmware steps/mm values accordingly.
Problem for the tiny MCU (I used 3 ATtiny85s in the video) is that it is not fast enough to count the high-frequency incoming pulses from both the electronics and the motor.
But for small applications such as the 3D printer in my video (modification of ToyRep printer), this works great.
Have you tried with Atmega MCU's as well ? Like an Arduino Nano or Mini. They should have enough power to do the computations if you use one for each axis.
|
Re: Optical mouse sensor as position feedback September 30, 2016 08:21AM |
Registered: 9 years ago Posts: 181 |
|
Re: Optical mouse sensor as position feedback December 05, 2016 04:37AM |
Registered: 9 years ago Posts: 9 |
Quote
MechaBits
Sounds Like a good idea, people keep saying it's expensive to implement, but after seeing this video the other day I thought perhaps its time to start thinking more about rotary encoders.
|
Re: Optical mouse sensor as position feedback December 05, 2016 04:47AM |
Registered: 9 years ago Posts: 9 |
|
Re: Optical mouse sensor as position feedback December 08, 2016 09:34AM |
Registered: 9 years ago Posts: 181 |