encoder interfacing
AHMET AKSU
Posts: 62
·
·· hello . how can I connect 12 v 'ncremental encoder to propeller / whats the phisical hardware
·· hello . how can I connect 12 v 'ncremental encoder to propeller / whats the phisical hardware
Comments
Whay output type is the encoder TTL level signal... open collector output ... line driver...??
That will determine or steer you a certain way..
Ronald Nollet
Graham
Post Edited (originator) : 3/23/2007 6:33:22 PM GMT
Do check your encoder outputs with a voltmeter before attaching to the propeller.
You should read this sticky thread:
HOW TO SAFELY INTERFACE A 5V SIGNAL TO THE PROPELLER?
http://forums.parallax.com/forums/default.aspx?f=25&m=124837
If you are doing up/down counting, you need to use the two 90 degree shifted channels. My first test of the Prop was doing that in Spin using a fast look-up decoding rather than a boolean one (Parallax Forums > Public Forums > Propeller chip > Code Decodes Encoder) and it works quite well for moderate speed. Use the same technique in assembler for "ublimited" speed.