Pete Vree | Arduino Tutorial #7 (analogRead & Serial Monitor) @PeteVree | Uploaded 6 years ago | Updated 1 day ago
Using a 10 kOhm Potentiometer, we will send a 0 - 5 V DC signal into the Arduino Analog Pin and we will make use of the analogRead instruction to print the corresponding 0-1023 value to the Serial Monitor. Then we will make some changes to the code to provide a conversion from the 0-1023 value to a 0-5 volt value displayed on the Serial Monitor that mirrors the voltage signal coming from the potentiometer.
https://www.arduino.cc/en/Reference/AnalogRead
https://www.arduino.cc/en/Tutorial/ReadAnalogVoltage
https://www.youtube.com/watch?v=QsYcYknKbB0
https://www.youtube.com/watch?v=_H16GYL08Ik
Using a 10 kOhm Potentiometer, we will send a 0 - 5 V DC signal into the Arduino Analog Pin and we will make use of the analogRead instruction to print the corresponding 0-1023 value to the Serial Monitor. Then we will make some changes to the code to provide a conversion from the 0-1023 value to a 0-5 volt value displayed on the Serial Monitor that mirrors the voltage signal coming from the potentiometer.
https://www.arduino.cc/en/Reference/AnalogRead
https://www.arduino.cc/en/Tutorial/ReadAnalogVoltage
https://www.youtube.com/watch?v=QsYcYknKbB0
https://www.youtube.com/watch?v=_H16GYL08Ik