8n1 / esp8266-tiny-door-and-window-sensor Goto Github PK
View Code? Open in Web Editor NEWBattery powered door and window sensor with ultra low standby power. Arduino, ESP-12, Reed switch, ATtiny, LDO
Battery powered door and window sensor with ultra low standby power. Arduino, ESP-12, Reed switch, ATtiny, LDO
Quick question on the voltage reading part of the PCB design. Why is the voltage divider/ADC connected to LDO_ENABLE ? How does this give you a voltage reading? Shouldn't it be connected to VBAT+
Love the design overall I'm going to build a few and try a PIR variant.
Thanks for making it available. I built the v0.1 edition and used an 18650 battery, rated @ 2600mAh, (could be wrong / fake). I made the following changes:
Battery lasted 5 months with the sensor attached to the front door, the circuit stopped working with battery @ 2.3V, which exceeds the voltage regulators specifications.
I paired it with a DS90 sensor and monitored both to see how reliable each of them were, and I think for 99% of the time, both were identical. The ESP would occasionally drop a "CLOSED" signal, if open/closed happened quickly enough.
For this reason I think a watchdog timer waking up the device every x minutes, and reading the current state, would probably be a good idea.
While I had hoped for 12 months of running time, I'll need to see if the battery holds the promised capacity, and see if its possible to trim the timings to lower power usage.
Do you have any data for real-life running of your own?
Hi
Sorry i don't understand deutsch so i can't find some informations :
Great job for your very low consumption !
Connecting to a local MQTT would let it work with so many other services such as home-assistant
Thanks for sharing ,can I remove the Attiny and directly switch_input to the EN pin of the ldo, so that it is more energy efficient without the Attiny
Can I get rid of Attiny if Switch_input is a self-reset button ? My project is to use the self-reset button to remotely control the light through espnow
回复
Hallo JohsKa,
vielen Dank für
Visio-TinyDoor-and-Window-Sensor-PCB.pdf
Deine Mühe und die Veröffentlichung Deines Projektes.
Seit einiger Zeit ist gibt es wohl kaum Entwicklungen. Vielleicht kann ich dass ja ändern.
Ich glaube, dass in der v0.3 Schematic einen Feheler gefunden habe:
J7: Nicht G4 sondern G5 (.Switch_State)
G5 Durchkontaktierung: nicht G5 sondern G4
Ich häge mal mein korrektiertes Bild an.
Viele Grüß und ein frohes Fest !!!
Hardy
Hallo JohsKa,
vielen Dank für Deine Mühe und die Veröffentlichung Deines Projektes.
Seit einiger Zeit ist gibt es wohl kaum Entwicklungen. Vielleicht kann ich dass ja ändern.
Ich glaube, dass in der v0.3 Schematic einen Feheler gefunden habe:
Ich häge mal mein korrektiertes Bild an.
Viele Grüß und ein frohes Fest !!!
Hardy
Visio-TinyDoor-and-Window-Sensor-PCB.pdf
Hallo,
der Link ins deutsche RaspberryPi-Forum ist nach der Umstellung dort nicht mehr aktuell.
Ich habe ihn hier gefunden:
https://forum-raspberrypi.de/forum/thread/24097-esp8266-tuer-und-fenster-sensor-alarm-mit-sehr-geringem-standby-verbrauch-1%C2%B5a/
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.