In deep Sleep the cunsumption is below 19µA, but i have to send with PA_MAX. On some Windows the open/close frequency is verry high, so the battery is to fast emty.
The CR2032 is good, but i want more "lifetime"
Yes the consumption is still at 19µA, but while sending it increase up to 100mA. The Standby Time is depends on the interval of open/close Windows. For me it was not really ennoth (2-3 month), so i redesigned this Project.
Just look in my Projects -> Door/Windows AAA
Insert an delay between sends will help to refresh the load in the capacitor. I prefer to wait for 100ms before send a new message. And increase the capacitor. My Sensor (not battery) works fine until -15°C.
Look at my node: I used HW-Debounce and deep sleep.
I was a little bit bussy the last days.
My Nodes are completed installed right now, it works well. BUT, i had to change some thinks.
I had the Probleme of automatic reset of the device if i set the shutter to 50% or anythink else 0% or 100%.
The Diode alone dont solve these Probleme. I think the Problem is to stop the shutter while running. If i set it to 100% or 0% the shutter shut of before the relay falls down.
I solve the Problem with a 220uF Capacitor at the 3.3V Out and deactivate the BOD.
My Fuses right now: L: CF // H:DA // E:07
Now it works very well!!
@Fabien: I dont change the amp . . i just tested some thinks but it wont work . . for i dont use the current messurment and setup the Node with the manual endstop. It works realy good!
Finaly again, Thanks @scalz
The Temp. of the devices is below 30°C
In the picture the green temp.
@Alex-B-Goode Yes this is the Way. If you dont like to disconnect the Gateway from Pi you Can use my procedure was i wrote some posts before. If the nodes discovered One time you dont need to wait again. MYScontroller save the discovered nodes.
For OTA Update under Rpi i used this: http://www.virtualhere.com/
vhusbdarmpi2 -> for Pi2 only (see homepage for other platforms)
sudo chmod +x ./vhusbdarmpi2
now you have to reboot your rpi, stop virtualhere server its not enoth, cant mount device again. After restart everythinks works well.
Dont Care its cool. Zenner its not enoth but dont worry. I need it .. the nrf is verry "female" (sensible). But i think for both version, you have to modify the current messurment. No Roller shutter has >200w so u are on the Limit below 100w of adc scale.
But hey it Works and your Layout is verry cool and Safe.