LinkIt One + Blynk Battery Indicator

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.

Here is an project to read the LinkIt One's batter voltage through blynk

Step 1: Code

Don't know how to code the linkit one board? click here

Here is the code I made:

//Code Created By FunguyPro

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

#include #include #include #include #include

int i = 0;

SimpleTimer timer;

// You should get Auth Token in the Blynk App. // Go to the Project Settings (nut icon). char auth[] = "YOURAUTHCODE";

#define WIFI_SSID "YOURSSID" // Your network SSID (name) #define WIFI_PASS "YOURPASS" // Your network password (use for WPA, or use as key for WEP) #define WIFI_AUTH LWIFI_WPA // choose from LWIFI_OPEN, LWIFI_WPA, or LWIFI_WEP

void setup() { Serial.begin(9600); Blynk.begin(auth, WIFI_SSID, WIFI_PASS, WIFI_AUTH); delay(500); }

void loop() {; i++; if(i == 1000){ int batt = LBattery.level(); Blynk.virtualWrite(V5, batt); i = 0; } delay(1); }

Step 2: Connect Blynk

don't know how to connect blynk? click here

Step 3: Need Help?

click here



    • Faux-Real Contest

      Faux-Real Contest
    • Organization Contest

      Organization Contest
    • Warm and Fuzzy Contest

      Warm and Fuzzy Contest