How to off L80 gps Quectel temporary

Please provide support; I am currently using an Arduino Pro Mini 3.3V. The Arduino is powered by a 18650 battery at 4.2V. I have connected an L80 GPS module to the Arduino. Everything is working, and there is communication, and the position is displayed. Unfortunately, I don't know how to temporarily turn off the power to the L80. The L80 has two pins—one VCC (main power supply) and a BCK_VCC pin (the backup power supply for the clock). I tried using a MOSFET (2N7000) to control the power: I connected the drain to the battery power, the gate to pin D7 for control from the Arduino, and the source to VCC of the L80, but unfortunately, the circuit doesn't work. Can someone indicate how to do this correctly?

I would like to point out that I have the power connected to VCC_BCK, and it must be connected here. The GND is also connected to the L80.

Please translate the words into a schematic. Something is clearly wrong there.

High side switch requires a logic level P channel mosfet.

You need to use a P channel MOSFET, such as the circuit below, the GPS connects to VCCOUT.

You can also cut the current consumption of the L80 to circa 1mA by sending it the appropriate software command.

Dear all, dear srnet, I really, really thank you for the support and the diagram. I have one more question – will this diagram be energy-consuming?

According to my preliminary calculations, if the system activates every 2 minutes for 5 seconds, it will draw around 1 mA (the current consumption of the L80 is around 30 mA) and 3.3V arduino.

Of course, when ON_OFF is low current will flow through R1 and R2.

Dont assume that a GPS in hot fix mode will always get a fix in 5 seconds, it might mostly do that, but then sometimes it can take 10, 15, 20 seconds or more.

Hi, thank You for Your solution. I ready did this with P mosfet and it worsk but I've decided to connect just only mosfet without R1, R2, C1. Why this elements are required for?

Without them, there can be quite a sharp current\voltage spike on the Arduinos power rails when the GPS is turned on, which can cause the brownout detector to trigger a reset.

Thank You srnet for fat replay. After longer pause - I did all schemes except capacitor and resistor and You are right the arduino is self restarting - waiting for the rest of parts and let You know about results.

Hi, Can I use analog pin from arduino to control IRLML6402 (for example pin A2)?. Can I use IRLML6402 for acc current cut for humidity and temp sensors?

Analog pins are fine to use as Digital pins. I don't remember if you need to declare them as outputs or if it works anyway.

Not sure what acc means.

You can.

You can use A2 on a Pro Mini as a digital pin.

Whether you can successfully power off and power on sensors depends on the actual sensor, there are many different types.

No idea what 'acc current' means.

I have connected two IRLML6402 MOSFETs to an Arduino Pro Mini—one to digital pin 11 and the other to analog pin A2.

The first MOSFET is connected to a Quectel module, and when its gate is high, there is no current on the drain, which seems expected. The second MOSFET is not yet connected to any sensor, but when its gate is high, I notice a small voltage on the drain (0.3V to 0.7V).

Is this normal behavior, or could there be an issue with my circuit?

Every electrical circuit should at some point consume energy, otherwise what's the point.

Your circuit should do some reading on MOSFETs :upside_down_face:

Try this: Apply voltage to one leg of a capacitor, and don't connect the other leg to GND. Now measure the voltage between the other leg and GND.

I swapped the MOSFETs between positions, as well as the capacitor and resistor, but unfortunately, there was no change. In the drawing, I included how it looks in terms of voltage.

update: I connected second mosfet (D) with additional quectel l80 gps module and voltage now is 0v but after sensor connection SHTC3 the voltage on D is 0.3v-0.7v :frowning:

That's the beauty of your finding, you expect 0 V and instead there's mV present there. Since a Gate have a capacitor between both Drain and Source, this capacitor will be charged up as soon as there's a path from Drain (in this case) to GND, and what's the path when you connect the multimeter?

But even if I remove capacitor to check V, there is the same problem with voltage on the drain.

If there is a load, as in a device thats being switched on\off on the drain, what is the measured voltage when the MOSFET is off ?