DT, thanks for the confirmation. I never used it as an absolute position sensor, always relative.
Best Regards,
Nick
DT, thanks for the confirmation. I never used it as an absolute position sensor, always relative.
Best Regards,
Nick
Doesn't really answer your question about a gyro but I do agree with Darrel in that gyros drift. They also are extremely difficult to compensate accurately.
If it didn't need to be a full 360 degrees you could use a linear potentiometer hooked to the shaft? Supply 5V to one the other to ground with the wiper as the output. You'd have to do a one time calibration to determine angular position vs output and then it could be fed into an ADC to discern the output. This way it wouldn't be susceptible to gravity through tilting or installation errors. Would probably be the cheapest way also.
If 360 degrees is required you could use a synchro or resolver, depending on accuracy needed, but it gets a little more complicated with either of these devices. They do require AC excitation of the rotor and has three, synchro, or four, resolver, legs for the output. I'm sure someone has coupled one of these to a PIC already. It wouldn't be susceptible to off-axis tilting either and I don't THINK the math would be as complicated as the link above.
Most digital inclinometers have an RS232 output and some have USB but would probably prove as the most expensive option. Also, if you wanted 360 degree operation you'd have to come with a slipring so the cord wouldn't get wound up.
Bookmarks