Hello, welcome to our forum.

It looks like you have registered but you have not yet posted and messages. Our requirements are that you must post at least two messages, to allow the moderators to review your registration, before you will be allowed access to the full range of forum areas.

Please make a couple of posts, until then you may see a notice that says you are banned from certain forum areas.

Thank you.

Remove Text Formatting

+ Reply to Thread
Results 1 to 2 of 2
  1. #1
    Join Date
    Aug 2014

    Default Can I use an Absolute rotary encoder 12bit resolution with a PIC18F4550 ?


    As title...

    Has anyone successfully read from a 12bit absolute encoder using a PIC18F or similar?

    I'd love to get this to work as I have two immediate applications and the price of the thing is very reasonable.

    I'm not new to coding but am new to coding on embedded devices.


    Wilson Logan.

  2. #2
    Join Date
    Sep 2009

    Default Re: Can I use an Absolute rotary encoder 12bit resolution with a PIC18F4550 ?

    You can use it with any PIC. Just use shiftin
    Position var word
    SHIFTIN DataPin, ClockPin, 6,[Position\12]
    Maybe pause is needed, depending on oscillator speed.
    That is it...

Similar Threads

  1. Absolute encoder with Petherick code
    By stojakovicv in forum mel PIC BASIC
    Replies: 3
    Last Post: - 1st April 2016, 16:36
  2. Using an incremental rotary encoder?
    By keithv in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 12th January 2016, 22:23
  3. Paralel switches with a Rotary encoder
    By critix in forum Code Examples
    Replies: 5
    Last Post: - 18th June 2014, 13:12
  4. New approach to Rotary Encoder
    By Ioannis in forum Code Examples
    Replies: 90
    Last Post: - 11th July 2013, 21:05

Members who have read this thread : 13

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