In this project we are reading ADC values for current and voltage and displaying them on terminal. For current measurement we are using ACS712 module of desired rating. For voltage measurement we have created simple voltage divider using potentiometer. Potentiometer is set to give 4.8 VDC when connected to 24VDC source. Here ADC is configured in free running mode to give interrupt when change is observed by MCU.
Below is the link to video of simulation carried out on proteus.
https://drive.google.com/file/d/1Zf3I25dZQGqJa4EwPgslF01MmUlcQ17r/view?usp=sharing