29. ADC Serial plotter

Back To All Submissions
Previous Submission
Next Submission

Solving Approach:

How do you plan to solve it?

To show the adc values represented by a graph it as simple as begin the UART comunication with your PC enabling the serial protocol using Serial.begin(9600);   Then getting the adc convertion values and printing them with Serial.println(adc);  

:) 

Code

/*Paste your code here*/

const char pot = A0;

void setup() {Serial.begin(9600);}

void loop() {
int adc = analogRead(pot);
Serial.println(adc);
delay(750);
}
 

Output

Video

Add video of output (know more)

 

 

 

 

Photo of Output

Add a photo of your hardware showing the output.

 

 

 

 

Was this helpful?
Upvote
Downvote