This paper presents a particle swarm optimization (PSO) method for controlling light intensity in photovoltaic (PV) fed LED lighting systems, aiming for efficient output power regulation. The implementation involves a PV module connected to a boost converter and LED array, with real-time adjustments made via a microcontroller to optimize performance under varying conditions. Results demonstrate the method's robustness in maintaining constant power despite internal and external disturbances, making it a promising approach for energy-efficient lighting solutions.