This document describes a system to prevent power theft using a PIC16F886 microcontroller. The system monitors the input voltage and uses a TRIAC triggered by the microcontroller to regulate the output voltage supplied to loads. It aims to limit power theft by cutting off power to loads that are illegally connected. The microcontroller calculates the firing angle for the TRIAC based on input from a zero-crossing detector and potential transformer. This allows it to stabilize the output voltage between 210-240V even when the input voltage varies from 280V to 220V. The system provides over and under voltage protection and could help reduce power theft and losses for utilities by up to 30%.