I’m not sure how to measure power, I presumed I could code that on the Pi
Look at the ‘Learn’ section. Although the examples use the ATMega328P or Arduino Uno, the principles and the maths are the same whichever processor you use.
Thanks for this, I appreciate