Questions: 32U4 Robot Controller LV w/ Rasp. Pi Bridge

I might buy one of these https://www.pololu.com/product/3117 During shopping cart checkout how do I indicate I want the header for the Rasp. Pi 2 bridge? The product looks like additional headers can be soldered to the board to access Arduino-like features but I can’t find a kit of headers for that. Maybe I’m not meant to do that.

I plan to get a Zumo Chassis Kit https://www.pololu.com/product/1418 some HPCB micro motors https://www.pololu.com/category/174/high-power-carbon-brush-hpcb-micro-metal-gearmotors and add a couple quadrature encoders https://www.pololu.com/product/3081 Will the motors with encoders fit inside the chassis?

I read the robot controller might be able to handle the input from the encoders by using interrupts but then I saw this https://www.pololu.com/picture/view/0J6675 I’m a newbie. Are there enough pins available for input from the encoders? Looks like INT1, INT2, INT6, and some PCINTs are available but I’m not sure those are meant to be used with quadrature encoders. Can I connect a second mini Arduino-like controller to read the encoder input and then pass that info on to the Rasp. Pi or robot controller? Maybe I need a different robot controller.

Hello.

We do use some pictures of a board without a header on the product page, but the #3117 RPi bridge has the 2x20 pin female header soldered in and comes with standoffs, nuts, and screws that allow it to mount as a Raspberry Pi HAT. We also sell a variety of other 0.1" headers separately that can be soldered into other locations on the board. By the way, if you do not want the 2x20 pin Raspberry Pi connector, we sell a version of the board with only the SMT components.

The Zumo chassis kit you mentioned should work with those encoders. There are slots in the acrylic plate that allow enough clearance for the encoders to sit and allow the headers to be accessed.

There should be enough interrupts available on the A-Star 32U4 robot controller to use the encoders. INT0 and INT1 will be taken if you are using a Raspberry Pi and PCINT5 and PCINT6 will be taken if you are using both motor channels, but the other interrupts could be accessible if you are not using the functionality on those pins. We do not have example code for these encoders, but the A-Star 32U4 uses the same microcontroller as the Arduino Leonardo and Arduino Micro and there is an Arduino encoder page with a lot of resources that should be helpful for you.

-Nathan