Wiring for Potentiometer & Blue Hobby Motor Metal

Blue Hobby Motor Metal

I recently purchased the Blue Hobby Motor metal and was wondering if I need an H-Drive for it or if I can plug the pins directly into into the sparkfun xrp board. I went to the item and found the pinout just to find that the only ones I was familar with were the V and the GND. All of the other pinds labled a and B and drive motor I am unsure where to put them in the xrp pins that line the board. Are there more clear pinouts to where the motor should be and the pins it should be in? I would be able to code them but im just not sure where to begin in terms of the actual placement of the pins in the first place.

Potentiometer Pinout

I also purchaed a potentiometer and am looking for a place to put the wire that handles the data and can paste it into the serial monitor. I know this would be outside code but again I am not sure where to start the code without the place I can put the pin of the Potentiometer.

Thank you and I hope this finds everyone well.

I assume you’re referring to this motor? If so, you can plug it into the motor connectors just like the standard red motors that come with the XRP. They’re basically the same, the red one is just more powerful.

As for a potentiometer, you’ll need to plug into the expansion headers. All the GPIO pins capable of analog voltage measurement are used by various functions on the board, but you can free up some of them. For example, if you unplug the line sensor, then you can use GPIO44 and GPIO45 for your potentiometer.