Monday, October 12, 2015

Arduino Programming basic Analog Read

Arduino Programming basic Analog Read



Procedure:





Step 1:     Open the Arduino software



Step 2:     Go to file



Step 3:     Then move to examples



Step 4:     Then open Analog read program



Step 5:     Then watch the video 



Step 6:     Make clear and brief detail pf this program from this video
 


Step 7:     Try to make implement with Potentiometer



Step 8:     By adjusting Potentiometer Analog values can be varied



Step 9:     By using serial monitor output values can be read.



Video:




Program:



void setup() {
  // initialize serial communication at 9600 bits per second:
  Serial.begin(9600);
}
// the loop routine runs over and over again forever:
void loop() {
  // read the input on analog pin 0:
  int sensorValue = analogRead(A0);
  // print out the value you read:
  Serial.println(sensorValue);
  delay(1);        // delay in between reads for stability
}


























For details follow us and ask in  Contact Form. You will receive response in 24 hours

0 comments:

Post a Comment