SD card power controlled by a digital port

Hello,

I have a custom board with an ATMEGA328P and a SD card slot and I am wondering how can I cut the SD power off with one of the MCU's digital ports.

In my current design I have a LP2992 voltage regulator to convert 5V to 3V3 and then I apply this voltage to the SD. I would like this 3V3 signal to be dependent on a digital port value. For instance, if the port has the LOW value, the SD card receives the 3V3 but if the port has the HIGH value, the signal is interrupted.

I think this can be accomplished with a MOSFET but how would the schematic be?

Thanks in advance.

Doesn't LP2992 have a on/off input pin?

Why don't you use that?

sonofbear:
Doesn't LP2992 have a on/off input pin?

Why don't you use that?

Thanks for your reply.

In fact it was my first idea but unfortunately I use the LP2992 output (3V3) to supply other ICs.