# Finding Parts - Controlling a RoboClaw with a Pi

**URL:** <https://forum.core-electronics.com.au/t/finding-parts-controlling-a-roboclaw-with-a-pi/8913>\
**Category:** Finding Parts\
**Created:** [4 December 2020 03:52 UTC](https://forum.core-electronics.com.au/t/finding-parts-controlling-a-roboclaw-with-a-pi/8913 "2020-12-04T03:52:14Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Oliver](https://yyz2.discourse-cdn.com/flex028/user_avatar/forum.core-electronics.com.au/oliver/32/3315_2.png) [@Oliver](https://forum.core-electronics.com.au/u/Oliver)\
**Post date:** [4 December 2020 03:52 UTC](https://forum.core-electronics.com.au/t/finding-parts-controlling-a-roboclaw-with-a-pi/8913/1 "2020-12-04T03:52:14Z")

</div>

The [RoboClaw motor controller’s](https://core-electronics.com.au/search/?q=roboclaw) have a PWM interface which you can control using a Raspberry Pi, by following [Adafruit’s Tutorial on DC Motor Control with a Pi](https://learn.adafruit.com/adafruit-raspberry-pi-lesson-9-controlling-a-dc-motor/overview).

You could also use a motor controller HAT, eg:

> **[Adafruit 16-Channel PWM / Servo HAT for Raspberry Pi - Mini Kit](https://core-electronics.com.au/adafruit-16-channel-pwm-servo-hat-for-raspberry-pi-mini-kit.html)**
>
> The Raspberry Pi is a wonderful little computer, but one thing it isn't very good at is controlling DC Servo Motors - these motors need very specific and repetitive .. read more

If you’d like to make a touch screen interface, the official Pi display is a great option. If you’d like to make a GUI, this is covered well in our [Pi for Beginner’s tutorial](https://core-electronics.com.au/tutorials/raspberry-pi-workshop-for-beginners.html#ch4).

> **[Pi Foundation PiTFT - 7](https://core-electronics.com.au/pitft-7-touchscreen-display-for-raspberry-pi.html)**
>
> Add a display to your Raspberry Pi project using the official 7 inch touchscreen display. It's perfect for all kinds of projects and allows your Pi to mount on the back with all of the cables hidden from view.

If you’re after an STM-32 Programmer, I’d recommend taking a look at this one from Adafruit:

> **[ST-Link STM8/STM32 v2 Programmer & Emulator](https://core-electronics.com.au/st-link-stm8-stm32-v2-programmer-emulator.html)**
>
> Explore new microcontroller worlds with an ST-Link Programmer & Emulator / Debugging dongle. This little USB stick contains a microcontroller with the code for ST's .. read more

As for a suitable Pi, if you’re doing light work, I’d suggest going with a Zero WH:

> **[Raspberry Pi Zero WH (Wireless with Soldered Headers)](https://core-electronics.com.au/raspberry-pi-zero-wh.html)**
>
> The Raspberry Pi Zero WH model is just like the W, except it has a professionally soldered header and no quantity restrictions!

Else a Pi 4 4GB is a good go to:

> **[Raspberry Pi 4 Model B 4GB](https://core-electronics.com.au/raspberry-pi-4-model-b-4gb.html)**
>
> The 4GB variant of the Raspberry Pi 4 Model B

Don’t forget to grab the essentials to go with it!
