|
|
(37 intermediate revisions by 2 users not shown) |
Line 1: |
Line 1: |
| In my WG, my flatmates and I take turns buying the coffee grounds. Sometimes this becomes confusing, as there are three of us, and the person who is next in line to buy coffee is not necessarily aware that the coffee supply is low.
| |
|
| |
|
| I'd like to develop a system that ensures that our WG is always supplied with enough coffee. Using Arduino and a photoresistor, I propose to install a sensor inside the coffee ground that will send a reminder SMS to the next person in line as soon as the coffee levels are low.
| |
|
| |
| [[File:Coffee03.jpg|500px]]
| |
| <br>
| |
| [[File:Coffee04.jpg|500px]]
| |
|
| |
| http://farm5.staticflickr.com/4053/4473164605_99c7a30b21.jpg
| |
| <br>
| |
| Above image source: Flickr user iDecrease
| |
| <br><br>
| |
| <b>Setup</b><br>
| |
|
| |
| http://farm4.static.flickr.com/3254/2507585112_60cc338bfb_m.jpg
| |
|
| |
| [http://code.google.com/p/sserial2mobile/ <b>Code</b>]
| |
|
| |
| SSerial2Mobile phone = SSerial2Mobile(2,3); <br>
| |
| phone.sendTxt("+15555550125","Lib SMS Test1"); <br>
| |
| phone.sendEmail("sserial2mobile@example.com", "Lib email test1"); <br>
| |
| Serial.print("Batt: "); <br>
| |
| Serial.print(phone.batt()); <br>
| |
| Serial.println("%"); <br>
| |
| <br>
| |
| Serial.print("RSSI: ");<br>
| |
| Serial.println(phone.rssi());<br>
| |
|
| |
|
| |
| <b>Equipment:</b>
| |
| <br>
| |
| [http://www.sparkfun.com/products/9607 Cellular Sheild] <br>
| |
| SIM card <br>
| |
| Antenna <br>
| |
| Arduino <br>
| |
| Photoresistor <br>
| |
| Coffee can <br>
| |
| Depleting coffee ground <br>
| |
|
| |
| <b>Task:</b>
| |
| The coffee can needs to be altered / replaced so the connection from Arduino to photoresistor is possible.
| |