ECEdge

Exam: GATE 2027 exams are on 6, 7, 13, 14, 20 and 21 February 2027. Official GATE 2027 site

Measure an RC charging curve with an Arduino

  • PathFoundation
  • LevelBeginner
  • Time1 evening
  • Partsabout ₹1,100

Charge a capacitor through a resistor from an Arduino pin, sample the voltage with the ADC, and compare what you measure with the textbook curve V(1 − e^(−t/RC)).

What this proves to recruiters

  • You can connect a formula to a real measurement.
  • You can use an ADC and log data over time.
  • You can explain the gap between expected and measured values.

Skills you will use

Expected curve vs your readings012345012345time (s)V63%τ = 1 sV = 5(1 − e^(−t/τ))measured
Dots are ADC readings; the line is the formula. The 63% point gives τ.

Parts list

You can buy the listed parts online here:

PartQtyApprox. priceShop
Arduino Uno compatible board with USB cable1₹550Find on Amazon
Breadboard, 830 points1₹90Find on Amazon
Jumper wire set (male-male and male-female)1₹120Find on Amazon
Resistor kit, ¼ W, assorted values1₹150Find on Amazon
Capacitor kit, ceramic and electrolytic1₹200Find on Amazon
Total, about₹1,100

Prices are rough online prices in India and change with the seller. You may already have some parts, or find them in your college lab.

As an Amazon Associate I earn from qualifying purchases. Buying through these links costs you nothing extra and helps keep this site free.

Free software

  • Arduino IDE (Serial Plotter)
  • Falstad circuit simulator
  • Python with Matplotlib (optional)

Steps

  1. Pick R = 10 kΩ and C = 100 µF, so τ = RC = 1 s. That is slow enough to sample easily.
  2. Wire digital pin 8 → R → C → GND, and connect the top of the capacitor to A0.
  3. In code, set pin 8 HIGH, then read A0 every 10 ms for 5 s and print time and voltage (reading × 5 / 1023).
  4. Plot the readings and mark the time where the voltage reaches 63% of 5 V. That time is the measured τ.
  5. Compare the measured τ with RC. Explain the difference using the capacitor’s tolerance (often ±20%).
  6. Repeat for discharge (pin 8 LOW) and for two other resistor values.

Make it stand out

  • Fit the curve in Python to estimate the real capacitance.
  • Turn it into a simple capacitance meter that prints C.

Put it on your resume

Built an Arduino data logger to measure RC charging; matched the measured time constant to RC within [x]% and explained the error from component tolerance.

Replace each [x] with a number you measured. Real numbers make a line believable.

Keep going

This project fits stage 2, “Circuits and devices”, of the Foundation roadmap.

More Foundation projects

All 49 project ideas