This study introduces building and operation of a wind and a solar power sources as a clean energy park. This park includes efficient wind and solar power sources that are controlled by a PIC microcontroller to manage the energy storage in batteries and the parallel connection of the system with the grid. There are 14 solar panels producing 2.5 kW in total and a 2.5 kW wind turbine installed in the system. Alternating current energy obtained from wind turbine and direct current energy obtained from solar panels are collected on the direct current bar, where the level of the direct current voltage is kept constant. A hybrid system based on microcontroller has been applied in this study to control the power flow in all directions between the wind turbine, the solar panels, the batteries and the grid.