If you want your microcontroller to do advanced stuff, then Linux-powered ARM devices should be your choice! The Beaglebone Black is similar to the Raspberry Pi but with more headers, an ADC, USB-to-Internet and more! This Beaglebone Black tutorial series starts with using bonescript (easiest) to using device tree overlays:
I will continually update this tutorial so do come back often.