Controll Geekservo motor with rapsberry pi

Hi all,

I got two different Geekservo motors which I want to contol by a raspberry pi.

  1. 360 degrees (robotshop /en/geekservo-2kg-360-degrees-compatible-w-lego.html)
  2. continuous (robotshop /en/geekservo-motor-2kg-compatible-w-lego.html)

I managed to get the 360 degrees version working with help of:

The continuous version however has only 2 wires (black and red) and I can’t find documentation how to connect them to my raspberry pi and controll them.

Is there someone who has done this before or can give me some insights?

Thanks in advance!
Ramon

Hello @ramonh and welcome to the RobotShop forum,

Are you sure you don’t have this one instead?

If it only has two wires it means is not a servo but a regular DC motor, so it should be controlled like this:

I hope that helps!

Hi @geraldinebc15 ,

Thank you for your response!
That’s indeed motor I can’t get going. Thanks for sending me the link.

Since I’m not using a board (but directly connect it to the raspberry). Is it correct, I should connect the red line to pin 4 and the black line to pin 17?
(Using this script: Software | Adafruit's Raspberry Pi Lesson 9. Controlling a DC Motor | Adafruit Learning System)

Thanks again for your reaction!
Kind regards,
Ramon

Since I’m not using a board (but directly connect it to the raspberry).

You can’t power a motor with the current that the RPi GPIO can withstand, you need a driver to be able to control the motor.