ADC use question

Status
Not open for further replies.
Hi All,
I am very new to microcontrollers and I am attempting to use ADC to read voltage of AA battery and then eventually a piezo element. I am using teensy 3.6 and understand there are 25 different pins that can take analog input. My question is where to connect my negative lead on the teensy. I see regular GND pins, AGND, and AREF but I am not sure which the negative end of the battery should be connected to. Any help would be appreciated.
Thanks,
Ethan
 
Any normal GND will work. Using AGND when available for Analog only connections can give better readings as it is isolated in some fashion from the otherwise common USB and digital grounds path. AREF is another thing not for use in this case.
 
Status
Not open for further replies.
Back
Top