data aquisition

I have a final year project on real-time detection of faults in photovoltaic panel such as shading faults, open circuit faults, short circuit faults, and cell degradation faults, using machine learning with neural networks based on voltage, current, ambient temperature, and light data. However, I have a data problem to train my model and I am wondering how I can collect this data using an ESP32, an ACS712 30 A current sensor, a B25 voltage sensor, an LM35 temperature sensor, and an LDR light sensor


can your share a bit more about the sampling frequency of the individual sensors as this may cause the problem?

Kind Regards