Microcontroller Based Diagnostic Smart Inhaler