I am not sure if this is the correct forum since I tend to use the ESP8266 standalone and not together with the arduino nano. However, here is what I am planning.
I have a HC-SR501 PIR sensor, which I want to use to constantly track movements of animals outdoor. I dont want to go into further details, but 10 impulses per minute are expected (max. is 30/min) except for the night maybe. I am planning to count the impulses for one hour, than send the sum to a webserver using wifi and reset the counter. For powering I want a battery/akku solution (non-negotiable). Since the input of the PIR sensor is 4.8-20V I will directly connect it to the battery (provided the Voltage is high enough like with a 9V battery) and the ESP8266, which is used as WIFI station will be connected via an AMS1117 generating 3.3V.
WIFI Router which is connected to the internet is available and several sensor systems will be used to check several areas. Basic knowledge of using AT cmds or programming with Arduino IDE is given.
Questions:
- Can the ESP8266 module count impulses during one of the sleep modes?
- Do you have a less current consumpting module in mind allowing wifi transmittance? (LoRa or the NRF Module are not an option atm, since the router has to be used)
- What kind of battery/akku would you suggest? Having sufficient voltage and capacity (mAh) and still being easy to handle?
Optimum lifetime for the beginning would be 1 month for the first prototype. Afterwards a SolarModule + Akku solution will be implemented, but the first prototype has to be finished simple and fast yet satisfying :)
kind regards