This project can measure capacitance and inductance using the Atmega8 microcontroller and the code is written in Bascom AVR.
The limitations of this project is
Inductance Range: 0.1?H to 2H
Capacitance Range: 1pF to 2.5?F
Electrolytic Capacitor Measurement Range: 0.1?F to 30000?F
Circuit Diagram:
Hardware Pictures: