- April 9, 2019 at 10:49 am #6803
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.April 9, 2019 at 2:33 pm #6804
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.April 9, 2019 at 2:42 pm #6805
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~?
TyagiApril 9, 2019 at 4:01 pm #6806
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/April 9, 2019 at 4:12 pm #6807
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.
TyagiApril 9, 2019 at 4:33 pm #6808
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.April 9, 2019 at 4:39 pm #6809
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.
TyagiApril 9, 2019 at 6:21 pm #6810
You actually just need one per encoder. Both A and B can plug into one board.April 9, 2019 at 6:25 pm #6811
Hi, I meant to say one for each motor encoder, which is a total of 2 pull-ups. We will place the order asap.
You must be logged in to reply to this topic.