What is the function of the AREF pin in the Arduino UNO?

Ngô Quốc Huy

New member
What is the function of the AREF pin in the Arduino UNO?
A. It is used as a reference voltage for all analog voltage calculations in the board
B. It is used as a reference voltage for all digital voltage calculations in the board
C. It is used as a reference voltage for the power source on the board
D. It is used as a reference voltage for the ground pins on the board
 
Answer: A
Explanation: The AREF pin is used internally by the board for measuring the analog voltages. By default, if nothing is connected to it then it will give the range for analog voltage calculation as 0-5V. But this pin when connected to a lower voltage say 3V will set the range for voltage calculations from0-3V.
 

Tìm kiếm

Back
Top