# Servo2040 Pinout Reference

**URL:** <https://forums.pimoroni.com/t/servo2040-pinout-reference/22790>\
**Category:** Learning Resources\
**Created:** [August 25, 2023, 7:48am UTC](https://forums.pimoroni.com/t/servo2040-pinout-reference/22790 "2023-08-25T07:48:59Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![MrEcko](https://avatars.discourse-cdn.com/v4/letter/m/ac8455/32.png) [@MrEcko](https://forums.pimoroni.com/u/MrEcko)\
**Post date:** [August 25, 2023, 7:48am UTC](https://forums.pimoroni.com/t/servo2040-pinout-reference/22790/1 "2023-08-25T07:48:59Z")

</div>

Hi, I just purchased the Servo2040 board, and I’ve been looking for a pinout reference sheet to explain the pins on the opposite side of the servo headers. In particular what are A0, A1, and A2. Are these 3 analog inputs in addition to the 6 next to the LEDs? What is SWC and SWD?

Also, why didn’t these pins come with headers soldered?  
Thanks.

---

<div class="post-metadata">

**Author:** ![alphanumeric](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.pimoroni.com/alphanumeric/32/2729_2.png) [@alphanumeric](https://forums.pimoroni.com/u/alphanumeric)\
**Post date:** [August 25, 2023, 8:12am UTC](https://forums.pimoroni.com/t/servo2040-pinout-reference/22790/2 "2023-08-25T08:12:25Z")

</div>

There is a link to the schematic on its shop page.  
Poke around there and you should be able to sort it out. ;)  
[servo2040.sch (shopify.com)](https://cdn.shopify.com/s/files/1/0174/1800/files/servo2040_schematic.pdf?v=1648817752)

SWC and SWD are I believe the Serial Wire Debug pins.  
A0, A1 and A2 are the ADC 0 , ADC 1 and ADC 2.

---

<div class="post-metadata">

**Author:** ![MrEcko](https://avatars.discourse-cdn.com/v4/letter/m/ac8455/32.png) [@MrEcko](https://forums.pimoroni.com/u/MrEcko)\
**Post date:** [August 25, 2023, 3:10pm UTC](https://forums.pimoroni.com/t/servo2040-pinout-reference/22790/3 "2023-08-25T15:10:03Z")

</div>

One more question…It was mentioned to use higher servo voltage, you need to break the trace on the back. So…

1. When you do this, will you be able to connect to a computer USB while the power is applied?
2. When you remove the USB cable, will the external power, till power the servos and the board?

---

<div class="post-metadata">

**Author:** ![alphanumeric](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.pimoroni.com/alphanumeric/32/2729_2.png) [@alphanumeric](https://forums.pimoroni.com/u/alphanumeric)\
**Post date:** [August 25, 2023, 5:53pm UTC](https://forums.pimoroni.com/t/servo2040-pinout-reference/22790/4 "2023-08-25T17:53:14Z")

</div>

OK, if your external supply is 5V, you don’t need to cut the jumper.  
That external 5V will power everything, if you don’t cut the jumper.  
It will also try to back power through the USB port.  
You will need a Data only USB cable.

I ran into a similar issue on my Interstate 75. The Pico Power Supply wasn’t enough, current wise to drive my 64 x 64 LED matrix. I needed an external supply and wanted it to run the works. I have a USB cable that I cut the +5V wire on. I program it with that custom cable.

If your external supply is higher than +5V you need to cut the jumper to prevent damage to the RP2040 etc.  
If you cut the jumper the external supply only powers the servo’s.  
You will need to power the Servo 2040 via the USB port.  
No need for a custom USB cable, for programing.

Hope that helps.

---

<div class="post-metadata">

**Author:** ![MrEcko](https://avatars.discourse-cdn.com/v4/letter/m/ac8455/32.png) [@MrEcko](https://forums.pimoroni.com/u/MrEcko)\
**Post date:** [August 25, 2023, 7:03pm UTC](https://forums.pimoroni.com/t/servo2040-pinout-reference/22790/5 "2023-08-25T19:03:05Z")

</div>

That helps alot to understand it. So, if I use an external 7.4v lipo, and I cut the jumper, the servos will be powered but nothing will happen because the Servo2040 board will not be powered?

I guess for a wireless solution, you will need a buck converter to step the voltage down to 5v, then feed this into the USB-C?

---

<div class="post-metadata">

**Author:** ![alphanumeric](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.pimoroni.com/alphanumeric/32/2729_2.png) [@alphanumeric](https://forums.pimoroni.com/u/alphanumeric)\
**Post date:** [August 25, 2023, 7:08pm UTC](https://forums.pimoroni.com/t/servo2040-pinout-reference/22790/6 "2023-08-25T19:08:28Z")

</div>

Too question 1, yes.

Too question 2, yes, that will work. The Servo 2040, by itself won’t draw much current.

If you plug an official USB C (Pi 4) Power supply in to the USB port on the Servo 2040, no need for a buck converter. Just FYI.

---

<div class="post-metadata">

**Author:** ![MrEcko](https://avatars.discourse-cdn.com/v4/letter/m/ac8455/32.png) [@MrEcko](https://forums.pimoroni.com/u/MrEcko)\
**Post date:** [August 25, 2023, 7:28pm UTC](https://forums.pimoroni.com/t/servo2040-pinout-reference/22790/7 "2023-08-25T19:28:04Z")

</div>

For question 2: that would mean you will have to have 2 power supplies.

1 more question. the 5V and - connections right below the QW/ST connector…are they inputs or outputs?

---

<div class="post-metadata">

**Author:** ![alphanumeric](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.pimoroni.com/alphanumeric/32/2729_2.png) [@alphanumeric](https://forums.pimoroni.com/u/alphanumeric)\
**Post date:** [August 25, 2023, 7:36pm UTC](https://forums.pimoroni.com/t/servo2040-pinout-reference/22790/8 "2023-08-25T19:36:27Z")

</div>

Yes, you would have two power supplies.  
If you go with 5V servo’s and you can use one supply.

Those 5V and + and - are normally outputs. The + is VBUS and the - is ground.

---

<div class="post-metadata">

**Author:** ![MrEcko](https://avatars.discourse-cdn.com/v4/letter/m/ac8455/32.png) [@MrEcko](https://forums.pimoroni.com/u/MrEcko)\
**Post date:** [August 25, 2023, 8:43pm UTC](https://forums.pimoroni.com/t/servo2040-pinout-reference/22790/9 "2023-08-25T20:43:53Z")

</div>

In this video [https://youtu.be/OQ4Wjgn8A78?t=321](https://youtu.be/OQ4Wjgn8A78?t=321) you can cut the trace and power the terminals with 5v. So, looking at the back of the Servo2040, which one is 5V and which is ground?

---

<div class="post-metadata">

**Author:** ![alphanumeric](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.pimoroni.com/alphanumeric/32/2729_2.png) [@alphanumeric](https://forums.pimoroni.com/u/alphanumeric)\
**Post date:** [August 25, 2023, 11:44pm UTC](https://forums.pimoroni.com/t/servo2040-pinout-reference/22790/10 "2023-08-25T23:44:40Z")

</div>

The jumper / track you cut is over where it says Separate USB and external power. The shiny bit that looks like a dumb bell.

---

<div class="post-metadata">

**Author:** ![MrEcko](https://avatars.discourse-cdn.com/v4/letter/m/ac8455/32.png) [@MrEcko](https://forums.pimoroni.com/u/MrEcko)\
**Post date:** [August 26, 2023, 6:22am UTC](https://forums.pimoroni.com/t/servo2040-pinout-reference/22790/11 "2023-08-26T06:22:42Z")

</div>

But according to this video [https://youtu.be/OQ4Wjgn8A78?t=321](https://youtu.be/OQ4Wjgn8A78?t=321) after you cut the trace, you can power the terminals with 5v instead of using the USB-C port…

I was wondering which terminal is which. So, looking at the back of the Servo2040, which one is 5V and which is ground?

---

<div class="post-metadata">

**Author:** ![alphanumeric](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.pimoroni.com/alphanumeric/32/2729_2.png) [@alphanumeric](https://forums.pimoroni.com/u/alphanumeric)\
**Post date:** [August 26, 2023, 8:38am UTC](https://forums.pimoroni.com/t/servo2040-pinout-reference/22790/12 "2023-08-26T08:38:12Z")

</div>

The “screw terminals” ? It’s marked on top for those.  
The + is the 5V  
The - is ground.

---

<div class="post-metadata">

**Author:** ![MrEcko](https://avatars.discourse-cdn.com/v4/letter/m/ac8455/32.png) [@MrEcko](https://forums.pimoroni.com/u/MrEcko)\
**Post date:** [August 26, 2023, 5:53pm UTC](https://forums.pimoroni.com/t/servo2040-pinout-reference/22790/13 "2023-08-26T17:53:27Z")

</div>

I mean the part that you break on the back. It will leave 2 seperate traces when you break it. According to the video you can power that with 5V,.or am I misinterpreting what he said?

---

<div class="post-metadata">

**Author:** ![alphanumeric](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.pimoroni.com/alphanumeric/32/2729_2.png) [@alphanumeric](https://forums.pimoroni.com/u/alphanumeric)\
**Post date:** [August 26, 2023, 7:05pm UTC](https://forums.pimoroni.com/t/servo2040-pinout-reference/22790/14 "2023-08-26T19:05:12Z")

</div>

Ok, I’m going to rehash this a bit. You have IMHO misunderstood some of that video.

As is without the trace cut, the Servos **and** the Servo2040 both get **+5V** from the USB jack. If you only have a couple of servos connected this should be fine.  
Or alternately, you can feed in **+5V** via the **screw terminals** and power **both** the Servo 2040 and the Servos. You do this if you need more current than the UBC jack can supply. You don’t need to cut the trace if your using a 5V power supply. It will back feed through the USB jack though. A Data only USB cable should be used.

If you do decide to cut the trace, you need to do the following.  
Power the Servo2040 via the USB Jack.  
**And** power the Servos via the Terminal Block.  
A normal USB cable is used for programing and power to the Servo2040.

---

<div class="post-metadata">

**Author:** ![MrEcko](https://avatars.discourse-cdn.com/v4/letter/m/ac8455/32.png) [@MrEcko](https://forums.pimoroni.com/u/MrEcko)\
**Post date:** [August 26, 2023, 9:51pm UTC](https://forums.pimoroni.com/t/servo2040-pinout-reference/22790/15 "2023-08-26T21:51:04Z")

</div>

Ok, I got it. So, with the trace uncut, you can only supply 5V max to the terminal screws? If you supply more than 5V to the terminal screws, you will need to cut the trace?

---

<div class="post-metadata">

**Author:** ![alphanumeric](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.pimoroni.com/alphanumeric/32/2729_2.png) [@alphanumeric](https://forums.pimoroni.com/u/alphanumeric)\
**Post date:** [August 27, 2023, 9:19am UTC](https://forums.pimoroni.com/t/servo2040-pinout-reference/22790/16 "2023-08-27T09:19:24Z")

</div>

Yes, that is correct.

---

<div class="post-metadata">

**Author:** ![MrEcko](https://avatars.discourse-cdn.com/v4/letter/m/ac8455/32.png) [@MrEcko](https://forums.pimoroni.com/u/MrEcko)\
**Post date:** [August 29, 2023, 3:30pm UTC](https://forums.pimoroni.com/t/servo2040-pinout-reference/22790/17 "2023-08-29T15:30:14Z")

</div>

Appreciate the help alphanumeric, but I have just 1 more question. When you cut the trace and are using 7.4v or 11.1V on the terminal, and you have programmed the robot and want it to be free from the computer, is there another way to power the board other than the USB-C port? Is there a way to power it via the headers somehow?

---

<div class="post-metadata">

**Author:** ![alphanumeric](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.pimoroni.com/alphanumeric/32/2729_2.png) [@alphanumeric](https://forums.pimoroni.com/u/alphanumeric)\
**Post date:** [August 29, 2023, 6:27pm UTC](https://forums.pimoroni.com/t/servo2040-pinout-reference/22790/18 "2023-08-29T18:27:17Z")

</div>

There are solder pads for 5V and Ground down by the Qwicc connector.

---

<div class="post-metadata">

**Author:** ![MrEcko](https://avatars.discourse-cdn.com/v4/letter/m/ac8455/32.png) [@MrEcko](https://forums.pimoroni.com/u/MrEcko)\
**Post date:** [August 30, 2023, 9:50pm UTC](https://forums.pimoroni.com/t/servo2040-pinout-reference/22790/19 "2023-08-30T21:50:04Z")

</div>

So, does it matter if you power the board using 5V or 3.3V?

---

<div class="post-metadata">

**Author:** ![alphanumeric](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.pimoroni.com/alphanumeric/32/2729_2.png) [@alphanumeric](https://forums.pimoroni.com/u/alphanumeric)\
**Post date:** [August 31, 2023, 7:32am UTC](https://forums.pimoroni.com/t/servo2040-pinout-reference/22790/20 "2023-08-31T07:32:43Z")

</div>

That I don’t know.  
As far as the Pico goes if your powering it via VSYS, 3.3v is fine.  
You’d have to check the schematic to see what the 5v feeds other than the servos.

[Next page](https://forums.pimoroni.com/t/servo2040-pinout-reference/22790.md?page=2)
