Farnell's Rotary Encoder 733-726


Closed Thread
Results 1 to 7 of 7

Hybrid View

  1. #1
    Join Date
    Feb 2003
    Posts
    432


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by wallaby
    I have used these encoders and still have problems, I tried code supplied on this forum and it still does the same thing, it jumps up by 2 values instead of one ( rotate right one click generates 2 counts ). I do have the board set up still so I will try both code examples and advise.

    Nigel, Queensland, Australia
    Hi Nigel,

    I am about to use a rotary encoder for the first time and whilst trying to confirm the pinout with a multimeter I couldnt get any readings across any pins. I then went and found the datasheet and discovered I have bought a high resolution encoder.

    My encoder has 24 detents in common with many others, but many of the encoders have only 6 cycles per revolution so 4 clicks to go through 00,01,11,10

    Mine apparently has 24 cycles per revolution so a single click travels through 00,01,11,10 and back to 00. Basically whenever the encoder is resting on a detent BOTH switches are open. I confirmed this by using LED's and you can see the 4 steps during each click.

    Given that the code above will generate an output count whenever 00 or 11 are presented I guess that using the type of encoder I have will give a count of two for each click.

    Just need to code for that now

    Regards
    Keith

    www.diyha.co.uk
    www.kat5.tv

  2. #2
    Join Date
    Mar 2003
    Location
    Commerce Michigan USA
    Posts
    1,166


    Did you find this post helpful? Yes | No

    Default

    keithdoxey, I am the one that supplied Nigel with the code and it works perfectly with a standard encoder, however the encoder you have selected as well as Nigel are ment to be used in low power situations. That is why the encoder seems to be open circuited at rest or in the detented position. As I told Nigel, take the encoder count and divide it by 2 is the easiest way to use these type of "low power" encoders.

    Dave Purola,
    N8NTA

  3. #3
    Join Date
    Feb 2003
    Posts
    432


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by Dave
    As I told Nigel, take the encoder count and divide it by 2 is the easiest way to use these type of "low power" encoders.
    Hi Dave,

    Excellent idea. Just because I need a result of 0-63 doesnt meant I cant use an encoder value of 0-126 in steps of two.

    Will give it a try later.

    Thanks
    Keith

    www.diyha.co.uk
    www.kat5.tv

Similar Threads

  1. Quadrature encoder and ASM Interrupts. questions..
    By godfodder in forum mel PIC BASIC Pro
    Replies: 10
    Last Post: - 17th March 2013, 14:45
  2. Calculate Distance Using Rotary Encoder
    By guanerrr in forum mel PIC BASIC Pro
    Replies: 17
    Last Post: - 4th May 2012, 16:40
  3. Rotary encoder help (not 'counting steps)
    By Elnino in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 26th October 2009, 22:03
  4. encoder wowes
    By wallaby in forum mel PIC BASIC Pro
    Replies: 16
    Last Post: - 6th December 2005, 21:56
  5. Automotive quality rotary encoder
    By d1camero in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 8th October 2004, 15:46

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