Page 1 of 2 12 LastLast
Results 1 to 10 of 13
  1. #1
    1000+ Poster - Fantastic Contributor Tomlin's Avatar
    Join Date
    Nov 2005
    Location
    Waycross, GA
    Posts
    1,027
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    Rotary Encoders parrallel wiring?

    Hi guys

    I know this sounds crazy probably, but Im wondering:

    Would it be possible to wire 2 Rotary Encoders to one rotary encoder input using the correct wiring scheme? Here's what I want to do:

    On the LJ45 there's two Altimeter setting rotary encoders; one each on the two PFDs. Since the both do the exact same thing, couldnt I just parrallel wire them both and interface to the same input, especially since they both wont be used simultaneously.

    I know that switches can be done this way (such as the STND button to set 29.92") but will it work for my above scenario?

    thanks,
    Eric Tomlin-
    Learjet 45 Builder
    www.flightlevel180.org

  2. #2
    Heli Builder
    Join Date
    May 2008
    Location
    Earth
    Posts
    288
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    Hi,

    what you can try is to feed the 2 encoders' outputs to some sort of high impedance component such as a buffer or a logical gate. Use an OR gate (an OR per channel) to bring the signals together. If you are using 5V on your encoders, you could use a TTL IC otherwise CMOS.

    Since the inputs of the OR gates have a high impedance (resistance) they should not interfere with each other.

    If you need more info on this idea let me know, I can draw you a rough sketch for the logical circuit.

    [EDIT]: Additionally you would need a detector circuit that detects which encoder is turned, disable the other encoder's signal.
    Fritz -> Helicopter Cockpit Builder
    (FSX | TH2Go | Arduino | Air Manager Avionics | CNC)

  3. #3
    1000+ Poster - Fantastic Contributor Tomlin's Avatar
    Join Date
    Nov 2005
    Location
    Waycross, GA
    Posts
    1,027
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    Thanks Fritz. That's a lot more complicated that I thought...I was hoping that the wire leads would just be tied together where they meet at the input board. :-/

    Im trying to save buying more rotary encoder input interfacing than required, but it may just be better to do just that.

    Any other thoughts or ideas are welcomed.
    Eric Tomlin-
    Learjet 45 Builder
    www.flightlevel180.org

  4. #4
    300+ Forum Addict



    Join Date
    Feb 2007
    Location
    California, USA
    Posts
    380
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    Quote Originally Posted by Tomlin View Post

    Would it be possible to wire 2 Rotary Encoders to one rotary encoder input using the correct wiring scheme?

    Depending on the type of rotary encoder and the acceptable complexity of the solution, here are two approaches:

    1) If you have rotary encoders with the detent located at the position where both switches in the encoder are open, you can simply wire the two encoders in parallel. This is called a "wired-OR". This approach requires that the input the encoders connect to will properly operate with an encoder having one detent per four transitions.

    2) Use a micro controller to mediate between the two rotary encoders and the input connection for the encoders. The micro controller keeps track of state transitions of each encoder and produces a virtual encoder output that reflects the aggregate encoder activity.

  5. Thanks Tomlin thanked for this post
  6. #5
    1000+ Poster - Fantastic Contributor Tomlin's Avatar
    Join Date
    Nov 2005
    Location
    Waycross, GA
    Posts
    1,027
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    Quote Originally Posted by Mike.Powell View Post
    Depending on the type of rotary encoder and the acceptable complexity of the solution, here are two approaches:

    1) If you have rotary encoders with the detent located at the position where both switches in the encoder are open, you can simply wire the two encoders in parallel. This is called a "wired-OR". This approach requires that the input the encoders connect to will properly operate with an encoder having one detent per four transitions.
    How would we know which RE would fit the bill?
    Eric Tomlin-
    Learjet 45 Builder
    www.flightlevel180.org

  7. #6
    Heli Builder
    Join Date
    May 2008
    Location
    Earth
    Posts
    288
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    I like Mike's proposal (2) better because it will work on any type of Encoder. (1) is a bit dicy because what if the one encoder is left in such a position that the switch is close. Then the other encoder won't work.
    Fritz -> Helicopter Cockpit Builder
    (FSX | TH2Go | Arduino | Air Manager Avionics | CNC)

  8. #7
    300+ Forum Addict



    Join Date
    Feb 2007
    Location
    California, USA
    Posts
    380
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    Finding a good rotary encoder starts with digging through spec sheets. A cursory glance through several was disappointing. I found only one that showed the position of the detent during the grey-code cycle. (http://www.bourns.com/pdfs/PEC12.pdf lower right corner of the first page)

    Fritz raises a good point. There is no indication of how accurate the detent position is, or how well the encoder holds onto that accuracy as it ages.

  9. Thanks Tomlin thanked for this post
  10. #8
    Heli Builder
    Join Date
    May 2008
    Location
    Earth
    Posts
    288
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    Looking at that Grey code output table I marked the areas blue for the encoder to be at when not turning, for the other encoder to still work. If the one encoder is stuck somewhere in the white area, it will produce a 1 (5V) all the time. Using the OR method will then not work because with an OR the output will always be 1 in that case. There will be no pulses from the other encoder, just a 1 all the time.

    RotParallel.jpg

    I can imagine a checklist item added to fix this:

    BAROMETER KNOB ..................... Check Stop Position
    Fritz -> Helicopter Cockpit Builder
    (FSX | TH2Go | Arduino | Air Manager Avionics | CNC)

  11. #9
    1000+ Poster - Fantastic Contributor Tomlin's Avatar
    Join Date
    Nov 2005
    Location
    Waycross, GA
    Posts
    1,027
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    Thanks for all the in depth explanations- I never imagined how complicated it could get!

    Seems that the best way to go is just buy more input modules for RE needs.
    Eric Tomlin-
    Learjet 45 Builder
    www.flightlevel180.org

  12. #10
    Boeing 777 Builder


    Kennair's Avatar
    Join Date
    Jan 2007
    Location
    Perth, Western Australia
    Posts
    730
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    Would it be possible to incorporate a simple changeover switch that mediates between the two encoders? As you say, you'll never want to use both at the same time, so could you simply flip a switch to put either one or the other into circuit? It's not as clean as simply rotating one or the other but it could be an intermediate fix.

    Just a thought,

    Ken
    Opencockpits | Aerosim Solutions | Sim-Avionics | P3D | FDS | FTX | AS16 | PPL | Kennair


Page 1 of 2 12 LastLast

Similar Threads

  1. Rotary encoders
    By mondo50m in forum General Builder Questions All Aircraft Types
    Replies: 2
    Last Post: 06-23-2010, 04:50 PM
  2. Rotary Encoders
    By Boeing 747 Flyer in forum General Builder Questions All Aircraft Types
    Replies: 10
    Last Post: 05-14-2010, 05:04 PM
  3. Rotary Encoders
    By PittsburghLever in forum General Builder Questions All Aircraft Types
    Replies: 13
    Last Post: 10-04-2008, 03:59 AM
  4. Wiring Optical Encoders
    By Gsey in forum General Builder Questions All Aircraft Types
    Replies: 6
    Last Post: 11-13-2005, 11:56 PM