Control Arduino Using Blynk Via Usb




Introduction: Control Arduino Using Blynk Via Usb

This is my second instructable. In this instructable i will show how to control LED's using Blynk.

Blynk is application which provides us dashboard as well as connectivity. which you can download it from google play store (for Android).& app store (for apple).using blynk you can control led from any where in world over internet.

for video guidance


Don't forget to like & subscribe

Step 1: Parts

1.Arduino Uno phone & computer.


4.latest arduino ide

Step 2: Blynk Setup

create an account on blynk app.then select buttons according to your requirement and select pins on which led is connected.

email your token to your gmail account.

Step 3:

Download Blynk library.

unzip this zip file and copy all the folders and paste it to arduino ide/ libraries.

then open the sketch in arduino ide from file "examles/blynk/bordandsheilds".select on Arduino serial usb.

then edit the sketch by entering


upload the sketch .

then search blynk-ser.bat file in


edit the line no. 6 enter your serial com no.

(In my case where COM7 is port with my Arduino)

then run the file.

DAM YOU ARE SUCCEFULLY CONNECTTED to blynk connect leds to arduino and

control leds any where in world.



  • Creative Misuse Contest

    Creative Misuse Contest
  • Fix It! Contest

    Fix It! Contest
  • Water Contest

    Water Contest

34 Discussions

My Blynk app shows Device is Offline how to solve error

is same code applicable to blink 4 leds

This was easy and helpful!

Hi, I am using this with a Mac. When I tried to upload the sketch "Arduino_Serial_USB", it gives the error message saying that it doesn't recognize the file/directory "BlynkSimpleStream.h". I understand the tutorial is designed for Windows but do you know how I can fix this error message?

Thank You :)

3 replies

Use latest arduino ide 1.6.12
I am little bit busy due to exams.
If you not able to resolve the problem then visit & post your problem here

Thanks it worked one more question if you have the time. My sketch is verified but won't upload to my Arduino. Is this just due to the fact that it is a big file? Should I expect to wait the whole night? Or is there something else wrong? It just constantly says "Uploading"

Thanks Again (I know you have exams)

Arduino just take 3-4 seconds to upload a sketch.if sketch compiles then it definitely uploadable.
are you able to upload simple blinking LED sketch.??
If not then Check
1)have you select right COM port.
2) driver's installed properly or not.
3)if both not work then your arduino is damaged.


1 year ago

Hi I tried to connect it via USB on my mac but it does not work :(

This is what it says in the Terminal. ANd on the app it says Arduino Mega is offline. Can someone help please? Thanks lot!

Screen Shot 2016-11-06 at 1.27.22 PM.png
1 reply

Sorry ,i haven't mac.this guide is for Windows.
have to you closed Arduino ide serial monitor when terminal is open??
Have to entered right serial port no. in bat file ??

can we use this tutorial with arduino nano?

Thank you, it totally worked

The system cannot find the file specified.

Connecting device at COM13 to

'com2tcp' is not recognized as an internal or external command,

operable program or batch file.

Reconnecting in 3s...

The system cannot find the file specified.

Connecting device at COM13 to

'com2tcp' is not recognized as an internal or external command,

operable program or batch file.

Reconnecting in 3s...

hello.. i have a little problem with the blynk-ser file, i cannot edit the 6 line in order to write my com no. port. and in my blynk library a dont find a file named blynk-ser.bat, i just find this file: blynk-ser.

4 replies

Try to edit using notepad ++ or reinstall blynk library.
For detail guidance must watch video.

I tried, but it says "access denied, 0 file copied --- command com2tcp unknown or not internal" when I run the modified batch file.. should I modify the server port or other parameters?

You don't require to edit other parameters.
Try to run batfile as run administrator.
Post some screenshots.
Post your problem on blynk community.

running the prompt as administrator, and writing the command as shown in the examples, it is working correctly.. thank you so much! :)

n.b. if I run the file as administrator (not first the prompt as I finally do ), it wasn't working.. I need to run first the prompt itself as administrator, then write the commands

Hello.. i have a problem when i try to modify the batch file.. it says "access denied", so I can't modify it.. and if i try to write the right port in the prompt window, I obtain that the window says "access denied, 0 files copied".

1 reply

Try to edit using notepad ++.edit bat file without running it.