Here’s an amazing article from Open Music Labs which provides an in-depth explanation of the inner workings of the ATmega328p ADC, and how to squeeze every last bit of performance out of it.  These guys really know microcontrollers inside and out, and it’s great to see electronics tutorials that get so close to the metal.