Extra current draw on power up

Hi All!
I have a question which I can't find the answer on the internet. This forum always seems to be the font of all knowledge so I'd be really grateful if anyone could offer any insight.
I am measuring the current draw from my accelerometer/gyroscope MPU6050 module, connected to an arduino Uno.
The datasheet says the typical current drawn when the module uses the accelerometer+gyro+DMP (digital motion processor) is 3.9mA - see picture.

When I load a program for the first time, my measured current is 5.2mA. However if I unplug then plug the module back in, the current drops to 2.8 to 3.2mA. Why is this?
Moreover, if I use a different library, the current draw is different. For example I changed the program, still utilising the accelerometer+gyro + DMP, and the initial current draw was again 5.2mA. But after unplugging then plugging the module back in, it dropped to 1.56mA. Should different programs draw different currents?
Any info or experience on this would be awesome.
Thanks!

I2C is not hot-plugable.
Strange things can happen when you do, like lock-ups or even permanent damage to the chip.
That current draw probably does not include pull up resistor current.
Is your sensor in a working state after disconnecting and reconnecting?
That datasheet is likely for a genuine chip, not for a fake/clone/reject on a board from the far east.
Leo..

Hey thanks for the reply
So your saying I should take the 5.2mA as the operating current for my module (whether it be fake or not)?
If the datasheet value does not include the pull up resistors, how would these affect the current drawn during operation?
I got the module from dollatek on amazon.

They don't. But if you are connecting the 3.3V sensor to a 5V processor without using logic level shifters, all bets are off. Neither may survive that treatment for long.

The MPU-6050 was discontinued years ago, so you have some sort of clone. The data sheet specs for the original won't be of much value.

It could be polling at a different rate, asking for more information, turning on/off different functions, etc.

Where would the level shifters go? Would they be used between the SDA/SCL pins of the arduino uno and MPU6050- which currently are directly connected? My MPU6050 is currently being powered by 3.3V stepped down using a voltage regulator from a Battery.
Thanks

This makes sense thankyou!

3.9mA is the typical current draw, not the minimum nor the maximum.

Correct. This one is a good choice: https://www.sparkfun.com/products/12009

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.