Low Power operations
I would like to test running the LoPy in a power saving way. The idea is, that we put a signal on a GPIO pin, this should trigger a transmission via LoRa. I read in the product description that there is a coprocessor to enable something like that.
An extra ELP-coprocessor that can monitor GPIOs, the ADC channels and control most of the internal peripherals during deep-sleep mode while only consuming 25uA
I didn't find an example or documentation on how to make the coprocessor wake up the LoPy.
I found in the documentation though how to put the LoPy into deepsleep :-) https://docs.pycom.io/pycom_esp32/library/machine.html#machine.deepsleep
dan last edited by
rcolistete last edited by
tobz last edited by
Has there been update to this? Its an old thread but also the best one i've found on the topic.
Still nothing in the docs about this as far as I've found.
rskoniec last edited by rskoniec
According with info below it should be in the 1.6.5.b1 version
Is it possible to wake from deepsleep when a pin changes status?
@constantinos not on this release, but it will be on the next one.
We have fixed that long annoying GC bug that was causing lots of unexplainable crashes. The full change log is the following:
- Update to the latest IDF.
- Dump the registers on the stack before a gccollect.
- Allocate the mptask stack and TCB statically. This resolves all the weird issues found with threading and the gc.
- Add timeout_chars parameter to the UART constructor. https://docs.pycom.io/pycom_esp32/library/machine.UART.html#machine.uart.init
doesn't say anything about it.
But maybe next one doesn't mean the very first next one. ;)
jmarcelino last edited by
The ULP coprocessor is there physically but there's no Python interface to access it yet (there's hardly a C interface either, it's still very much under development at Espressif)
You can read about the C interface if you're interested: http://esp-idf.readthedocs.io/en/latest/ulp.html