ESP8266 - Door and Window Sensors - ESP8266. Elderly Assistance (forgetfulness)
by Olinto Godinho OLGOROFI in Circuits > Arduino
597 Views, 1 Favorites, 0 Comments
ESP8266 - Door and Window Sensors - ESP8266. Elderly Assistance (forgetfulness)
ESP8266 - Door / window sensors using GPIO 0 and GPIO 2 (IOT). It can be viewed on the web or on the local network with browsers. Also visible through the "HelpIdoso Vxapp" application. Uses a 110/220 VAC supply for 5Vdc, 1 relay / voltage reduction kit / ESP8266 socket and mechanical pressure switches.
If you need the sketch (.io), contact me. The name of the door or window must be placed on the drawing to be engraved. Reading of switchies is almost immediate.
ATTENTION: To connect or reset the circuit (source or reset), we need to keep the contacts open (doors closed), otherwise, when resetting, it will the ESP8266 circuit enter the recording mode.
Supplies
01 plastic box
01 ESP8266-01 circuit
01 Voltage regulator 3.3 VDC LM 1117 or similar
02 electrolytic capacitor 10 microFarad x 25 vcc or similar
01 Power supply 110/220 VAC - 5 VDC 250 mA
Mechanical sensors for doors and windows
02 resistors of 3k3 ohms / 1/4 watt (polarize GPIO 0 and 1)
miscellaneous yarns
Various bolts and nuts
To install the circuit I used a old and used window alarm container (imported), emptying it and adapting the ESP8266 with the inputs and outputs
I prepared the output of the 110/220 VAC, 5 Vdc power supply (can be used to charge smartphones) with the 3.3 volt regulator to power the circuit.
Connect all switches to the GPIO pins (0 and 2) and you can use 1 Kohms resistors in series and 3k3 ohms connected at +3.3 VDC.
Installing Port Sensors (2 Units) for GPIO 0 and GPIO 2
The sensors are interrupted normally closed, when pressed by the doors, have open contacts, are NOT sent ground (-) to the GPIO.
2-pole mechanical switches that have normally closed contacts (NC) are ideal (washing machines, garage gates, etc.).
I made an Android application (HelpIdoso V.X) to view the status of doors and windows. The visualization can also be done through browsers in internet or local area network (LAN), directing to the IPs and ports of each sensor.
If you want the sketch of this ESP8266 used, contact me and I will send it to you.