/
mailbox_messenger.html
114 lines (86 loc) · 6.44 KB
/
mailbox_messenger.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
<!DOCTYPE html>
<html lang="en">
<head>
<title>Mailbox Messenger</title>
<link rel="stylesheet" type="text/css" href="web.css" />
<link rel="shortcut icon" href="images/favicon.png" />
<meta name="keywords" content="mailbox, don't kill the messenger, messenger, text, alarm, system, diy, project, arduino, yun, SMS, you got mail, mail">
<meta name="description" content="A mailbox that texts the appropriate roommate of mail" />
</head>
<body>
<p class="banner">
<a href="index.html">
<img src="images/banner.jpg" width="960" height="240" alt="Sake of Making" /></a>
</p>
<a href="index.html" id="navigation1">HOME</a>
<a href="about.html" id="navigation2">ABOUT</a>
<a href="contact.html" id="navigation3">CONTACT</a>
<div id="icons">
<p><a href="https://www.youtube.com/user/sakeofmakingchannel"><img src="images/youtube.png" width="32" height="32" alt="Youtube" /></a>
<a href="https://twitter.com/sakeofmaking"><img src="images/twitter.png" width="32" height="32" alt="Twitter" /></a>
<a href="https://www.pinterest.com/sakeofmaking/"><img src="images/pinterest.png" width="32" height="32" alt="Pinterest" /></a>
<a href="http://instagram.com/sakeofmaking/"><img src="images/instagram.png" width="32" height="32" alt="Instagram" /></a>
<a href="https://github.com/sakeofmaking"><img src="images/github.png" width="32" height="32" alt="GitHub" /></a></p>
</div>
<div id="content">
<h2>Mailbox Messenger</h2>
<h3>November 19th, 2015</h3>
<p><img src="https://farm1.staticflickr.com/728/20801169143_edee4c6055_z.jpg" width="640" height="480" alt="Idle State" /></p>
<p>The Mailbox Messenger is a mailbox that texts the appropriate roommate when their mail arrives. Let's say you and your roommate
share an apartment mailbox. Retrieving the mail is usually not a joint venture so one of you probably gets their mail, leaving
the other roommates mail on the counter only for it to be discovered days later. No more! With the Mailbox Messenger, whoever
retrieves the mail can leave their roommates mail in the Mailbox Messenger, set the roommate flag, and close the lid. The
Mailbox Messenger will then alert the indicated roommate via text.</p>
<p>This project was made possible by
<a href="http://www.instructables.com/id/Washer-Dryer-Laundry-Alarm-using-Arudino-SMS-Text-/">MakerBee's instructable</a>.
We'll be borrowing heavily from their designs.</p>
<h4>Step 1: Materials + Tools</h4>
<p>Materials:</p>
<ul>
<li>(x1) Arduino Yun from <a href="http://www.adafruit.com/product/1498">adafruit</a></li>
<li>(x1) Temboo account</li>
<li>(x1) Twilio account</li>
<li>(x1) 9V, 250mA or more, 2.1mm center pin positive adapter or alternative Arduino power supply</li>
<li>(x1) breadboard</li>
<li>(x2) 10kOhm (brown black orange gold) resistor x2</li>
<li>(x1) 5mm red LED</li>
<li>(x2) SPST momentary ON pushbutton switch</li>
<li>(x5) breadboarding wire</li>
<li>(x1) mailbox</li>
</ul>
<p>Tools:</p>
<ul>
<li>Arduino IDE from <a href="https://www.arduino.cc/en/Main/Software">Arduino</a></li>
</ul>
<h4>Step 2: Setup Temboo and Twilio Accounts</h4>
<p>Begin by following <a href="http://www.instructables.com/id/Washer-Dryer-Laundry-Alarm-using-Arudino-SMS-Text-/step2/Setting-up-your-Temboo-and-Twilio-accounts/">Step 2</a> of MakerBee's instructable. Also, when validating your number, also validate your roommate's number.</p>
<h4>Step 3: Setup Arduino Yun</h4>
<p>Follow <a href="http://www.instructables.com/id/Washer-Dryer-Laundry-Alarm-using-Arudino-SMS-Text-/step3/Setting-up-your-Arduino-Yun-on-the-wireless-networ/">Step 3</a> of MakerBee's instructable.</p>
<h4>Step 4: Setup Arduino IDE</h4>
<p>Follow <a href="http://www.instructables.com/id/Washer-Dryer-Laundry-Alarm-using-Arudino-SMS-Text-/step4/Setting-up-the-Arduino-programming-environment/">Step 4</a> of MakerBee's instructable.</p>
<h4>Step 5: Assemble the Circuit</h4>
<p>Follow the below pictorial diagram and schematic to assemble your circuit.</p>
<p><img src="https://farm1.staticflickr.com/731/21287584848_780982a2f8_z.jpg" width="640" height="395" alt="Pictorial Circuit" /></p>
<p><img src="https://farm6.staticflickr.com/5631/21464397802_5cfa93c658_o.jpg" width="640" height="860" alt="Schematic Diagram" /></p>
<iframe width="640" height="382" src="https://www.youtube.com/embed/ymF9rsKk47I" frameborder="0" allowfullscreen></iframe>
<h4>Step 6: Upload the Code</h4>
<p>Connect your Arduino Yun to your computer via wifi or cable. Copy and paste the linked
<a href="https://github.com/thinklem/discreet_text_alarm/blob/master/discreet_text_alarm.ino">code</a>
into your Arduino IDE. Enter your specific Temboo Account, Temboo Application, Temboo Key, Twilio Account SID, Twilio Auth Token,
Twilio number, and personal number in the appropriate define statements. Run Verify and then Upload. Give it a test run
to make sure everything is working nicely. Adjust the waitTime and codeTime variables if necessary.</p>
<p><img src="https://farm6.staticflickr.com/5698/21465946642_4ca482a601_b.jpg" width="640" height="815" alt="Code" /></p>
<h4>Step 7: Install by the Door</h4>
<p>I taped a small wooden project box next the door to act as a shelf for the system. I also used some cork to help level the door sensor.
This is probably the easiest setup. You might want to try something else. Just remember, if you're powering your Arduino via a wall
charger, to place the system within range of a wall outlet.</p>
<p><img src="https://farm6.staticflickr.com/5668/20801171533_de7586f6e6_z.jpg" width="640" height="480" alt="Installed System" /></p>
<h4>Step 8: Enjoy</h4>
<p>Plug in your system, arm it, close the door, and invite a thief over.</p>
<iframe width="640" height="382" src="https://www.youtube.com/embed/AiSY_al6SKQ" frameborder="0" allowfullscreen></iframe>
<h4>Next Step</h4>
<p>The next step would be to add a wireless code panel and hide the Arduino Yun out of sight. This way if someone disables the code panel
the Arduino Yun can still send a text.</p>
</div>
</body>
</html>