Code Monkey home page Code Monkey logo

reedswitch's Introduction

ReedSwitch

Simple Door/Window contact with low quiescence current of around 5µA (according to my cheap multimeter ...). There is quite some power loss on the ESP development board caused by the regulator, serial converter and other components. However, it will only be powered for a short amount time, so it's not worth going the hard naked ESP way here.

BOM

  • ESP01
  • Attiny85
  • LiFePO4 Battery
  • 2 x 3K3 Ohm resistor
  • 410 µF capacitor
  • Reed Switch with two terminals or alternatively a normally closed reed switch.
  • 1xP-Channel MOSFET (e.g.NDP6020P)

How it works

The attiny will be turned on by the reed switch and then turns the ESP via the MOSFET on. The ESP sends the current state of the reed switch to a REST service. After sending the data, the ESP signals to the attiny to turn of the power.

Quiescence current

Around 5-10 µA with closed reed switch. Open switch will cause around 20-30 µA current (probably the closed terminal draws some current)

reedswitch's People

Contributors

danielchiaradia avatar

Stargazers

 avatar

Watchers

 avatar  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.