IFD:PhysicalComp2011/Dianna Mertz: Difference between revisions

From Medien Wiki
No edit summary
No edit summary
Line 14: Line 14:


http://farm4.static.flickr.com/3254/2507585112_60cc338bfb_m.jpg
http://farm4.static.flickr.com/3254/2507585112_60cc338bfb_m.jpg
 
<br><br>
[http://code.google.com/p/sserial2mobile/ <b>Code</b>]
[http://code.google.com/p/sserial2mobile/ <b>Code Example</b>]


   SSerial2Mobile phone = SSerial2Mobile(2,3); <br>
   SSerial2Mobile phone = SSerial2Mobile(2,3); <br>
   phone.sendTxt("+15555550125","Lib SMS Test1"); <br>
   phone.sendTxt("+017627700334","Remember to buy more coffee!"); <br>
   phone.sendEmail("sserial2mobile@example.com", "Lib email test1"); <br>
   phone.sendEmail("diannamertz@gmail.com", "Remember to buy more coffee!"); <br>
   Serial.print("Batt: "); <br>
   Serial.print("Batt: "); <br>
   Serial.print(phone.batt()); <br>
   Serial.print(phone.batt()); <br>
Line 36: Line 36:
Photoresistor <br>
Photoresistor <br>
Coffee can <br>
Coffee can <br>
Depleting coffee ground <br>
Depleting coffee grounds <br>


<b>Task:</b>
<b>Tasks:</b><br>
The coffee can needs to be altered / replaced so the connection from Arduino to photoresistor is possible.
<ul>
<li>Alter or replace coffee can so the connection from Arduino to photoresistor is possible.</li>
<li>Alter code so that the phone numbers alternate between roommates.</li>
</ul>