Prep: Embedded 2

Intro

This week’s studio will focus on:

Overview

A few details about the Photon that may be valuable to be aware of:

That last part, being open source, is important. Particle’s business is based largely on the Cloud Service they provide and the Photon is just one of many tools that can access it. This is one of the reasons we’re working with the Photon - it gives us a chance to work with a cloud service that is capable of building commercial products. That being said, for now we’re using the Photon as a simple microcontroller. We will use the cloud service to program it, but the programs we’ll be writing won’t use the cloud service yet.

Studio Prep (Monday)

At studio time you should have:

  1. Photon configured to work with campus network
  2. Breadboard wired with Photon and your RGB LED
  3. Buttons
  4. Wires
  5. A USB cable (newer Macs will need a USB-C dongle too)

By Studio you should:

  1. Review of the contents of the Particle Photon’s Firmware API Particle has APIs for many platforms, but this week we only care about the Firmware API. After opening the link expand the “Firmware” section in the left pane by clicking the “+” to the right of the word “Firmware”. You should see a list that starts with “Cloud Functions” and ends with “Firmware Releases”. Skim the sections so you have a general awareness of the categories of services available. Be sure to thoroughly review Software Timers and Time.

Mini-Studio Prep (Wednesday)

For Wednesday’s Mini-Studio you should have:

  1. Photon
  2. Breadboard
  3. Servo
  4. Transistor
  5. Pancake Motor
  6. Resistors
  7. Wire

By Studio you should:

  1. Read SparkFun’s Motor Tutorial
  2. Read SparkFun’s Hobby Servo Tutorial
  3. Read SparkFun’s Transistor’s Tutorial

Assignment Prep

The assignment will build on both Embedded Studios (not the mini-studio). It will also require using a state machine, which was covered in CSE132. If you haven’t taken the current version of CSE132 or need to review, please see CSE132 Guide: “Introduction to Finite State Machines”