Conversion Time

ATmega32u4 A conversion takes 13 ADC clocks. The ADC clock needs to be set using a prescaller from the main OSC to give an acceptable ADC clock rate. To get the full 10 bits of resolution The successive approximation circuitry requires an input clock frequency between 50kHz to 200kHz. Faster with 10bit resolution Setting the […]

Read More

Analog Inputs

10 bit AtoD returning integers from 0 to 1023. Read Analog Input There is no need to set the pin up as an analog input, just start reading it: Setting The Analog Reference Voltage Use the analogReference() function; DEFAULT: the default analog reference of 5 volts (on 5V Arduino boards) or 3.3 volts (on 3.3V Arduino […]

Read More