Sign In

Remember Me

Dual Encoder Breakout to Roboteq MDC2460 & Jetson TX2

Home Forums Electrical & Controls Dual Encoder Breakout to Roboteq MDC2460 & Jetson TX2



This topic contains 8 replies, has 2 voices, and was last updated by  Tyagi 2 weeks, 2 days ago.

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #6803

    Tyagi
    Participant

    Hi,

    I am trying to get encoder data from my motors. The Dual break out buffer board is already hooked up to the encoder cables from the motors. Do I connect the motor controller encoder output which is beside the rs232 port to the breakout board or connect it to the Jetson? It is unclear what S1, S2, MOS1, MOSO mean. Please help.

    #6804

    SuperDroid
    Keymaster

    Hey Tyagi,

    A couple things here:

    1. The dual encoder buffer board has two buffer chips that communicate via SPI (MOSI, MISO, and SCK). The S1 and S2 pins are used to select which buffer chip to communicate with. Refer to our sample code on GitHub for an example: https://github.com/SuperDroidRobots/Encoder-Buffer-Breakout/blob/master/DualEncoderBreakout/DualEncoderBreakout.ino

    2. In your case, it would be much easier to connect the encoders to the MDC2460 and poll the counts over USB.

    #6805

    Tyagi
    Participant

    Hi,

    Thanks for getting back. So the layout for the MDC2460 encoder is as follows:
    pin 1: 5V
    pin 2: Enc1A
    pin 3: Enc1B
    pin 4: Enc2A
    pin 5: Enc2B
    pin 6: GND

    How would I go about connecting it to the buffer board? 5V and GND are obvious. How do I connect the rest specifically Enc~?

    Tyagi

    #6806

    SuperDroid
    Keymaster

    I was talking about using the MDC2460 as an encoder buffer instead of the dual encoder buffer board. You should have 5V, GND, A, and B coming from each encoder. The A and B need to output 0-5V pulses. If it’s 0-3.3V, you can use a simple pull up resistor circuit like this: https://www.superdroidrobots.com/shop/item.aspx/ig32-ig42-and-ig52-gear-motor-encoder-pull-up-board/1512/

    #6807

    Tyagi
    Participant

    Hi,

    Thanks for getting back.
    So I have the 5V, GND, A, and B for each of the motor assembly connected to the dual encoder buffer board on my robot. So do you recommend I take it off the dual encoder buffer board and make the connections directly to the MDC2460 encoder input? It does have 5V so I don’t think I will be needing the resistor circuit.

    Tyagi

    #6808

    SuperDroid
    Keymaster

    Yes. Connecting the encoders to the MDC2460 will be easier and give you access to more features in Roborun+.

    Also if you’re using our motors, you will need the pull ups.

    #6809

    Tyagi
    Participant

    Hi,

    Ok, that sounds good. SDR built the chassis. The motors are IG42 24VDC. I will order the pull-ups. I am assuming I need 2 of them for each motor.

    Tyagi

    #6810

    SuperDroid
    Keymaster

    You actually just need one per encoder. Both A and B can plug into one board.

    #6811

    Tyagi
    Participant

    Hi, I meant to say one for each motor encoder, which is a total of 2 pull-ups. We will place the order asap.

    Thank you.

Viewing 9 posts - 1 through 9 (of 9 total)

You must be logged in to reply to this topic.

Skip to toolbar