Forum Rule: Always post complete source code & details to reproduce any issue!
Results 1 to 2 of 2

Thread: ADC use question

  1. #1

    ADC use question

    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.

  2. #2
    Senior Member+ defragster's Avatar
    Join Date
    Feb 2015
    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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts