LinkIt One + Proximity Sensor

388

13

Posted in TechnologyArduino

Introduction: LinkIt One + Proximity Sensor

About: 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 caused by my projects.

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

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

Step 2: 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

Don't Know How to run Blynk click here

Step 4: Need Help

Click Here

Share

    Recommendations

    • Pocket-Sized Contest

      Pocket-Sized Contest
    • Spotless Contest

      Spotless Contest
    • Trash to Treasure

      Trash to Treasure
    user

    We have a be nice policy.
    Please be positive and constructive.

    Tips

    Questions

    Comments