Analog input(POT) is connected with the ESP32 and Coding is developed in Matlab simulink. ADC conversion is given in detail. For any type of Current sensor/ voltage sensor/ analog sensor, this model is useful
Download from MATLAB File Exchange
https://in.mathworks.com/matlabcentra...
Download Arduino code from the Drive
https://drive.google.com/drive/folder...