Giter VIP home page Giter VIP logo

window-door-sensor-version-5's Introduction

Window-Door-sensor-Version-5

I have found an error in the BOM file for the PCBA, U4 has the wrong LSC part number against it, I will correct the file ASAP

The file has now been corrected 8/11/22

*** "Window sensor V5.zip" file added with all the files required for PCBA at JLCPCB.com previous files removed.

Version 5 of the Window/Door sensor project this time with ultra low current consumption and a button input. 20220325_195626 I have continued to develop the original window/Door sensor from the Youtube video of Makermeik (https://github.com/MakerMeik) and this is the latest version (version 5) At each revision I've tried to reduce the power consumption more and more and with this version the Quiescent current with the Door/Window shut is a around 5.4uA and with the door open or using as a WiFi button (Doorbell etc.) then it's around 3.9uA and depending on usage you're looking at years of usage on a small capacity L-ion cell.

The trigger logic is essetially the same as the the original version except the output from the two XOR gates is inverted to give a high pulse and return to Low when stable, this enables the output to trigger the input of an OR gate which self latches to keep the enable pin of the SPX3189 LDO high and the ESP module powered up.

When the ESP has finished running its code it sets GPIO16 low which resets the OR gates latch and powers off the LDO.

To keep the power on time as short as possible I'm using ESP-NOW to send the data packets to the ESP receiver but you could connect to your router and send MQTT messages, this would use more power but as the consumption is quite low the cell would still last quite a long time.

It has been pointed out to me that there are dedicated ICs out there that can handle this sort of thing, wake up from a button at least, but I can't find them readily available and the ones I can find are quite expesive, more than the cost of a populated Version 5 PCB from JLCPCB anyway.

NOTE:

It has been mentioned in the issues that my TX/RX labels are non standard, this is true the pin labelled TX is connected to the RX of the ESP and vice versa.

I do this so when I plug in my flasher board the label match.

window-door-sensor-version-5's People

Contributors

gadjet avatar sbelongie avatar steelsparky avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.