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.

EasyFull instructions provided1.5 hours194
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
Thing ggzbq7obv1

Schematics

Schematic

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

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
Contact

Comments

Add projectSign up / Login