kenemon 29 Posted July 21, 2011 Share Posted July 21, 2011 Hi All, have any of you peeps tried to hook up a rotary encoder to the LP? I picked up a few cheap ones with the intent of using them to make a wind direction indicator. Thinking analogically I figured I could work with the msp430, and use them similar to a potentiometer or joystick. I would use the resistance "zones" with the LP using the ADC or comparitor. I dissected one of the encoders, and removed the spring so it would rotate more freely. Hoping it still would allow the contacts to function, and noticed the contacts were staggered copper pads. This jogged my memory, reminding me this would be a more troublesome piece of code. Correct me if i am wrong please. looking at the spec sheets, the device is normally prefaced with a debounce chip. I figured this could be handled just as easy with software. I understand the switch creates square wave pulses on two pins. By comparing the timing of the waves and the quantity, the relative change in the position of the post is estimated. I am wondering If this "estimation" can be relied upon to judge the rotational position in a consistent manner. Do these type of devices suffer from drift and calibration issues? thanks in advance for reading Quote Link to post Share on other sites
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.