LinkIt One With Blynk to Control a Servo

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.

There are many uses for servo's now a days! There are even more uses for WiFi Servo's! This project will demonstrate how to use a LinkIt One Board to Control a Servo using Blynk

Teacher Notes

Teachers! Did you use this instructable in your classroom?
Add a Teacher Note to share how you incorporated it into your lesson.

Step 1: Upload Code

If you don't know how to upload code to the linkit one board click here

Here is the code i used

//Code Created By FunguyPro

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

#include #include #include #include

Servo servo;

// 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); servo.attach(9); delay(500); servo.write(90); }

BLYNK_WRITE(3) { servo.write(param.asInt()); }

void loop() {; }

Step 2: Use the Blynk App to Control the Servo

If you don't know how to use blynk click here

Step 3: Need Help?

Click Here

Be the First to Share


    • Made with Math Contest

      Made with Math Contest
    • Multi-Discipline Contest

      Multi-Discipline Contest
    • Robotics Contest

      Robotics Contest