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 components include a microcontroller, 555 timer, comparators, relays and other supporting electronics. The system displays islanding detection on an LCD screen. It can be applied to solar power plants for grid security by ensuring power is supplied rather than drawn during abnormalities.