Quadrature Decoder


Closed Thread
Results 1 to 2 of 2
  1. #1
    Join Date
    Aug 2007
    Posts
    3

    Exclamation Quadrature Decoder

    Hi all.

    I need read a 3 wire (ABC) rotary encoder like a button pressed for up or down a counter.

    Exist any code about this ?

    How i can make this ?

    Thanks for members help.
    Last edited by stormdacta; - 18th September 2007 at 01:41.

  2. #2
    Join Date
    Jul 2007
    Posts
    53


    Did you find this post helpful? Yes | No

    Default Try using ENCODER keyword

    I'm pretty sure you can find some example of that. Try searching using keyword ENCODER not decoder. Also it's not ABC, it's A B and Index.

    You can also use PIC18F2331/2431/4331/4431. It has a quadrature decoder built-in the chip, called QEI module. Really nice to use with extra feature like noise protection. It's counting up or down according to A and B pulse, for CW and CCW rotation. Then you just have to read a register.


    J-P

Similar Threads

  1. Holtek Decoder
    By George in forum mel PIC BASIC Pro
    Replies: 16
    Last Post: - 29th June 2011, 12:17
  2. Req: Basic code for 32 bit hitach ir decoder
    By aa222k in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 6th January 2009, 05:16
  3. tone decoder
    By grounded in forum General
    Replies: 6
    Last Post: - 30th June 2008, 20:46
  4. Replies: 1
    Last Post: - 10th May 2006, 15:17
  5. 3-to-8 Decoder Program
    By BlackNoir in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 28th December 2005, 19:51

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts