This project develops a microcontroller-based system for detecting islanding of a grid-connected inverter by monitoring voltage and frequency from the utility grid. The microcontroller triggers a relay to disconnect the inverter from the grid if voltage or frequency go outside predetermined ranges. A 555 timer circuit is used to vary the test frequency, while a variac adjusts the voltage. Hardware includes a microcontroller, 555 timer, comparators, relays and other components. The system displays detection of islanding conditions on an LCD. It can be applied to solar power plants for grid security by ensuring power is supplied rather than drawn during abnormalities.