I am planning to make a robot car with various functions and I want to control 2-3 DC motors with hall sensor, 2-3 servo motors, sensors like these and some electronic components like a speaker, microphone, LED lights, etc. I found some driver like L298N, but it can control only 2 motors. Can I control sensors and electric components directly with raspberry pi? If not, please suggest me a good driver that can control all of these. I am relatively new to all these.

  • 1
    It seems unlikely that you'll find a single product which accommodates DC motors and servos and sensors and audio and lights and... who, aside from you in this one special case, would need it? You'll have an easier time of it sourcing individual components for individual purposes - DC motor driver, A-to-D converters for the sensors, amplifier board for the speaker, sound card for the mic, driver for the LEDs (or use individually addressable LEDs). In addition to being easier to source, it's much easier to maintain a modular platform than a monolithic one.
    – goobering
    Jan 11, 2017 at 13:52
  • I want to accommodate them in a small place, too many drivers would make it messy. Jan 11, 2017 at 14:05
  • Try the 4tronix Picon Zero - 4tronix.co.uk/store/index.php?rt=product/… It might suit your needs
    – recantha
    Jan 11, 2017 at 14:29
  • Can I use Arduino Uno as an alternative to it? Jan 14, 2017 at 7:14

2 Answers 2


The most capable motor controller board that gets closest to what you require is called the 4tronix Picon Zero.

4tronix Picon Zero

As you can see from the picture, it allows you to drive 2 DC motors (bottom right) and has outputs (left) that you can configure as servo outputs. There are also a number of inputs (which can take both digital and analog signals.

You can get it from 4tronix or The Pi Hut.

I reviewed the Picon Zero over on my blog.


You need a motor driver board for the DC motors (and for stepper motors).

The servo motors can be driven (but not powered) directly from the Pi.

General digital sensors can normally be driven direct from the Pi.

You need additional hardware (an ADC) to talk to analogue sensors.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.