NFC Lock Log

From ESE205 Wiki
Jump to navigation Jump to search

[to project page]

Week 01/28/18 - 02/04/18:

- 01/29

  • Kai - Finalizing the wiki proposal, determining viable parts online - 1.5 hrs

- 02/01

  • Kai and Nikki - Completing rough design schematic, divvying up work - 1 hr

- 02/02

  • Nikki - Creating Gantt chart - 1 hr

Week 02/05/18 - 02/11/18:

- 02/05

  • Nikki - Updating Gantt chart and Wiki Log - 1 hr
  • Kai - Adding links to project parts list - 0.5 hrs

- 02/06

  • Kai & Nikki - Making preliminary Google Slides deck for early presentation - 2 hrs
  • Kai & Nikki - Ordered parts - 30 min
  • Kai - Flashed Photon with new Firmware - 30 min

- 02/08

  • Kai & Nikki - Finalizing Slides for presentation - 30 min
  • Kai & Nikki - Rehearsing presentation - 30 min

Week 02/12/18 - 02/18/18:

- 02/15

  • Nikki - starting work on iOS app - 1 hr
  • Kai - starting work on Particle webhooks - 2 hrs

- 02/17

  • Kai - reordering parts (lost in mail...) - 30 min
  • Kai & Nikki - writing test code on Photon that mimics presence of functional NFC reader - 3 hrs

Week 02/19/18 - 02/25/18:

- 02/19

  • Nikki - reordered NFC shield - 0.25 hrs

-02/21

  • Nikki - created deliverables chart - 2 hrs

-02/22

  • Kai - retrieved NFC shield - 30 min

-02/23

  • Kai - additional work on webhooks and native Particle code - 3 hrs

-02/24

  • Nikki - worked on iOS/HTML app: changed from Xcode to modular HTML site for ease of use with particle - 1.5 hrs

Week 02/26/18 - 03/04/18:

-02/28

  • Nikki & Kai - began CAD work on enclosure + basic wiring/design schematics - 3 hrs

-03/03

  • Nikki & Kai - soldered NFC Breakout Shield - 1 hr

-03/04

  • Nikki & Kai - wired Breakout board to photon & debugged - 3 hrs

GIF of result: https://giphy.com/gifs/63LRFYyWd2RziTY8oN The breakout board is now properly communicating with the Particle Photon. The device can now read information from NFC tags (such as their UID and info from their EEPROM). Next step: get the breakout board to emit a signal that does not make the iPhone think it's talking to an Apple Pay terminal. Note: the iPhone is actually showing up as an NFC tag, but does not behave as expected.

Week 03/05/18 - 03/11/18:

-03/06

  • Nikki - worked on Particle webhooks and integration with console for debugging - 2 hrs
  • Kai - switched to larger breadboard to accommodate OLED display, servo, NFC shield, and Particle - 1 hr

-03/08

  • Kai - got the iOS app to prevent Apple Pay from taking over when NFC shield is detected - 2 hr

Week 03/12/18 - 03/18/18 (SPRING BREAK - NIKKI OUT OF TOWN, KAI TAKING CLASS @ WASHU):

- 03/14

  • Kai - burned out servo motor (might have reversed polarity - not really sure what went wrong...). Ordered a new one. - 1 hr

- 03/16

  • Kai - finalizing wiring schematics for final product and researching into ways to attach the servo to deadbolt without too much deadbolt modification. Current options include: custom deadbolt inner plate (difficult but possible), or a larger enclosure that slips on top of an existing inner deadbolt (which can cause issues if the deadbolt knob is not standard). Need to do more research and check out similar DIY projects online - 3 hrs

- 03/17

  • Kai - worked on enclosure CAD design in CAD lab. Need to figure out a more accurate way to measure the components (will use the digital ruler most likely) - 2 hrs

Week 03/19/18 - 03/25/18:

-03/20

  • Nikki & Kai - Review post spring break. Working out particle functions - 1.5 hours

- 03/22

  • Nikki- began working on converting HTML app to Swift app, and connecting with Particle IO - 3 hrs

-03/24

  • Nikki- finalized v1 of app. Demo below - 2 hours

-3/25

  • Kai - got webhooks working with Particle. Now, those webhooks control the servo that's mounted to the Photon, and the Photon exposes a status variable that can be checked through HTTPS requests. - 3 hours
  • Kai - got GitHub page up and running for code storage: https://github.com/kaimbanks/NFCLock - 3 hours

Week 03/26/18 - 04/01/18:

-03/26

  • Nikki & Kai - Began enclosure design with CAD - 1 hour
  • Nikki - Updated app design, minor bug fixes. Added new Github repository for iPhone app: https://github.com/NikkiWines/NFC-Lock - 1 hour

-03/29

  • Kai - purchased Developer license, got NFC sample app up and running, started designing demo setup - 2 hrs
  • Nikki - Developer license acquired! Began installing/adding NFC functionality - 2 hrs

-03/31

  • Kai - rewiring board, ordering new servo, switching from I2C to SPI - 3 hours
  • Nikki - NFC beta-testing - 1.5 hrs

-04/01

  • Kai - spent ages troubleshooting an NFC detachment bug (every time the servo moved, the NFC breakout board would deactivate due to pin blocking). Now everything works. - 4 hrs
  • Kai - working on getting iPhone hotspot to work in low-coverage areas - 1 hr

Week 04/02/18 - 04/08/18:

-04/03

  • Kai - designing enclosure in MEMS lab; determining which side to put the reader on; testing reader capabilities through various surfaces (seems to work fine through ~4 inches of wood, so placing the reader inside the door should be fine) - 2 hrs
  • Nikki - further work on the iOS side. App provisioning set up; app name registered; more NFC debugging. Note: we may not be able to implement the NFC side of things as planned. iOS 11 requires the presence of a 'secure element' that costs a lot of money in order for the PN532 breakout board to act as a tag emulator. Requires further research - 3 hrs

-04/06

  • Kai - finalizing CAD design; found Thingiverse files that will allow the servo to attach to the deadbolt - 2 hrs

-04/07

  • Nikki - designing demo setup & figuring out hotspot options (iPhone is being a bit finicky in Lopata for some reason) - 2 hrs

-04/08

  • Nikki - research into iOS + NDEF NFC tag reading + trying out a whole bunch of methods that people online suggested might work. At this point, we are pretty sure we will not be able to get the iPhone to recognize the breakout board as a NFC tag because of the missing secure element. There's a chance that our issues are entirely software-based and have been fixed in a more recent iOS update, but it's hard to tell. - 4 hrs
  • Kai - helped with research into iOS/NDEF NFC compatibility. Thinking about alternative ways to get NFC involved; we may have to rely on NFC cards to open the door. - 1 hr