CxD Archive
Code: Internet of Things 2.0
Code: Internet of Things 2.0
  • Code Introduction
  • Prerequisite Knowledge
  • Tutorials
    • A. Meet Your IoT Kit
      • A-1 Circuit Board
      • A-2 Other Components
      • A-3 Electronic Circuits
    • B. Hello World Test
      • B-1 Start IoT Device
      • B-2 Login to Web IDE
      • B-3 New App Template
      • B-4 Global Variable
      • B-5 Setup Function
      • B-6 Loop Function
      • B-7 Flash App to Device
      • B-8 Modify App
    • C. Smart Light Device
      • C-1 Connect LED
      • C-2 Copy Hello World App
      • C-3 Connect Button
      • C-4 Add Button Code
      • C-5 Modify Button Code
      • C-6 Particle Cloud Code
      • C-7 Web App HTML
      • C-8 Web App CSS
      • C-9 Web App JS
    • D. Smart Security Device
      • D-1 Connect Motion Sensor
      • D-2 Connect Speaker
      • D-3 LED and Button Code
      • D-4 Motion Sensor Code
      • D-5 Speaker Code
      • D-6 Particle Cloud Code
      • D-7 Web App HTML
      • D-8 Web App CSS
      • D-9 Web App JS
  • References
    • Particle Build
    • Photon Device App
    • Web App - Single Screen
    • Web App - Multiple Screens
    • Particle Cloud
      • Web App Prep Steps
      • Get Device Variable
      • Call Device Function
      • Get Device Events
    • Physical Inputs
      • Push Buttons
      • Trimpot Dial
      • Motion Sensor
      • Magnetic Switch
      • Light Sensor
      • Temperature Sensor
      • Soil Moisture Sensor
      • Accelerometer
      • Ultrasonic Sensor *
    • Physical Outputs
      • LED Lights
      • Speaker
      • Servo Motor
      • Micro OLED Display
  • Links
    • IoT Project Guidebook
    • Particle Build (Web IDE)
    • Wiring Language
    • Photon Firmware
    • Particle API JS
    • W3Schools
    • Photon Kit Experiments
Powered by GitBook
On this page
  • Tutorial Goals
  • Photon Kit
Export as PDF
  1. Tutorials

A. Meet Your IoT Kit

PreviousPrerequisite KnowledgeNextA-1 Circuit Board

Last updated 2 years ago

In this first tutorial, you'll become familiar with your team's IoT electronics kit.

Tutorial Goals

The goals of this first tutorial are to help you:

  • Understand the features of your Photon circuit board (pins, ports, buttons, LED lights)

  • Identify the other components in your Photon kit and their purposes (inputs, outputs, connectors, and cables)

  • Understand how to create electronic circuits by connecting components to the Photon circuit board (using power pins, I/O pins, jumper wires, and breadboard)

Photon Kit

This guidebook is tailored for an IoT electronics kit called the , which will simply be referred to as the Photon kit.

is a company that sells products to help people build and program electronics devices. is a Wi-Fi enabled microcontroller (small computer) from a company called that sells IoT hardware and services that help inventors and other companies create their own IoT products.

SparkFun created its own Photon kit by incorporating the Photon P1 microcontroller into an easy-to-use circuit board and packaged it with a set of inputs, outputs, wires, and other parts to help you start inventing your own IoT devices. It is also possible to purchase additional parts (sensors, motors, etc.) that can be used with this Photon kit.

NOTE: Your instructor may have provided you with a different IoT electronics kit. If your IoT kit is programmed using Arduino or Wiring, then you may still be able to use (or modify) the tutorials and references in this coding guidebook.

WI-FI NETWORK: Photon devices are relatively easy to . Photon devices running firmware version 0.7.0 or higher can be setup to connect to WPA2 Enterprise Wi-Fi networks (such as those typically found in schools, universities, and corporations). Teachers may need to coordinate with their school's IT administrator to follow Particle's guide to .

setup to connect to home Wi-Fi networks or mobile hotspot devices
WPA2 Enterprise Setup
SparkFun Inventor's Kit for Photon
SparkFun
Photon
Particle
SparkFun Inventor's Kit for Photon