Tuesday, July 23, 2019

Udemy: Project 6 - Analog Read

Description:
This example shows you how to read analog input from the physical world using a potentiometer. A potentiometer is a simple mechanical device that provides a varying amount of resistance when its shaft is turned. By passing voltage through a potentiometer and into an analog input on your board, it is possible to measure the amount of resistance produced by a potentiometer (or pot for short) as an analog value. In this example you will monitor the state of your potentiometer after establishing serial communication between your Arduino or Genuino and your computer running the Arduino Software (IDE).

Note:
You can also use Serial Plotter

Parts:
1. NodeMCU x 1
2. Potentiometer x 1
3. Jumper wires x 3 (male to male)
4. Breadboard

Circuit:
https://crcit.net/c/fe9b46ed




Code:






No comments:

Post a Comment