Hello,
I decided to test the encoder I purchased today. . After connecting the encoder to it, the arduino reads the pulses, but has a tendency to miss them. What could be causing them?
The encoder used for work: http://sklep.cncprofi.com/enkoder-profi-360-06-aabbzz.html
Connection: Straight to Arduino Vcc-5V, Gnd-Gnd, Pin A to Pin 2 and Pin B to Pin 3 (with 300 Ohm resistors).
Code: from the arduino playground website
Greetings,
TraCerT
I decided to test the encoder I purchased today. . After connecting the encoder to it, the arduino reads the pulses, but has a tendency to miss them. What could be causing them?
The encoder used for work: http://sklep.cncprofi.com/enkoder-profi-360-06-aabbzz.html
Connection: Straight to Arduino Vcc-5V, Gnd-Gnd, Pin A to Pin 2 and Pin B to Pin 3 (with 300 Ohm resistors).
Code: from the arduino playground website
Code: C / C++
Greetings,
TraCerT