One of the most widely used resources is electricity. However, electrical network has a serious issue of uniform distribution of electricity. This paper investigates the distributed generation systems in electrical network and proposes an interdisciplinary mechanism for effective sharing of electricity across the electrical sub-network. The proposed mechanism is based on wireless mesh network and micro-controller. The proposed system forms a wireless mesh network used to exchange information (such as current status, predicted status of electricity generators) between mesh nodes (in WMN). The information from mesh node is used by micro-controller to drive the electrical devices. The micro-controller is responsible for controlling the direction of flow of electricity and quantity of electricity to be permitted on a particular part of electrical network.