loading

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

MUST WATCH VIDEO

Don't forget to like & subscribe

Step 1: Parts

1.Arduino Uno

2.android phone & computer.

3.LED's

4.latest arduino ide

Step 2: Blynk Setup

create account on blynk app.then select bottons 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

YourAuthToken

upload the sketch .

then search blynk-ser.bat file in

"Blynk-library\blynk-library\scripts"

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.


<p>Does PC and Mobile should be connected to same network ???</p><p>I am seeing below error in my cmd and not able to understand why ?</p>
<p>I could figure out problem myself .. I was connected to my office WiFi which was not allowing to connect to Blynk-Cloud ... However, thank you for the nice tutorial ..</p>
<p>Hi, I am using this with a Mac. When I tried to upload the sketch &quot;Arduino_Serial_USB&quot;, it gives the error message saying that it doesn't recognize the file/directory &quot;BlynkSimpleStream.h&quot;. I understand the tutorial is designed for Windows but do you know how I can fix this error message?</p><p>Thank You :)</p>
Use latest arduino ide 1.6.12<br>I am little bit busy due to exams.<br>If you not able to resolve the problem then visit &amp; post your problem here<br> http://community.blynk.cc<br>
<p>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 &quot;Uploading&quot; </p><p>Thanks Again (I know you have exams)</p>
Arduino just take 3-4 seconds to upload a sketch.if sketch compiles then it definitely uploadable.<br>are you able to upload simple blinking LED sketch.??<br>If not then Check <br>1)have you select right COM port.<br>2) driver's installed properly or not.<br>3)if both not work then your arduino is damaged.<br><br>
<p>Hi I tried to connect it via USB on my mac but it does not work :(</p><p>This is what it says in the Terminal. ANd on the app it says Arduino Mega is offline. Can someone help please? Thanks lot!</p>
Sorry ,i haven't mac.this guide is for Windows.<br>have to you closed Arduino ide serial monitor when terminal is open??<br>Have to entered right serial port no. in bat file ??<br>
<p>can we use this tutorial with arduino nano?</p>
<p>Thank you, it totally worked</p>
<p>The system cannot find the file specified.</p><p>Connecting device at COM13 to blynk-cloud.com:8442...</p><p>'com2tcp' is not recognized as an internal or external command,</p><p>operable program or batch file.</p><p>Reconnecting in 3s...</p>
<p>The system cannot find the file specified.</p><p>Connecting device at COM13 to blynk-cloud.com:8442...</p><p>'com2tcp' is not recognized as an internal or external command,</p><p>operable program or batch file.</p><p>Reconnecting in 3s...</p>
<p>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.</p>
Try to edit using notepad ++ or reinstall blynk library.<br>For detail guidance must watch video.
<p>I tried, but it says &quot;access denied, 0 file copied --- command com2tcp unknown or not internal&quot; when I run the modified batch file.. should I modify the server port or other parameters?</p>
You don't require to edit other parameters.<br>Try to run batfile as run administrator.<br>Post some screenshots.<br>Post your problem on blynk community.
<p>running the prompt as administrator, and writing the command as shown in the examples, it is working correctly.. thank you so much! :)</p><p>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</p>
<p>Hello.. i have a problem when i try to modify the batch file.. it says &quot;access denied&quot;, 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 &quot;access denied, 0 files copied&quot;. </p>
Try to edit using notepad ++.edit bat file without running it.
<p>Thanks for this nice tutorial..fully working...</p>
Welcome!,<br>If you have any idea to improve its features fill free to suggest.
<p>Please help.</p><p>Connecting device at 3 to cloud.blynk.cc:8442...</p><p>OpenC0C(): CreateFile(&quot;\\.\3&quot;) ERROR No such</p><p>Reconnecting in 3s...</p>
I think u hadn't edited<br> line no. 6 Of<br>blynk-ser.bat file which is located at<br>&quot;Blynk-library\blynk-library\scripts&quot; with your com no.
<p>Oh no, &quot;COM10 not found, or may be busy&quot;</p>
edit line no. 6 Of<br>blynk-ser.bat file which is located at<br>&quot;Blynk-library\blynk-library\scripts&quot; with your com no. <br>
<p>whenn i run back the sketch after the step 3, the blynk apps shows'your arduino not in network&quot; how it is to be solve?</p>
After uploading the sketch run the blynk-ser.bat file you had edited with your serial COM.then open the blynk app and press on play button.<br>Or check your internet connection on pc and phone.
<p>thanks i made it successfully!!:D</p>
<p>This is my result. OpenC0C(): CreateFile(&quot;\\.\COM1&quot;) Error NO such file or directory <br><br><br>T_T</p>
If you not edited blynk-ser.bat with serial com on which your Arduino connected.then this error occurs .or<br>Remove usb plug and then plug it again and then run bat file.
if you not edited blynk_ser.bat file then this error occurs .remove usb plug and then run bat file.
Thanks for posting this! I'm going to try it!
If you have any doubts please ask without any hesitation.

About This Instructable

22,137views

72favorites

More by Saurabh Gangamwar47: Communication Between Raspberry Pi and Arduino Via Usb #firmata #python DIY Buck Converter Twoway Switching  
Add instructable to: