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

2 comments:

  1. Wynn Las Vegas and Encore Resort - JTM Hub
    The Resort Room 군포 출장마사지 and Amenities. Located 의왕 출장안마 on the second floor of Wynn Tower, the 사천 출장마사지 2,034-square-foot Encore Resort Room is a perfect blend 화성 출장샵 of 동해 출장샵 luxury and

    ReplyDelete