In this video we will be using the analogRead instruction to look at a 0-5V DC Input signal from a Potentiometer, and the analogWrite instruction to display the Output Voltage from the Arduino PWM Output terminals.

https://www.arduino.cc/en/Reference/AnalogWrite
https://www.arduino.cc/en/Tutorial/PWM

Answer for why I read 4.86 Volts instead of 5 Volts:
https://forums.adafruit.com/viewtopic.php?f=48&t=125219&p=625053#p625053

Source

Leave a Reply