Hello,
I want to count pulses from a water meter (rain water usage meter, next step is also ultrasonic level meter).
I have working code, completely interrupt driven.
This means, pulses are detected by interrupt, after one second timer consider pulses done > connect, upload data, disconnect.
Again, completely interrupt based so no loops or things that keeps the cpu busy while waiting for an event.
Now, the current consumption is still too high (about 60 mA).
I can't use deep sleep for obvious reasons (too slow wake up and will miss pulses, pin can be either low or high when idle).
So next sleep mode is light sleep.
Can someone provide me a working example or some good advise, because i'm almost there but very stuck.
Kind regards
Power save (pulse counter) - Light sleep?
-
- Posts: 1
- Joined: Thu Jan 07, 2016 3:39 am
Who is online
Users browsing this forum: No registered users and 136 guests
Login
Newbies Start Here
Are you new to ESP8266?
Unsure what to do?
Dunno where to start?
Start right here!
Latest SDK
Documentation
Complete listing of the official ESP8266 related documentation release by ESPRESSIF!
Must read here!
- All times are UTC+08:00
- Top
- Delete all board cookies
About Us
Espressif Systems is a fabless semiconductor company providing cutting-edge low power WiFi SoCs and wireless solutions for wireless communications and Internet of Things applications. We are the manufacturer of ESP8266EX.