Introduction: LinkIt One + Proximity Sensor

Picture of LinkIt One + Proximity Sensor

In this instructable I will be showing how to use a proximity sensor with linkit one and blynk

Step 1: Connect Proximity Sensor and Adjust POT

Picture of Connect Proximity Sensor and Adjust POT

The sensor light should be on when any object is away and off when something is close

Step 2: Install Code

Picture of Install Code

If you dont know how to install LinkIt One code click here

this is the code I made for this project:

-------------------------------------------------------------------->

//Code Created By FunguyPro www.funguypro.tk

#defineARDUINO150

//#define BLYNK_PRINT Serial //Uncomment for Serial Data

#include<LWiFi.h>

#include<LWiFiClient.h>

#include<BlynkSimpleLinkItONE.h>

// You should get Auth Token in the Blynk App.

// Go to the Project Settings (nut icon).

charauth[]="YOURAUTHCODE";

#defineWIFI_SSID"YOURSSID"// Your network SSID (name)

#defineWIFI_PASS"YOURPASS"// Your network password (use for WPA, or use as key for WEP)

#defineWIFI_AUTHLWIFI_WPA// choose from LWIFI_OPEN, LWIFI_WPA, or LWIFI_WEP


voidsetup(){

Serial.begin(9600);

Blynk.begin(auth,WIFI_SSID,WIFI_PASS,WIFI_AUTH);

delay(500);}

voidloop(){

Blynk.run();

}

Step 3: Install Blynk and Run

Picture of Install Blynk and Run

Don't Know How to run Blynk click here

Step 4: Need Help

Click Here

Comments

About This Instructable

369views

13favorites

License:

Bio: I like to create new things! I'm very interested in IOT and just Internet Stuff. I am not responsible for any injury or deaths ... More »
More by Funguypro:3D Print Your House!!!!!DIY Raspberry Pi Indoor Outdoor WebcamSee Through Buildings With a Drone
Add instructable to: