Tag: deep sleep
-
ATtiny85, arduino-cli, interrupts; PIR-triggered wakeup example
I had a hard time getting started with ATtiny85. I ordered a few of those chips to use in a motion detector for my backyard because of its low power consumption and ability to be put into a deep sleep and woken up via an interrupt. The interrupt in this case would be a rising…
-
HowTo: Reduce sensor’s WiFi communication to use 300 times less power
The Problem Many devices with sensors spend the majority of time in deep sleep, wake up, take a measurement, communicate it over WiFi and go back to sleep. WiFi communication is typically the step that takes the longest and consumes the most battery power. How do we optimize our code to spend less time being…
-
WeMos D1 Mini/ESP8266 Pin States On/Off/Deep sleep/Low side switch
The Problem In my post about low power deep sleep for ESP8266 dev boards I ran into an issue with a low side switch where I was unable to wake up NodeMCU after the first sleep. The uptime is controlled by TPL5110 timer which has DRIVE and DONE pins. To power down ESP you signal…