Attachments

What else do you need to make this project? In this section: code, schematics and CAD.

Code

Photon 2

C/C++

This code pulls the data from the cloud and then blinks the on-board LED in pin D7 and graphs sensor data using the Blynk application.

Photon 1

C/C++

This code takes the input from the buttons (used as sensors to see when the doors are opened or closed) and uploads it to the cloud for the other photon to download and then graph.

Schematics and circuit diagrams

We recommend using Fritzing.org for circuit diagrams. It's free and accessible to all skill levels.

CAD - Enclosures and custom parts

Checklist for publication

  • Schematics
  • Name
  • Elevator pitch
  • Cover image
  • Story
  • Components and apps
  • Code

Reference: