In SX Microcontrollers, SX/B Compiler and SX-Key Tool, PeteUK wrote: Thanks Bean. I understand what you are saying about the total time on + off but the actual difference between the two will change. i.e if the total time is 100mSecs with 10mS on and 90mS off the rpm will be X. However if the motor speed was the same and the sensor is moved away slightly the times would change to say 9mS and 91mS, what effect would this have? I am not trying to pick holes in the idea at all, I just need to make sure we have a simple, reliable rpm. Just thought, maybe the idea would be to 'dump' the inductive proxy and use a photocell on the sprocket teeth as this would not be influenced by distance. Failing that stick with the proxy and use feeler gauges to set it up! Kind regards. PeteUK ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=201140#m201238 Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2007 (http://www.dotNetBB.com)