Progress report on my PComp Final. After collecting all the necessary hardware, we began setting up our system. Show below is our Arduino Yun, connecting the RFID card reader and Adafruit thermal printer.
The card reader reads an NYU ID on bump, sending the card number to Arduino. Arduino then generates a barcode receipt with that card number printed below. For our final product, the student email (Or name, if we get that information) will print below the barcode for easier identification, and the barcode itself will print on a sticker, not receipt.
First successful receipt & number printout.
At the moment, the project stands like this: The card reader gets the RFID number from a scanned card. A Processing sketch, acting as our communication hub, displays confirmation or error messages based on the scans. Taking the card number from Arduino, Processing saves a .csv file of the number from each scan, and automatically uploads it through FTP.
The screenshot below shows the next step: Processing will signal a PHP file to run, which will read the .csv file, and check it against a column for Card Numbers in the database. A file is sent back to Processing showing whether the number was present or not. Depending on the answer, Processing will offer different prompts to the user.
What remains is a lot of PHP work (Which I am learning on the go), refining our Processing order of operations, and visuals (Not to mention fabrication of a casing to mount on the wall). Ideally, we could even have a real-time display of students with food in the refrigerator. With 10 days left until the project is due, I think we are on track.