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 - testing QUADRATURE ENCODER

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

testing QUADRATURE ENCODER (by Alex)
hello i have tested quadrature encoder using pic16f877a, i had to make my own ladder for testing i hope it is ok..,


https://www.youtube.com/watch?v=TkR9Nm2iiUA&feature=youtu.be

i think quad element works pretty great, but when reseting pic initial value is always 1, as shown in vídeo, i think it should be zero, about the other parameters (input A, B and Z, outputDir, cpunt per revol) need to read more, i´ll wait for ldmicro manual to be included.
Wed Aug 1 2018, 19:46:13, download attachment quad_16f877a_led_V2.ld
(no subject) (by Alex)
i have also modified "stepper-encoder.ld" file from here:

http://www.cq.cx/ladder-forum.pl?action=viewthread&parent=2133



it works pretty great too, initial value is zero
Wed Aug 1 2018, 19:49:28, download attachment quad_16f877a_led.ld
(no subject) (by Alex)
testing fast movment respond

cycle time: 1ms

https://www.youtube.com/watch?v=IlG6zcZ6SRg&feature=youtu.be
Wed Aug 1 2018, 22:25:34
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):