A 0 to 5 V square wave through 10 kΩ into 1 µF: the capacitor charges and discharges every 5 ms.
Try this:
- The source switches between 0 and 5 V every 5 ms. The voltmeter shows the capacitor's voltage going up and down between about 1.8 V and 3.1 V.
- Right-click the capacitor and choose View in New Scope to watch it charge and discharge.
- Double-click the capacitor, change it to 0.1u (0.1 µF) and press OK.
- It now charges ten times faster: almost all the way to 5 V and back to 0 V every time.
Cite this design
@design{breadboardhub/rc-charging,
title = {RC charging},
author = {breadboardhub},
url = {https://www.breadboardhub.com/breadboardhub/rc-charging},
version = {1.0.0}
}