If it’s DC, the easiest way is to use a shunt resistor and measure the voltage across it, and for AC you could use a ... [Daniel] wanted to power his current probe with a 5V input derived ...
If you aren’t familiar with a current probe, you might enjoy Digikey’s article on the topic or Keysight’s take on it. This probe can measure AC or DC current and while the specifications don ...