Window-Door-sensor-Version-5 icon indicating copy to clipboard operation
Window-Door-sensor-Version-5 copied to clipboard

Suggestions to reduce cost/consumption

Open Roshi9 opened this issue 2 years ago • 1 comments

Hello gadjet,

not knowing any other way to contact you i am going to use the issues function. I think that price-wise using jumpers instead of buttons (which i found being quite pricey) can further reduce the overall cost. This being said, in your BoM you do not include the battery connector, which imho should be there.

Also, as a further project developement i think it would be possible to:

  • create a PIR motion sensor with the same principle of this door sensor, changing very little in the schematics
  • use esp32 to lower power consumption, given the light sleep is used. Find an energy consumption comparison between esp8266 and eps32 here: https://blog.voneicken.com/2018/lp-wifi-esp-comparison/ I am no expert nor professional, just used to work a bit in the industry and love tinkering with diy electronics so feel free to correct me if i am wrong.

Roshi9 avatar Jan 30 '23 13:01 Roshi9

Hi Roshi9, No problem, I have to admit I wasn't really to concerned with the overalll cost of a board as when ordering as a PCBA the cost of the buttons was only a few pence, if you order them from ebay to build your own then they will be a bit motre expensive. I didn't include any through hole components in the BoM as it was used for the PCBA order and the battery connector was through hole so I could use some I already had or use wires to connect to a cell.

  • As for the PIR, you can probably use one of these https://learn.adafruit.com/pir-passive-infrared-proximity-motion-sensor and feed the trigger signal into the switch input to trigger the Power-up of the circuit, not sure if there would be any timing issues?
  • The ESP power consumption doesn't matter as the whole ESP is powered down when not triggered, the only current consumption between triggers is the quiescent of the LDO and monitoring logic, around 4 - 5uA.

I hope you are succesful at getting it working and please continue to give feedback and make suggestions :-)

gadjet avatar Jan 30 '23 17:01 gadjet