Kaustubh Agarwal
Published © GPL3+

Control a LED from your Phone

This project shows the integration of hardware with mobile application. The user can control equipment from his phone over the internet.

BeginnerShowcase (no instructions)1 hour26,239
Control a LED from your Phone

Things used in this project

Hardware components

Arduino UNO
Arduino UNO
×1
LED (generic)
LED (generic)
×1
SmartThings Shield for Arduino
SmartThings Shield for Arduino
×1

Software apps and online services

Arduino IDE
Arduino IDE
Blynk
Blynk

Story

Read more

Schematics

LED

Code

LED.ino

Arduino
#define BLYNK_PRINT Serial    // Comment this out to disable prints and save space
#include <SPI.h>
#include <Ethernet.h>
#include <BlynkSimpleEthernet.h>

char auth[] = "";
WidgetLED led1(V1);
void setup()
{
  Serial.begin(9600);
  Blynk.begin(auth);
  pinMode(2,OUTPUT);
}

void loop()
{
  Blynk.run();
}

Credits

Kaustubh Agarwal

Kaustubh Agarwal

14 projects • 190 followers
IoT Enthusiast SDE@ASML

Comments

Add projectSign up / Login