- 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.
Thank you.May 28, 2019 at 11:30 am #7043
So I bought the pullup boards and I was wondering what is the size for the smaller 4pin connector? The breakout board and the pull-up board have a different arrangement for v,g,b, a. So I need to manually connect them. Any help will be appreciated.
Thanks.May 28, 2019 at 1:51 pm #7044
the pin sizes are located on https://www.superdroidrobots.com/shop/item.aspx/ig32-ig42-and-ig52-gear-motor-encoder-pull-up-board/1512/
to connect to the roboteq, you can use https://www.superdroidrobots.com/shop/item.aspx/6-pin-molex-microfit-3-0/2280/May 28, 2019 at 2:48 pm #7045
Do you guys have the 2mm 4 position female headers? I cannot find a perfect fit online…I found this (https://www.amazon.com/Micro-4-Pin-Connector-100mm-Female/dp/B01DUC1M2O/ref=pd_bxgy_21_img_2/134-4426260-1281734?_encoding=UTF8&pd_rd_i=B01DUC1M2O&pd_rd_r=24ea6361-8178-11e9-8ec8-f37f2ab7fd5a&pd_rd_w=HsoBe&pd_rd_wg=JsPIr&pf_rd_p=a2006322-0bc0-4db9-a08e-d168c18ce6f0&pf_rd_r=JVH3R6Z3Q5RG95AHKPK6&psc=1&refRID=JVH3R6Z3Q5RG95AHKPK6) I don’t think it is the correct ones…
My encoders were attached to the dual encoder breakout board…So the encoder wires are organized as B,A,V,G…As per this thread I have bought pull up boards and the Molex microfit from SDR… The pull up boards have the A,B,G,V configuration… Do you recommend straight up soldering them in the correct order? I don’t think it is the correct approach for the 2 pin 4 position right angled header…
Please advice..May 28, 2019 at 3:16 pm #7046
I see what you mean now. If the encoders were from our motors, they will have the following configuration:
Brown – V
Green – G
Blue – B
purple – A
the encoders should fit directly into the pullup board on the 0.1″ side https://www.superdroidrobots.com/images/TE/TE-179-000-C.jpg
on the breakout board, the order is BAVG, so you will have to switch around the V and the G wires on the crimp header. to do that, take a pin, small slotted screwdriver, or a pair of tweezers and push in the metal tab that is holding the wire into the crimp header. from there you can switch the wires and push them back into the correct slot.
You can also solder them directly to the board if you would like to. we do this for many of our robots.May 28, 2019 at 3:47 pm #7047
Thanks for getting back. I think I will try to solder the encoders from the motors to the board..This way I reduce the wires. I am using the IG42 motors that came with the robot. Thanks.
You must be logged in to reply to this topic.