I'm starting the Arduino chapters after finishing the breadboard-only experiments. The book keeps talking about digital pins vs analog pins and I get that digital is on/off, but then it says you can use PWM on some digital pins to "simulate analog" which is confusing. Can someone explain this in plain English?
TechCrate editorial answer
Bench Answer
Digital pins are strictly ON (5V) or OFF (0V) with nothing in between, while PWM-capable digital pins (marked with a ~) fake an in-between value by switching on and off hundreds of times per second — the ratio of on-time to off-time is what makes an LED look dimmer or a motor look slower, even though the pin itself is never anything but fully on or fully off. **Digital pins (0-13 on an Uno):** two states only, HIGH or LOW.
Unlock the full bench walkthrough
Members get the complete diagnostic workflow, every measurement to take and the verification checklist.
Unlock Digital VIP · $4.99/mo →