Desk Panic Button : 21 Steps (with Pictures) - radfordborre1967
Introduction: Desk Panic Button
When I was a kid my father had a panic button under his desk that was wired to call 911. While I thought this was pretty cool at the time, it later occurred to me that he had this because the neighborhood that his business was located in was a bit rough, and -- perhaps -- we were in unending danger. Nonetheless, I e'er thought the theme of having a panic release was pretty damn full-strength. Perhaps this belief stuck with Pine Tree State for so long of a clock because I was never allowed to exhort it As a kid. It was 'off limits,' and thus a very sympathetic idea.
Now that I am an adult and have a desk of my own, I resolved that I too needed a affright button. However, I find like united that calls 911 has limited purpose in my line of work, and my chance for terror was probably inferior severe. So, I definite that I needed to musical note it descending a bit. The under desk panic push button that I have created dials my own phone when it's pressed.
Of course, you may be wondering why connected Earth I would want to song my own headphone. Reckon of this way -- an annoying coworker walks over to your desk with the intention of locking you into a yearlong dull ad-lib group meeting. You have nowhere to flow from; nowhere to hide. At that place is solely one way to exit of this -- you need something more important to do. Perhaps now you can take in how a twist that places a call to yourself may come through in extremely useful. If you still can't consider it, show this; Your phone rings. You explain that you need to take this important promise. In point of fact, this is going to take a while. You will need to continue this conversation afterwards. Crisis averted thanks to the Desk Panic Button.
Step 1: Give out Get Stuff
You will need:
(x1) Arduino Uno
(x1) GPRS cuticle
(x1) SIM posting
(x1) CR1220 mint battery
(x1) Momentary push switch
(x2) 1/8" mono jacks
(x1) 1/8" male to male single-channel cable television service
(x1) Power jack
(x1) Power cud
(x1) 1" x 2" x 3" protrude enclosure
(x1) 2" x 2.5" x 5" project enclosure
(x1) 9V power supply
(x1) 12" x 12" x 1/8" acrylic shrou
(x2) 1" x 6-32 woods screw
(x1) 1" x 4-40 nut and bolt
(Please tone that some of the golf links along this varlet contain Amazon affiliate links. This does not change the price of any of the items for sales agreement. Withal, I bring in a small commission if you click happening any of those links and buy anything. I reinvest this money into materials and tools for future projects. If you would like an alternate trace for a provider of any of the parts, please let Pine Tree State cognize.)
Step 2: Prep the Shield
Plug the CR1220 battery into the socket on the GPRS carapace, and insert the SIM card.
Step 3: Insert
Insert the GPRS shield into the Arduino.
Ill-use 4: Drill
Drill a 1/4" hole centered and the 1" x 2" side of the smaller project box.
Drilll a 1/2" hole central on the other 1" x 2" side of meat.
Step 5: Pushbutton
Slip in the pushbutton into the 1/2" hole and fasten it in place with its climb nut.
Step 6: Jack
Inset the 1/8" jack and fasten it into home with its mounting nut.
Step 7: Recitation
Put the Arduino and GPRS shield into the large 2" x 2.5" x 5" protrude envelopment. Form a mark on the away of the project enclosure more or less where the antenna jack is on the opposite wall. Recitation through this mark with a 1/2" drill bit.
On the opposite side of the projection box, bore a 1/4" hole connected the center face for the 1/8" jacklight.
Drill another 1/4" hole right around the corner on the 5" x 2" boldness of the inclosure for the power jack.
Step 8: Attach
Insert a 1/8" Jack-tar into the 1/4" trap that has been drilled heart in the 2" x 2.5" face of the larger project enclosure. Fasten it firmly in put with its climb nut.
Insert the M-typewrite power jack into the other 1/4" jam and fasten it in plaza with a climb nut.
Step 9: Solder
Solder a red wire from same of the solder lugs on the pushbutton switch to the signaling terminal on the 1/8" jack.
Solder a black wire from the other solder Lug of the pushbutton switch to the flat coat period on the 1/8" jack.
Ill-trea 10: Connect Wires
Solder a 6" opprobrious wire to the ground terminal connected the M-type top executive socket, and a 6" bolshy wire to the signal terminal.
Solder a 6" black wire to the ground terminal on the 1/8" jack.
Solder a 10K resistor and a 6" red wire to the signal terminal on the 1/8" jack.
Finally, solder a 6" fleeceable wire to the other side of the 10K resistor.
Ill-use 11: Power Secure
Take apart the M-type chew and slide the casing onto the red and clad wire.
Solder the red cable to the plug's wind terminal, and the black wire to the plug's barrel terminal.
Bon the casing back onto the plug.
Ill-use 12: Program
Computer program the Arduino with the following cipher:
<pre> /* Desk Panic Button past Randy Sarafan For Thomas More selective information please visit: https://www.instructables.com/id/Desk-Panic-Clit/ Code in the Public Domain */ //includes requisite libraries #include <SoftwareSerial.h> #include <String.h> //establish virtual ordered port for shield SoftwareSerial mySerial(7,8); // the number of the pushbutton personal identification number const int buttonPin = 2; // the state of the button: int buttonState = 0; //setup serial and pin states void apparatus() { mySerial.begin(19200); // the GPRS baud rate Asynchronous.begin(19200); // the GPRS baud pinMode(buttonPin, Stimulation); //engage the shield powerUpOrDown(); delay(500); } nullity loop() { //checks to see if there is cause for panic panic(); //looks to see if the GPRS shield is communicating if (mySerial.acquirable()) Ordination.write(mySerial.learn()); } ///DialVoiceCall ///this function is to dial a voice call avoid panic(){ //get the prevalent state of the panic button buttonState = digitalRead(buttonPin); //checks to look if the panic button is pressed if (buttonState == HIGH){ //calls phone enumerate //replace with your own phone number //if in the US, keep the 1 in the front //otherwise replace the 1 with your body politic code Serial.println("HELLO"); mySerial.print("ATD14155551212;\r"); delay(1000); } } void ShowSerialData() { while(mySerial.available()!=0) Serial.write(mySerial.translate()); } void powerUpOrDown() { pinMode(9, OUTPUT); digitalWrite(9,LOW); delay(1000); digitalWrite(9,HIGH); delay(2000); digitalWrite(9,LOW); postponement(3000); }
Step 13: Wire It Up
Insert the M-type plug into the power input on the Arduino.
Connect the green wire wire to the 5V socket on the GPRS shield.
Link the dark-skinned wire to the land socket on the GPRS shield.
Connect the red wire to peg 2on the GPRS shield.
Whole step 14: Attach the Antenna
Thread the antenna onto the GPRS cuticle through the fix in the project box.
Step 15: Causa Closed
Close the case on the jut out box with screws.
Step 16: Cut
Cut a firearm of 1/8" acrylic using the betrothed template.
The undiversified black area more or less the center hole should be etched down 1/16".
Step 17: Drill
Drill a 1/8" hole in the snapper of the 3" x 2" side of the smaller project box.
Step 18: Attach
Place the climbing bracket retributive shy of the butt of the desk and use the two outer holes to make marks for oil production.
Practise these marks using a 3/32" drilling bit.
Place the 4-40 nut into the etched portion of the snapper hole and then firmly mount the acrylic bracket out to the desk with 6-32 wood screws.
Step 19: Mount
Place the open march of the smaller cast box around the 1/8" acrylic paint bracket.
Tighten it in place with 1" bolt.
Step 20: Power
Plug the 9V power adapter into the power jackass installed in the larger project enclosure. Place this building block somewhere inconspicuous.
The whole system should now represent active.
Pace 21: Use
Wait until an discarded conversation presents itself, and and so DON'T Scare!
Discretely press the button, and courteously excuse yourself when the phone rings.

Did you find this useful, fun, or entertaining?
Follow @madeineuphoria to see my latest projects.
Be the First to Share
Recommendations
Source: https://www.instructables.com/Desk-Panic-Button/
Posted by: radfordborre1967.blogspot.com
0 Response to "Desk Panic Button : 21 Steps (with Pictures) - radfordborre1967"
Post a Comment