msoon / PyMonsoon

Monsoon Power Monitor Python Library
MIT License
55 stars 23 forks source link

Different power measurement readings on different setups (Windows vs. MacOS) #42

Open nniranjhana opened 2 days ago

nniranjhana commented 2 days ago

Hi there, I'm wondering what are the reasons for 5-10mW difference when measuring power on an ESP32.

In both setups, my sampling rate is the default 5000 Hz and VOut provided is 3.35V.

The average readings I see are (consistent, repeated measurements over 5 mins on the same boot, different boots, etc are all accounted for): 259 mW on Windows GUI set up vs. 249 mW on MacOS with Python API script.

Could it be USB differences? I use USB-A on Windows, USB C to A adapter on Mac. Is it driver/software differences?

I'm trying to control as many factors as possible so measurement data is agnostic, especially when different people on the team use different setups. What do you recommend to have the most accurate data?