AI agents & screen readers: for a machine-readable, text-only catalogue, start at /llms.txt. Products are available as Markdown (/products.md, /products/{handle}.md) and JSON (/products.json, /products/{handle}.json).
Store
Build a high-side PNP switch
Intermediate 25 minutes

Use D8 to control a BC557 high-side LED switch. LOW turns it on; HIGH turns it off.

Use D8 to control a BC557 high-side LED switch. LOW turns it on; HIGH turns it off.

Use the Uno R3 Learning Kit. Build with power disconnected, check the labelled connections, then upload the supplied sketch. Drag or zoom the 3D model to inspect it from any angle.

Explore all kit tutorials

View Markdown

Step 1 — Watch the complete build

Press Play for the narrated build. You can rotate and zoom the model while it plays, or follow the individual steps below.

Explore in 3D

Loading assembly…

0:00 / 0:00
Transcript

Keep U S B disconnected while you build. On this breadboard, each group of five holes shares a connection; the centre channel separates the two halves. You can drag the 3D view to look around. Connect the Arduino’s five volt output to the positive rail. Connect Arduino ground to the ground rail. Add the BC557 PNP transistor. Its C lead goes into column 12 row E; the highlights show the remaining holes. Add the Red L E D · 5 millimetres. Its cathode lead goes into column 12 row H; the highlights show the remaining holes. Add the 1 kiloohm resistor. Its Pin 0 lead goes into column 3 row A; the highlights show the remaining holes. Add the 10 kiloohms resistor. Its Pin 0 lead goes into column 20 row C; the highlights show the remaining holes. Add the 330 ohms resistor. Its Pin 0 lead goes into column 20 row J; the highlights show the remaining holes. Connect the BC557 PNP transistor’s E pin to the positive rail. Connect the BC557 PNP transistor’s C pin to one end of the resistor. Connect the other end of the resistor to the L E D’s anode lead. Connect the L E D’s cathode lead to the ground rail. Connect the BC557 PNP transistor’s B pin to one end of the resistor. Connect the other end of the resistor to the BC557 PNP transistor’s E pin. Connect Arduino digital pin 8 to one end of the resistor. Connect the other end of the resistor to the BC557 PNP transistor’s B pin. Check all wiring. Connect the square U S B-B plug to the Uno and the U S B-A plug to your computer. Use Verify and Upload in the code editor below.

Step 2 — Understand the breadboard

Keep USB disconnected while you build. On this breadboard, each group of five holes shares a connection; the centre channel separates the two halves. You can drag the 3D view to look around.

Explore in 3D

Loading assembly…

0:00 / 0:00
Transcript

Keep U S B disconnected while you build. On this breadboard, each group of five holes shares a connection; the centre channel separates the two halves. You can drag the 3D view to look around.

Step 3 — Connect Uno 5V → T+ rail 3

Connect the Arduino’s five volt output to the positive rail.

ConnectTo
Uno 5VT+ rail 3
Explore in 3D

Loading assembly…

0:00 / 0:00
Transcript

Connect the Arduino’s five volt output to the positive rail.

Step 4 — Connect Uno GND → T- rail 1

Connect Arduino ground to the ground rail.

ConnectTo
Uno GNDT- rail 1
Explore in 3D

Loading assembly…

0:00 / 0:00
Transcript

Connect Arduino ground to the ground rail.

Step 5 — Place BC557 PNP transistor

Add the BC557 PNP transistor. Its C lead goes into column 12 row E; the highlights show the remaining holes.

Exact breadboard holes
  • q · C → column 12 row E
  • q · B → column 13 row E
  • q · E → column 14 row E
Explore in 3D

Loading assembly…

0:00 / 0:00
Transcript

Add the BC557 PNP transistor. Its C lead goes into column 12 row E; the highlights show the remaining holes.

Step 6 — Place Red LED · 5 mm

Add the Red LED · 5 mm. Its cathode lead goes into column 12 row H; the highlights show the remaining holes.

Exact breadboard holes
  • led · cathode → column 12 row H
  • led · anode → column 13 row H
Explore in 3D

Loading assembly…

0:00 / 0:00
Transcript

Add the Red L E D · 5 millimetres. Its cathode lead goes into column 12 row H; the highlights show the remaining holes.

Step 7 — Place 1 kΩ resistor

Add the 1 kΩ resistor. Its Pin 0 lead goes into column 3 row A; the highlights show the remaining holes.

Exact breadboard holes
  • base · Pin 0 → column 3 row A
  • base · Pin 1 → column 7 row A
Explore in 3D

Loading assembly…

0:00 / 0:00
Transcript

Add the 1 kiloohm resistor. Its Pin 0 lead goes into column 3 row A; the highlights show the remaining holes.

Step 8 — Place 10 kΩ resistor

Add the 10 kΩ resistor. Its Pin 0 lead goes into column 20 row C; the highlights show the remaining holes.

Exact breadboard holes
  • pull · Pin 0 → column 20 row C
  • pull · Pin 1 → column 24 row C
Explore in 3D

Loading assembly…

0:00 / 0:00
Transcript

Add the 10 kiloohms resistor. Its Pin 0 lead goes into column 20 row C; the highlights show the remaining holes.

Step 9 — Place 330 Ω resistor

Add the 330 Ω resistor. Its Pin 0 lead goes into column 20 row J; the highlights show the remaining holes.

Exact breadboard holes
  • load · Pin 0 → column 20 row J
  • load · Pin 1 → column 24 row J
Explore in 3D

Loading assembly…

0:00 / 0:00
Transcript

Add the 330 ohms resistor. Its Pin 0 lead goes into column 20 row J; the highlights show the remaining holes.

Step 10 — Connect column 14 row A → T+ rail 14

Connect the BC557 PNP transistor’s E pin to the positive rail.

ConnectTo
column 14 row AT+ rail 14
Explore in 3D

Loading assembly…

0:00 / 0:00
Transcript

Connect the BC557 PNP transistor’s E pin to the positive rail.

Step 11 — Connect column 12 row A → column 20 row I

Connect the BC557 PNP transistor’s C pin to one end of the resistor.

ConnectTo
column 12 row Acolumn 20 row I
Explore in 3D

Loading assembly…

0:00 / 0:00
Transcript

Connect the BC557 PNP transistor’s C pin to one end of the resistor.

Step 12 — Connect column 24 row I → column 13 row J

Connect the other end of the resistor to the LED’s anode lead.

ConnectTo
column 24 row Icolumn 13 row J
Explore in 3D

Loading assembly…

0:00 / 0:00
Transcript

Connect the other end of the resistor to the L E D’s anode lead.

Step 13 — Connect column 12 row J → T- rail 11

Connect the LED’s cathode lead to the ground rail.

ConnectTo
column 12 row JT- rail 11
Explore in 3D

Loading assembly…

0:00 / 0:00
Transcript

Connect the L E D’s cathode lead to the ground rail.

Step 14 — Connect column 13 row A → column 20 row A

Connect the BC557 PNP transistor’s B pin to one end of the resistor.

ConnectTo
column 13 row Acolumn 20 row A
Explore in 3D

Loading assembly…

0:00 / 0:00
Transcript

Connect the BC557 PNP transistor’s B pin to one end of the resistor.

Step 15 — Connect column 24 row A → column 14 row B

Connect the other end of the resistor to the BC557 PNP transistor’s E pin.

ConnectTo
column 24 row Acolumn 14 row B
Explore in 3D

Loading assembly…

0:00 / 0:00
Transcript

Connect the other end of the resistor to the BC557 PNP transistor’s E pin.

Step 16 — Connect Uno D8 → column 3 row B

Connect Arduino digital pin 8 to one end of the resistor.

ConnectTo
Uno D8column 3 row B
Explore in 3D

Loading assembly…

0:00 / 0:00
Transcript

Connect Arduino digital pin 8 to one end of the resistor.

Step 17 — Connect column 7 row B → column 13 row B

Connect the other end of the resistor to the BC557 PNP transistor’s B pin.

ConnectTo
column 7 row Bcolumn 13 row B
Explore in 3D

Loading assembly…

0:00 / 0:00
Transcript

Connect the other end of the resistor to the BC557 PNP transistor’s B pin.

Step 18 — Place USB-A to USB-B cable · Uno

Check all wiring. Connect the square USB-B plug to the Uno and the USB-A plug to your computer. Use Verify and Upload in the code editor below.

Explore in 3D

Loading assembly…

0:00 / 0:00
Transcript

Check all wiring. Connect the square U S B-B plug to the Uno and the U S B-A plug to your computer. Use Verify and Upload in the code editor below.

Step 19 — Program your Uno

Choose Arduino Uno. Verify, pair the board and Upload this sketch. Keep USB connected. Use D8 to control a BC557 high-side LED switch. LOW turns it on; HIGH turns it off.

Build a high-side PNP switchOpen in English ↗

Step 20 — Try it and troubleshoot

The LED lights when D8 is LOW. Compare this with the NPN lesson, where HIGH turns the load on.

If it does not work

Use only the shared 5V supply in this circuit. Check BC557 orientation and the base pull-up.

Parts List

Required Parts (1)

Uno R3 Learning kit
Uno R3 Learning kit

Use the components named in this tutorial. A computer and any additional power supply are not included.

x1

$64.70

In stock

Project Summary

1 part total

Required parts $64.70
Total (required) $64.70

Unavailable items will be skipped

Maddy, co-founder of Little Bird

Need help? We're here for you!

Hi, I'm Maddy. My team and I are ready to help with your order or any questions.