Page 1 of 1

Power Gy-521 and Pulsometer with GPIO

Posted: Thu Oct 03, 2019 8:54 am
by tornadijo
Hi all, thans in advance. Sorry for my bad english.

Hi have a LilyGo TTO T-BEAM board, and i'm developing a project with low power requeriments. I have a GY-521 accelerometer withMPU-6050 and a pulsometer like https://pulsesensor.com/

Problem i have is that GY-521 and Pulsometer are switched on with their leds on even on deep sleep mode of ESP32, because both are connected to VCC 5V pin of the board and that pin always output power.
I understand that is a risk use 2 digital GPIO PIN to power each device, but this devices uses very low current, around 10mA each one, perhaps board can support it. or not?

On the other hand i think is possible to make a switch with a mosfet, but i don't know how do that, and don't know if this solution is really good for save energy, or perhaps mosfet will consumpt same energy when devices connected to it are switched off.

many thanks!.

Re: Power Gy-521 and Pulsometer with GPIO

Posted: Thu Oct 03, 2019 9:42 pm
by Agree007
I have working sample with using gpio pins for both gnd and vcc on gy-561 and small lcd screen. But be carefull and test each board alone first. If your modules draw to much current it become very unstable or not working at all.