Using the transfer matrix approach, we investigate theoretically the absorbance, transmittance, and reflectance through one-dimensional CH3NH3PbI3 perovskite-based photonic crystal at room temperature. In our proposed structure, a monolayer MoS2 film is embedded between two CH3NH3PbI3 layers. We found that, the presence of monolayer MoS2 film increases the absorbance in longer wavelengths $$(\lambda > 600\begin{array}{*{20}c} \, \, {\rm nm} \\ \end{array} ).$$
(
λ
>
600
nm
)
.
With increasing the number of periods, absorbance increases in most wavelengths of the incident light. It was shown that, by controlling the number of periods, the absorbance coefficient can be tuned according to the wavelength and angle of incident light. Furthermore, for incident light with longer wavelength, the absorbance, transmittance as well as reflectance versus thickness of the perovskite layer have an oscillatory behavior, and with increasing the number of periods this oscillatory behavior becomes more obvious and prominent. For the incident light in the infrared region, by increasing the number of periods the absorbance as opposed to the transmittance increases for different incidence angles. While, the reflectance coefficient first shows oscillatory behavior by increasing the number of periods, then with a further increase in the number of periods it reaches a constant value. The proposed structure can be useful for optoelectronic and optical devices. Such as improving the efficiency of solar cells based on the hybrid inorganic–organic perovskites and infrared sensor system.