This repo demonstrates how to work with an Arduino's PWM outputs in a clean programmer-friendly way. It packages all the low-level interaction with timer clocks that underly PWM functionality, ...
The MAX471 is an older current sensor which can handle up to 50 Watt, with a maximum of 25 Volts or a current of 3 Amperes. It is officially not supported any more however there are still many for ...