Lopy4 deep sleep problem
-
Is Bluetooth turned on by default? Does it need to be desalinized/turned off to save power?
-
-
@pierremarsot Yeah I saw that, I just assume d it was already off... is that not the case?
-
@tobz No. It's not disable by default. You need to called deinit function
-
@pierremarsot Very good to know, thanks for confirming :)
-
So, do you have any idea why the LoPy4 consume 80mA in sleep mode ?
-
@pierremarsot said in Lopy4 deep sleep problem:
000
Try to close the socket ( s.close ) after your "s.setblocking(False)" and check if the radio module goes to sleep.
-
Hi @pierremarsot , Actually there is no need to disable bt/wifi or Heartbeat before deepsleep, they are disabled automatically when calling
machine.deepsleepalso the LoRa modem is turned off in deepsleep.I've actually ran you code on a LoPy4 and I get an Avg current consumption in deepsleep = 27uA.
-
@iwahdan Strange ...
I'll check again the consumption tonight but i was pretty sure -
@iwahdan Sorry but i have an consumption higher (see picture)
Maybe i didn't do the right thing ...
-
Hi @pierremarsot, I cannot totally get from the picture how you setup the circuit , if you could share the circuit diagram along with pin connections I could try to test with your setup.
-
Tanks @iwahdan

Can you see clearly on this picture ?Basic circuit. Powered by a power supply (12Vdc / 3A) on 3.3V PIN
I tried on 5V PIN, i got a consumption around 65mA -
@pierremarsot , This is NOT how you power on any of pycom Devices.
Maximum voltage you can use is 5.5v and you Connect to Vin not 3.3v pin! , the 3.3v pin is actually used for supplying 3.3v output.
please use this pinout diagram as a guideline
-
@iwahdan
Ok, thanks for this issue, sorry ...I just tried with an 5.5V power supply (checked with multimeter) and i got a consumption around 63mA in deep sleep.
Same circuit, just changed power supply input and connected with 5.5v PIN. -
@pierremarsot, well it might very well be that your Lopy was damaged in some way or something got shortened , do you have another device that you can try?
-
@pierremarsot said in Lopy4 deep sleep problem:
Basic circuit. Powered by a power supply (12Vdc / 3A) on 3.3V PIN
What do you mean by that? Did you connect 12V to the 3.3V Pin? This would certainly damage the device...
-
Hi @sympatron
Yes, I connected the 12V to the 3.3V and 5V PINs ...
I thought my power supply transformed the 12V input in 5V output but after some tests, it didn't ... -
@pierremarsot that module should step down 12V to 5V or 3.3V. If your LoPy4 still works, then you probably used it fine. Only the 3.3V pin of the xxPy devies is an Input. Always power them throuh Vin.
-
@robert-hh I think you mean the 3.3V pin is an output, and one should never power the board through it?
-
@jcaron Of course!
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login