Hi All,
In my journey towards running Modbus on esp32, there is one more hurdle and this is power consumption. The esp has to remain turned on in active mode to look for the master query. As my device is an IoT device, it cannot afford to provide mAs of current continuously. So, I am looking for a solution to reduce power, which is to keep esp32 stay active only when the query is received. For this, I need to turn on ESP from deep-sleep only when something is available on UART RX.
What could be the possible solution? I am working with micropython esp32 port.
Thanks in advance
UART.irq in micropython
Re: UART.irq in micropython
One method could be configuring uart wakeup (for lightsleep), however I don't see any function in micropython to enable this.
Regards.
Regards.