Circuits / Microcontrollers
ESP32-C3: a potentiometer dims an LED (ADC and PWM)
analogRead turns a voltage into 0…4095 (12 bits, up to about 2.5 V); analogWrite sets the share of time the pin is high

Tap a part to see its voltages and currents. It is a model, not a measurement.
Parts
- Development board ESP32-C3 SuperMiniSearch on Amazon
- Potentiometer 10 kΩSearch on Amazon
- Resistor 220 ΩSearch on Amazon
- Red LEDSearch on Amazon
- Jumper wires × 5Search on Amazon
- BreadboardSearch on Amazon
Hear about the next circuit
One email when a new circuit is out, about twice a month. Nothing else.