An analog to digital converter is an electronic circuit which converts continuous signals to discrete digital numbers. In case of Arduino Uno we have a 10 bit ADC and the no of channels is 6 (A0-A5) .10 bit ADC means that when we convert analog value to digital ,we obtain the values in the range of 210 =1024 so the readings will be from 0 to 1023.The function that is used to read the analog values isanalogRead and the syntax is analogRead(A0) where A0 is the analog 0th pin.For more detail about ADC visit http://learningembedded.com/arduino/arduino-adc-interfacing/

No comments:
Post a Comment