A cyanobacteria-based living biophotovoltaic (LBPV) system was developed by integrating Leptolyngbya sp. with conductive polymer-gold nanoparticle-modified electrodes for simultaneous green energy generation and herbicide detection. The photoanode was fabricated through the electropolymerization of dithieno3,2-b:2',3'-d pyrrole derivatives, followed by the incorporation of aniline-functionalized AuNPs to enhance electron transfer. Optimization of the polymer thickness, AuNP loading, and cyanobacterial concentration revealed 60 electropolymerization cycles and 450 mg/mL cyanobacteria as the ideal parameters for photocurrent output. The biocathode, modified with bilirubin oxidase, enabled efficient oxygen reduction, ensuring stability and reproducibility. To extend the experimental findings, deep learning architectures (LSTM, BiLSTM, and GRU) were employed to model and forecast chronoamperometric photocurrent dynamics. Among all tested configurations, the BiLSTM-SGDM model exhibited the best predictive performance with R2 = 0.92, RMSE ≈ 48 μA, and MAE ≈ 38 μA on the test set, effectively capturing nonlinear variations and transient response behaviors of the LBPV system. The deep-learning-based predictions closely matched the experimental measurements, confirming the capability of AI-assisted models to reproduce complex photoelectrochemical kinetics. The optimized system produced stable photocurrents under visible light of ∼1 sun (1400 W/m2) and maintained 56% of its initial activity after 50 days. As a biosensor, the LBPV exhibited remarkable sensitivity with detection limits of 1.12 nM for diuron and 9.70 nM for linuron. The integration of AI-based photocurrent forecasting with biohybrid photovoltaic design offers a promising framework for next-generation sustainable energy and environmental monitoring systems. Interference studies further confirmed high selectivity against common environmental contaminants. These findings underscore the potential of LBPVs as dual-function devices, combining sustainable energy harvesting with highly sensitive photoelectrochemical biosensing of phenyl urea herbicides in aquatic environments.
Demir et al. (Wed,) studied this question.