Search for a command to run...
We investigate the defect-dependent electronic structure and gas-sensing potential of cubic α-CsPbI<sub>3</sub> using first-principles density functional theory and nonadiabatic molecular dynamics. Among the intrinsic defects, interstitials, vacancies, antisites, and switches studied, the I<sub>Pb</sub> and Pb<sub>I</sub> antisite defects exhibit transition energy levels near the middle of the band gap, thus functioning as deep traps. Short-term adsorption of ammonia selectively modifies the electronic structure, coordinating with Pb at Pb<sub>I</sub> sites and Cs at I<sub>Pb</sub> sites, significantly altering recombination pathways. Detailed analysis reveals that NH<sub>3</sub> reduces anharmonicity at I<sub>Pb</sub> defects, enabling enhanced recombination at elevated temperatures, while trap-assisted recombination dominates at room temperature. Other analytes, including CH<sub>3</sub>NH<sub>2</sub> and NO<sub>2</sub>, show negligible impact on the band gap or recombination dynamics, highlighting the potential selectivity of NH<sub>3</sub> interactions. Ab initio nonadiabatic molecular dynamics simulations at 300 K and 600 K further demonstrate temperature-dependent modulation of carrier lifetimes, with NH<sub>3</sub> accelerating recombination at ambient conditions and suppressing certain pathways at higher temperatures. These findings suggest that α-CsPbI<sub>3</sub> can serve as a selective and sensitive ammonia sensor over a broad temperature range and offer insights for ammonia detection under industrially relevant conditions.