Introduction: Blynk Arduino Servo

For this lab we will be creating a Servo motor that can be controlled with a smart phone. The app needed for this is called bkynk and you will need to download it to your smart phone and the library for your aduino.

That is the website where you can get the library.

Also once the servo goes past a certain position, an LED light will turn on.

Step 1: Materials

For this you will need:

-Arduino Uno

-Servo motor

-LED light

-220ohm resistor



Step 2: Connect Power

First, you will need to connect the power to the board. Also, ground the board too.

Step 3: Connect the Servo Motor

Secondly, connect the power and ground on the motor to the power and ground on the breadboard.

Then, connect the yellow wire to pin 11, pulse width modulation.

Step 4: Connect the Light

Third, connect the power and ground of LED to breadboard. and connect the resistor to the anode to the pin 7.

Step 5: Code

#define BLYNK_PRINT SwSerial

#include <softwareSerial.h>

SoftwareSerial SwSerial(10, 11); // RX, TX

#include <BlynkSimpleStream.h>

#include <servo.h>

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

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

char auth[] = "645f1bbd27c4410c81a5f9d89aa75260";

Servo servo;





void setup() {

// Debug console


// Blynk will work through Serial

// Do not read or write this serial manually in your sketch


Blynk.begin(Serial, auth);



void loop() {;

if(param.asInt() > 90)

digitalWrite(13, HIGH);




digitalWrite(13, LOW);




Step 6: Blynk

for use with the blynk app, consult this page.