This project shows how to build a Inductor & Capacitor Meter based on ATMEGA32. The result is shows on LCD. The way it works is simple, you change an oscillator frequency with the part you want to find is value and by doing some maths you calculate the unknown part value. Check source code and schematic on the link below.
Inductor & Capacitor Meter (LCMeter) - [Link]