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
Watch a capacitor charge and discharge
Intermediate 25 minutes

Switch D8 every five seconds. Charge and discharge 10 microfarads through 100 kilohms and plot its A0 voltage.

Switch D8 every five seconds. Charge and discharge 10 microfarads through 100 kilohms and plot its A0 voltage.

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 Arduino ground to the ground rail. Add the 22 picofarads ceramic capacitor. Its 0 lead goes into column 3 row C; the highlights show the remaining holes. Add the 100 nanofarads ceramic capacitor. Its 0 lead goes into column 7 row C; the highlights show the remaining holes. Add the 100 microfarads electrolytic capacitor · 50 volts. Its - lead goes into column 24 row H; the highlights show the remaining holes. Add the 10 microfarads electrolytic capacitor · 50 volts. Its - lead goes into column 15 row E; the highlights show the remaining holes. Add the 100 kiloohms resistor. Its Pin 0 lead goes into column 8 row H; the highlights show the remaining holes. Connect Arduino digital pin 8 to one end of the resistor. Connect the other end of the resistor to the capacitor’s + pin. Connect the capacitor’s + pin to Arduino analog input 0. Connect the capacitor’s - pin to the ground rail. 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 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 4 — Place 22 pF ceramic capacitor

Add the 22 pF ceramic capacitor. Its 0 lead goes into column 3 row C; the highlights show the remaining holes.

Exact breadboard holes
  • small · 0 → column 3 row C
  • small · 1 → column 4 row C
Explore in 3D

Loading assembly…

0:00 / 0:00
Transcript

Add the 22 picofarads ceramic capacitor. Its 0 lead goes into column 3 row C; the highlights show the remaining holes.

Step 5 — Place 100 nF ceramic capacitor

Add the 100 nF ceramic capacitor. Its 0 lead goes into column 7 row C; the highlights show the remaining holes.

Exact breadboard holes
  • bypass · 0 → column 7 row C
  • bypass · 1 → column 8 row C
Explore in 3D

Loading assembly…

0:00 / 0:00
Transcript

Add the 100 nanofarads ceramic capacitor. Its 0 lead goes into column 7 row C; the highlights show the remaining holes.

Step 6 — Place 100 µF electrolytic capacitor · 50 V

Add the 100 µF electrolytic capacitor · 50 V. Its - lead goes into column 24 row H; the highlights show the remaining holes.

Exact breadboard holes
  • large · - → column 24 row H
  • large · + → column 25 row H
Explore in 3D

Loading assembly…

0:00 / 0:00
Transcript

Add the 100 microfarads electrolytic capacitor · 50 volts. Its - lead goes into column 24 row H; the highlights show the remaining holes.

Step 7 — Place 10 µF electrolytic capacitor · 50 V

Add the 10 µF electrolytic capacitor · 50 V. Its - lead goes into column 15 row E; the highlights show the remaining holes.

Exact breadboard holes
  • cap · - → column 15 row E
  • cap · + → column 16 row E
Explore in 3D

Loading assembly…

0:00 / 0:00
Transcript

Add the 10 microfarads electrolytic capacitor · 50 volts. Its - lead goes into column 15 row E; the highlights show the remaining holes.

Step 8 — Place 100 kΩ resistor

Add the 100 kΩ resistor. Its Pin 0 lead goes into column 8 row H; the highlights show the remaining holes.

Exact breadboard holes
  • r · Pin 0 → column 8 row H
  • r · Pin 1 → column 12 row H
Explore in 3D

Loading assembly…

0:00 / 0:00
Transcript

Add the 100 kiloohms resistor. Its Pin 0 lead goes into column 8 row H; the highlights show the remaining holes.

Step 9 — Connect Uno D8 → column 8 row J

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

ConnectTo
Uno D8column 8 row J
Explore in 3D

Loading assembly…

0:00 / 0:00
Transcript

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

Step 10 — Connect column 12 row J → column 16 row A

Connect the other end of the resistor to the capacitor’s + pin.

ConnectTo
column 12 row Jcolumn 16 row A
Explore in 3D

Loading assembly…

0:00 / 0:00
Transcript

Connect the other end of the resistor to the capacitor’s + pin.

Step 11 — Connect column 16 row B → Uno A0

Connect the capacitor’s + pin to Arduino analog input 0.

ConnectTo
column 16 row BUno A0
Explore in 3D

Loading assembly…

0:00 / 0:00
Transcript

Connect the capacitor’s + pin to Arduino analog input 0.

Step 12 — Connect column 15 row A → T- rail 15

Connect the capacitor’s - pin to the ground rail.

ConnectTo
column 15 row AT- rail 15
Explore in 3D

Loading assembly…

0:00 / 0:00
Transcript

Connect the capacitor’s - pin to the ground rail.

Step 13 — 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 14 — Program your Uno

Choose Arduino Uno. Verify, pair the board and Upload this sketch. Keep USB connected. Switch D8 every five seconds. Charge and discharge 10 microfarads through 100 kilohms and plot its A0 voltage.

Watch a capacitor charge and dischargeOpen in English ↗

Step 15 — Explore the live readings

The curve rises and falls smoothly, with a time constant near one second. Disconnect USB, wait for discharge through the resistor, and substitute 100 microfarads: the response is about ten times slower. The 100nF part is useful beside IC power pins. A 22pF capacitor is for much faster circuits; this sampling loop cannot resolve its RC curve.

Step 16 — Troubleshooting

Check the electrolytic stripe is at ground. A reading stuck at an endpoint usually means the resistor was bypassed by a shared breadboard strip. The three comparison capacitors occupy separate, unused columns; do not jumper them into the active circuit.

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.