The last studio introduced integrations using WebHooks as well as new hardware (the OLED display and Piezo) and the mini-studio introduced IFTTT as a tool for combining different services.
The objectives of today’s Studio are:
Please take your role seriously. When you get your role, review the responsibilities and make sure you follow through on them.
process/Roles.md
)README.md
process/SessionNotes.md
):
process/Debrief.md
Groups of three will be allowed if:
In groups of three the Manager must also take on the responsibilities of the Spokesperson.
As in the previous studios, all group members will need to be in a GitHub group (and repository)
The link for this studio is: https://classroom.github.com/g/MgHJDqSW
Today the Recorder, Technician, and the Spokesperson will want to be able to work with the repository (i.e., it should be on at least two computers). The Technician will be working with the Photon (C++).
The Recorder should update process/Roles.md
to record everyone’s roles for this studio (use full names). In addition, the Recorder should take notes about the interaction of the overall session. Be sure to pull/merge/commit/push at the end of the day!
Today you will be doing the bulk of recording answers to questions. Read the questions in process/Debrief.md
to the group and the group should come to a consensus for each. Be sure to enter the responses. Be sure to pull/merge/commit/push at the end of the day!
The Technician will be programming the Photon and the UI. Consequently their computer will need to be logged into the account for the Photon being used for testing. (Particle Desktop will need to be logged in)
You will be managing the code for today’s studio. DO NOT open it in Particle Dev. Instead create new projects within the repo folder. Be sure to pull/merge/commit/push at the end of the day!
This studio will work through some examples and require that you build comparable examples from them.
This tutorial requires accounts for IFTTT, Particle, and Google.
Work through the Temperature Logger tutorial, but heed the following modifications:
TempLogger
Browse and Manage Particle Libraries
button on the left button ribbon. (The one that looks like a bookmark)
OneWire
(2.0.1)Use
button.Copy to current project
button.ino
to include the library by adding the following to the file (before any actual code):
#include"OneWire.h"
#include"DS18.h"
My Applets
and then +
to create a new Applet, but IFTTT has changed the UI. Instead create a new applet from the account icon’s Create
option:*that
, search for Sheet
to find the ability to interact with google sheets (Not Drive, as described in the Particle tutorial). You may need to connect the Particle account to a Google account.
*that
is highlighted to indicate that it was entered via the Add ingredient
button. It’s a special string that will be replaced with data. You can either use Add ingredient
or type "{{CreatedAt}}"
. Notice the use of both double quotes to ensure a string is used in the cell and the {{}}
notation to ensure the event variable is used.Complete README.md
Q1.1-1.2
Update your circuit and code so that it uses both temperature sensors in your kit at the same time.
Work through the Conference Room Monitor tutorial, but heed the following modifications:
ConfMonitor
D0
to GND
and VIN
to simulate an empty or full room respectively.Complete README.md
Q2.1-2.2
Commit your work to GitHub:
Complete any unfinished work and commit it to your repo by 11:59pm Sunday, April 1st.