Pre-Lecture Activities

Week 9

Watch before class this week

  • Bluetooth
  • Lithium Ion Batteries

Bring to class all this week

  • Photon 2, breadboard, resistors, push buttons, LEDs, RGB LEDS, wires potentiometer
  • Lithium ion battery
  • You can see what parts look like visually by checking out the kit page

Install before class all week

Build before class all week

The goal is to build a rotating fan. Here is the circuit wiring, and photos are below

Screenshot 2024-07-03 at 7.54.45 PM

Wiring for Motor Controller

Motor Controller Photon 2 DC Motor
PWMA A5 -
AI2 D4 -
AI1 D3 -
AO1 - Motor wire (either)
AO2 - Motor wire (either)
VCC 3v3 -
GND GND -
VM 3v3 -
STBY 3v3 -

Wiring for Potentiometer

  • 3.3v
  • A0
  • GND

Wiring for Servo

  • The wiring colors vary with different servos so look carefully at your documentation
  • Many servos will require 5V not 3.3V so use VUSB

image-20210310115209181

Photos

fan1

fan2

fan3

Optional: Bluetooth Reference

Updated: