Re: Please help, I need a moving sensor device.
did you ever get your distance sensor working?
A "draw wire sensor" does exactly what you want....but maybe too expensive.
I was searching group for info on using optical mouse as a movement detector.
--- In Electronics_101@yahoogroups.com, "gonnavis" <gonnavis@...> wrote:
> > With any quadrature encoder, it is easy to get direction and count. Here is a unit that works with RC servos for robotic applications:
> > http://www.nubotics.com/products/ww11/index.html
> > MANY years ago, I built such an encoder with a simple flat washer spinning on a shaft that was painted black with white stripes. I used sensors to 'see' the stripes:
> > http://www.junun.org/MarkIII/Info.jsp?item=14
> > There are a number of manufactured incremental encoders:
> > http://www.usdigital.com/products/encoders/incremental/rotary/shaft/s4
> > Here is an FPGA hack of a computer mouse
> > http://www.fpga4fun.com/QuadratureDecoder.html
> > As stated in the article, it is far easier to create a quadrature encoder in an FPGA than it is to build a PS/2 interface. Nevertheless, there is a PS/2 interface project at opencores.org. I have used it for keyboard input but I have never tried it for mouse input. I would use the mouse hack at fpga4fun.
> > Richard
> Thanks, That's great!
> I have tried to learn PS/2 mouse communication, and found it far more complicated than PS/2 keyboard.