# How can i run two t200 thrusters in raspberry pi4?

**URL:** <https://discuss.bluerobotics.com/t/how-can-i-run-two-t200-thrusters-in-raspberry-pi4/10158>\
**Category:** Thrusters and Motors\
**Created:** [July 12, 2021, 4:59am UTC](https://discuss.bluerobotics.com/t/how-can-i-run-two-t200-thrusters-in-raspberry-pi4/10158 "2021-07-12T04:59:45Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![EliotBR](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.bluerobotics.com/eliotbr/32/6937_2.png) [@EliotBR](https://discuss.bluerobotics.com/u/EliotBR)\
**Post date:** [July 12, 2021, 6:06am UTC](https://discuss.bluerobotics.com/t/how-can-i-run-two-t200-thrusters-in-raspberry-pi4/10158/2 "2021-07-12T06:06:00Z")

</div>

Hi @JIHOON, welcome to the forum 🙂

> [@JIHOON](#):
>
> I use python code to run one thruster.
> 
> However i can’t run two thrusters…

What code are you running, and how have you set up/connected your power supply, Raspberry Pi, ESCs, and thrusters? If you explain/show what you’ve tried so far then we can try to help you determine which components aren’t set up correctly or need to be changed 🙂

> [@JIHOON](#):
>
> I tried “pigpio”, “wiringpi” module but “rpi.gpio” is the best module i think.

The `RPi.GPIO` library may not be precise enough to correctly run our ESCs, so it’s suggested to use a hardware-focused library like PiGPIO. See this post for details:

> [@Operating Basic ESC from Raspberry Pi using RPi.GPIO](https://discuss.bluerobotics.com/t/operating-basic-esc-from-raspberry-pi-using-rpi-gpio/4704/5):
>
> Hey Rusty, I finally got it working perfectly! The issue was that the ordinary PWM library “RPi” used with the Raspberry Pi uses software PWM, which doesn’t have the accuracy to deliver that initialization pulse width. A library called PIGPIO uses hardware PWM and drives the Basic ESC perfectly though. Thanks for the support, Andrew

If you’re interested in a more abstracted library you can use GPIOZero around PiGPIO, as I discuss in [this comment](https://discuss.bluerobotics.com/t/current-and-pwm-piloting-t200/9913/2), but it’s not a requirement.

---

_[View the full topic](https://discuss.bluerobotics.com/t/how-can-i-run-two-t200-thrusters-in-raspberry-pi4/10158)._
