Power Gy-521 and Pulsometer with GPIO

tornadijo
Posts: 1
Joined: Thu Oct 03, 2019 8:30 am

Power Gy-521 and Pulsometer with GPIO

Postby tornadijo » Thu Oct 03, 2019 8:54 am

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!.
Attachments
IMG_20191003_001212.jpg
IMG_20191003_001212.jpg (196.15 KiB) Viewed 3389 times

Agree007
Posts: 103
Joined: Mon Sep 18, 2017 7:11 pm
Location: Copenhagen

Re: Power Gy-521 and Pulsometer with GPIO

Postby Agree007 » Thu Oct 03, 2019 9:42 pm

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.

Who is online

Users browsing this forum: Bing [Bot] and 45 guests