QTPy enabling sleep mode
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- ken500
- Posts: 5
- Joined: Fri Sep 24, 2021 3:05 pm
QTPy enabling sleep mode
I need help in how to put the QTPy into the sleep modes, I have not found any guide or help on how to do this. I have watched the video many times where you put the device into two sleep modes and measured the current, but I cannot find out how you did it. I am working on an IOT device where the QTPy is the main processor on a transmitter and it is doing a good job but the battery runs down while the device is not active. I need to sleep it when it is not detecting a problem. We are also using the pico boards as part of the system and can sleep it when it is not in use but the QTPy is different. Can you give me some guidance on this feature?
- dastels
- Posts: 15662
- Joined: Tue Oct 20, 2015 3:22 pm
Re: QTPy enabling sleep mode
Which QtPy amd which programming language?
Dave
Dave
- ken500
- Posts: 5
- Joined: Fri Sep 24, 2021 3:05 pm
Re: QTPy enabling sleep mode
nguage is Micro Python
- ken500
- Posts: 5
- Joined: Fri Sep 24, 2021 3:05 pm
Re: QTPy enabling sleep mode
sorry the QTPy is RP2040 and the language is Micro Python
- dastels
- Posts: 15662
- Joined: Tue Oct 20, 2015 3:22 pm
Re: QTPy enabling sleep mode
I found this https://ghubcoder.github.io/posts/deep- ... cropython/ which might help. CircuitPython has builtin sleep support. See this: https://learn.adafruit.com/deep-sleep-w ... cuitpython.
Dave
Dave
Please be positive and constructive with your questions and comments.