loading

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

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 www.funguypro.tk

#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() { Blynk.run(); }

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

About This Instructable

1,752views

9favorites

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:See Through Buildings With a Drone Dog Water Alarm (V2) Custom PCB's With a Laser Cutter 
Add instructable to: