Emergency Button With NodeMCU
![Em_Button_Full.mp4_snapshot_05.51_[2018.09.06_02.35.59].jpg](/proxy/?url=https://content.instructables.com/FD2/DI4W/JLQUUPTL/FD2DI4WJLQUUPTL.jpg&filename=Em_Button_Full.mp4_snapshot_05.51_[2018.09.06_02.35.59].jpg) 
      Emergency Button help you to get help if there is any Emergency 
situation , just Push the button and it will post in facebook or twitter  automatically the message that you put it in the code , you can add  another button if you have a medical condition on which you should be  taken to the hospital immediately, when you press the button the message  will be posted to Facebook or Twitter, and someone of your friends will  see it , he will call the hospital .
Full Tutorial
 
      Hardware Required
 
       
      - NodeMCU
- Push Button
- 1 K Resistor
- Jumper wires
- 3.7 v Battery , or , 5 v Battery
-  Breadboard 
Connections
 
       
       
      D2 = 4 in coding .
Coding
 
       
       
       
       
      Don't forget :
* (( WiFi.begin("SSID","Password"); ))
SSID & Password = your WiFi name and password
* (( MakerIFTTT_Key ="your Key"; ))
The photos is explain how to get the key
Downloads
How to Make It Post in Twitter
 
       
       
       
       
       
       
       
       
       
       
      Go to IFTTT website and follow the photos
Making a Box
 
       
       
       
       
       
       
       
       
       
       
       
       
       
      Testing
 
       
       
       
      