Things used in this project

Hardware components:
Photon new
Particle Photon
×1
PowerSwitch Tail II
×1
12002 04
Breadboard (generic)
×1
11026 02
Jumper wires (generic)
×1
USB microB Cable
×1
Wall Adapter - 5V USB
×1
Hand tools and fabrication machines:
Screwdriver - Flat

Schematics

Big-Blink Fritzing Diagram
Hack Your Home Part 1.fzz

Code

Big-BlinkArduino
Copy this into your Particle Photon app.
int pst = D6;

void setup() {
    
    // I/O as output
    pinMode(pst, OUTPUT);
}

void loop() {
    
    // Turn PowerSwitch Tail on for 1 second
    digitalWrite(pst, HIGH);
    delay(1000);
    
    // Turn off the PowerSwitch Tail for 1 second
    digitalWrite(pst, LOW);
    delay(1000);
}

Credits

Engineering superhero
Shawn hymel
10 projects • 58 followers
Engineering Superhero at SparkFun Electronics.
Contact

Replications

Did you replicate this project? Share it!

I made one

Love this project? Think it could be improved? Tell us what you think!

Give feedback

Comments

Add projectSign up / Login