ohmio

Circuits / Microcontrollers

Arduino UNO: a potentiometer dims an LED (ADC and PWM)

analogRead turns a voltage into 0…1023; analogWrite turns 0…255 into the share of time the pin is high

Arduino UNO: a potentiometer dims an LED (ADC and PWM), simulated on a breadboard

Tap a part to see its voltages and currents. It is a model, not a measurement.

Parts