recently i'am working on a project. the project is a charger circuit. i need to measure the voltage and the current of the charger. the charger output is 5v -2amp.
i need to read the voltage and current of the charger using arduino.
is there any way to read the voltage and current?
if arduino is not compatible any other microcontrollers do the job?
give me anything helpful guys and thanks in advance