70 likes | 208 Views
03|Prototype Implementation. Basic prototype. $30. $30. $5. 1. Get input from CharlieCard using RFID sensor. 2. Take a picture with laptop. 3. Organize and display collected pictures in grid format. Harvard Graduate School of Design | REALTIME CITIES 2014 | Ubifare | Radhya A.
E N D
03|Prototype Implementation Basic prototype $30 $30 $5 1. Get input from CharlieCard using RFID sensor 2. Take a picture with laptop 3. Organize and display collected pictures in grid format Harvard Graduate School of Design | REALTIME CITIES 2014 | Ubifare| Radhya A.
03|Prototype Implementation Prototype Flowchart Harvard Graduate School of Design | REALTIME CITIES 2014 | Ubifare| Radhya A.
03|Prototype Implementation Prototype code to be edited #include <SoftwareSerial.h> #define ADD_TAG_CODE "210014DFE309" //change this ID with your own card TAG #define DEL_TAG_CODE "210014E2BD6A" //change this ID with your own card TAG SoftwareSerialrfid = SoftwareSerial(5, 6); String msg; String ID ; //string to store allowed cards void setup() { Serial.begin(9600); Serial.println("Serial Ready"); rfid.begin(9600); Serial.println("RFID Ready"); } char c; void loop(){ while(rfid.available()>0){ c=rfid.read(); msg += c; Serial.println(msg); Serial.println(msg.length()); } msg=msg.substring(1,13); if(msg.indexOf(ADD_TAG_CODE)>=0) add(); else if(msg.indexOf(DEL_TAG_CODE)>=0) del(); else if(msg.length()>10) verifica(); msg=""; } void add(){ Serial.print("What TAG do you wanna grant access?: "); msg=""; while(msg.length()<13){ while(rfid.available()>0){ c=rfid.read(); msg += c; } } if(ID.indexOf(msg)>=0) { Serial.println("\nAccess already granted for this card."); msg=""; } else{ Serial.print("Card: "); Serial.println(msg); ID += msg; ID += ","; //Serial.print("ID: "); // Serial.println(ID); msg=""; Serial.println("Access granted for this card."); } void verifica(){ msg=msg.substring(1,13); if(ID.indexOf(msg)>=0) Serial.println("Access granted."); else Serial.println("Access denied."); } > When card is scanned change value to true. > If true, take a photo and store in specified folder. > Display collected photos. Harvard Graduate School of Design | REALTIME CITIES 2014 | Ubifare| Radhya A.
03|Prototype Implementation Mockup of installation Harvard Graduate School of Design | REALTIME CITIES 2014 | Ubifare| Radhya A.
03|Prototype Implementation Mockup of installation version 2 Cheaper and easier alternative. Using rolling boards with TV mounted on them at Gund. Front has an monitor and RFID sensor connected to a RaspberryPi A poster describing the project TV Displaying and photos of people Harvard Graduate School of Design | REALTIME CITIES 2014 | Ubifare| Radhya A.
03|Prototype Implementation Installation Flowchart Harvard Graduate School of Design | REALTIME CITIES 2014 | Ubifare| Radhya A.
03|Prototype Implementation Implementation Schedule • 4/6 – 4/12: CODE + PROTOTYPE • Edit Code • Make working prototype • 4/13 - 4/19: VIDEO + POSTER • UbiFareconcept video • Make poster for installation • 4/20 – 4/26: INSTALLATION • Collect installation pieces • Construct installation • Find location for installation • Take photos and videos of installation • 4/28: Review Harvard Graduate School of Design | REALTIME CITIES 2014 | Ubifare| Radhya A.