@strixx actually a have a similar problem but my OpenHab sends random notifications maybe every 2 days that motion was detected but i didnt debug yet. Whatever .. do you power your PIR with 5v ? With 3.3v for sure this will happen.
Posts made by ahmedadelhosni
RE: PIR started reporting motion every 20 minutes [SOLVED]
RE: Unknown battery drain
Actually @tbowmo i was asking about bootloader because I have opened another thread reagrding a problem where my node stops working sometimes when i use 1 Mhz. So i was asking what would it be the problem ? And what booloader + power supply technique do people use.
RE: Door Sensor hangs up after some time (bootloader issue)
Any updates here please ?
Door Sensor hangs up after some time (bootloader issue)
I recently was testing different boatloaders for Door sensor. I use 2x AAA batteries for my test.
First one which caused the problem was : APM Optiboot internal 1MHz noBOD 9600baud
apm96.name=APM Optiboot internal 1MHz noBOD 9600baud apm96.upload.tool=avrdude apm96.upload.protocol=arduino apm96.upload.maximum_size=32256 apm96.upload.speed=9600 apm96.bootloader.tool=avrdude apm96.bootloader.low_fuses=0x62 apm96.bootloader.high_fuses=0xde apm96.bootloader.extended_fuses=0x07 apm96.bootloader.path=optiboot_v50 apm96.bootloader.file=atmega328_1a.hex apm96.bootloader.unlock_bits=0x3F apm96.bootloader.lock_bits=0x2F apm96.build.mcu=atmega328p apm96.build.f_cpu=1000000L apm96.build.core=arduino apm96.build.variant=standard
Then I changed to :- ATmega328 on a breadboard (8 MHz internal clock)
atmega328bb.name=ATmega328 on a breadboard (8 MHz internal clock) atmega328bb.upload.protocol=arduino atmega328bb.upload.maximum_size=30720 atmega328bb.upload.speed=57600 atmega328bb.bootloader.low_fuses=0xE2 atmega328bb.bootloader.high_fuses=0xDA atmega328bb.bootloader.extended_fuses=0x05 atmega328bb.bootloader.file=ATmegaBOOT_168_atmega328_pro_8MHz.hex atmega328bb.bootloader.unlock_bits=0x3F atmega328bb.bootloader.lock_bits=0x0F atmega328bb.build.mcu=atmega328p atmega328bb.build.f_cpu=8000000L atmega328bb.build.core=arduino:arduino atmega328bb.build.variant=arduino:standard atmega328bb.bootloader.tool=arduino:avrdude atmega328bb.upload.tool=arduino:avrdude
The first one has BOD at 1.8, and I read here in the forum that Atmega328p behaves strange when set to this value, although I read also that lots of people sees this a good practice to increase node life time.
Problem till now is solved when I used the second bootloader.
My question is:
- Did anyone face this issue ?
- Which bootloader fuses do you use for sleeping nodes ? WDT disabled ? No BOD ? or do you enable them ?
- What battery types do you use ?
Please share your experience.
RE: 💬 Multi-Sensor: Temp/Humidity/PIR/ Leak/Magnet/Light/Accel
@neverdie how do you connect thr two Cr batteries ?
Another question ? I read in another comments that you need 100-200 uF capacitor so that the radio can work since thr CR battery wont be strong enough. Did you add this ?
RE: 3V battery for door sensor node.
Good topic. I have been lazy since a month to ask the same question regarding best batteries do people use for battery powered nodes ?
I have thought of using AAA batteries but I really do not know which categories do I go with. Lithuim or Alkaline ?
If you check this link https://d2ei442zrkqy2u.cloudfront.net/wp-content/uploads/2016/03/MN2400_US_CT1.pdf
You find that the Alkaline battery can operate till it reaches 1.0 v for more than 1200 service hours. So two in Series will give me 2v which are still above 1.9 for the atmega and nrf to run.
But also if you check lithuim batteries.
It also operates for 1200 service hours at 1.4v before the battery dies quickly.
My question. Why would I choose a more expensive option (which is Lithuim) although I can use the Alkaline which is much cheaper and may be half the price ? Will the performance is better with steady voltage using lithuim ?