Home
Prox / RFID
Verichips
Ladder Logic
[interfacing] †
Tube Joints
Key Code From Photo
SolveSpace (3d CAD)
SketchFlat (2d CAD)
Photographs
Miscellany
Resume / Consulting
Contact Me

LDmicro Forum - quadrature encoder is set like pull up resistor

(you are viewing a thread; or go back to list of threads)

quadrature encoder is set like pull up resistor (by Alex)
1)Hello i was testing quadrature encoder for servo test, i had to set negated quadrature encoder inputs for working, is it like that due to its circuit connection?

2)I made a simple ladder that increments and decrements "Ccontador" value set in quadrature encoder instruction, it work but it goes from +2 or +2, (watch video please) and if i prezz XZ input it goes to number 2 or 3.(i am using arduino serial monitor)

https://www.youtube.com/watch?v=kxz6yVMLZYo

3) when i want to name OUTPOUT DIR as "Yled" when typing that and press enter it show "Yed" "watch video please):

https://www.youtube.com/watch?v=gbesCYsmX4A



ladder attach
Sun Dec 1 2019, 22:12:35, download attachment quad_test.ld
(no subject) (by Ihor Nehrutsa)
1) Yes. I found the more correct electrical schema of the circuit.
OutA and OutB are pulled-up to Vcc.
https://github.com/LDmicro/LDmicro/wiki/Incremental-QUADRATURE-ENCODER

2)Some encoders give +1/-1, and some +2/-2 between the points of mechanical fixation.
Let it be for now.

3)Will be fixed.
Mon Dec 2 2019, 17:27:51
(no subject) (by Alex)
thanks for your reply Ihor.
Mon Dec 2 2019, 20:02:57
Post a reply to this comment:
Your Name:
Your Email:
Subject:
(no HTML tags; use plain text, and hit Enter for a line break)
Attached file (if you want, 5 MB max):