Brysen Godfrey
Published © GPL3+

Lane Tech HS - PCL Phone Controlled Light

It is a lamp or desk lamp that is controlled by your phone for when you need the light to get to your bed, but not once you are in bed.

BeginnerFull instructions provided1.5 hours772
Lane Tech HS - PCL Phone Controlled Light

Things used in this project

Hardware components

Jumper wires (generic)
Jumper wires (generic)
×5
Male/Female Jumper Wires
Male/Female Jumper Wires
×3
Photon
Particle Photon
×1
relay
×1
Breadboard (generic)
Breadboard (generic)
×1

Software apps and online services

particle ide
Blynk
Blynk

Hand tools and fabrication machines

Soldering iron (generic)
Soldering iron (generic)
wire cutter and stripper

Story

Read more

Custom parts and enclosures

Tubber ware

Any tupperware works

Schematics

Schematic

Treat the potentiometer as the relay otherwise you can treat the wires in this schematic like the ones from the story

Code

Light Code

C/C++
This code will link your photon to your blynk app. Replace "your auth code here" with the authentication code in your blynk project email.
#define BLYNK_PRINT Serial
#include <blynk.h>
const int relayPin = 2;
char auth[] = "your auth code here";


void setup() {
    delay(5000); 
    Blynk.begin(auth);
    digitalWrite(relayPin,1);
}

void loop() {
    Blynk.run();

}

Credits

Brysen Godfrey

Brysen Godfrey

2 projects • 1 follower

Comments