Introduction: Control an Arduino With Your Phone
Hello everyone! In this instructible I will show you how to control and read sensors with arduino and blynk. Blynk is an app that allows full control over arduino, rasberry pi and spark core. With your smartphone! And it is as easy as uploading some code.
Step 1: Materials
You will need:
1 arduino (any model)
1 usb cable/ethernet shield
A computer and smartphone
Step 2: Download the App
Go to the app store / google play store on your phone and download blynk, then create a blynk acount.
Step 3: Configure the App
Once you have the app installed. Take some time to plan out your control layout. Think of your goal and arrange the controls accordingly. In my case it was a bbq thermometer so I added two analog gauges.
Once you have your layout setup, configure the ports.
IMPORTANT: make note of the api key shown in the project settings in the blynk app.
Step 4: Upload the Code
Install the blynk library into your arduino IDE like any other arduino library:
http://www.blynk.cc/getting-started/
And open the sketch that matches your hardware, in my case it was usb serial.
OR:
You can also just click the codebender link amd upload it directly from your browser!
IMPORTANT: paste that api key from earlier into the code where it says "api key"
Step 5: See the Action!
Open your app and plug in a sensor/led to your arduino and watch the magic of blynk!
Note: if you are not using an ethernet shield then you have to keep the usb cable plugged into the computer

Participated in the
Phone Contest
24 Comments
7 years ago on Introduction
Tried everything and it seems to be not working with USB connection. I used the Arduino_Serial_USB sketch and it compiled. Followed the manual and installed a button widget. Copied the authorisation code and compiled and pressed play on my phone after placing the LED connected to PIN7 on the board and set button to control pin7 on phone. App says Arduino Uno offline. :(
Reply 3 years ago
Did you double check which port your connected to and if correct some back ground programs can interfere with your ports make sure only the necessary programs are open......maybe
Reply 7 years ago
please read this
https://m.instructables.com/id/Control-arduino-using-Blynk-over-usb/
6 years ago
Have you configured your Ethernet shield to work with blynk?
6 years ago
Hello dear Blynkers !
I've got a problem that's when i want to start cntrolling via Blynk they said your Arduino UNO is not in network i have Arduino UNO REV3 , Arduiono Ethernet Shield !
please i need your supports to solve the problem !
Kind regards
6 years ago
i got this " your arduino UNO is not in network". how can i solve it?
7 years ago
This is good.
I have been searching some application references in which WIZnet solution is applied, and found your project using Ethernet Shield.
In the Ethernet Shield WIZnet's W5100 chip is embedded.
If you are O.K. I'd like to post this article in WIZnet Museum (http://wiznetmuseum.com) for others.
Reply 7 years ago
Thanks! go right ahead, just give me credit.
7 years ago
how to unlock the phone pattern
7 years ago
Oops sorry for the bad grammer, stupid phone keyboard
7 years ago
Yeah I wouldn't use this for final products yet either but if your just tinkering and want an easy way to do stuff, another bonus is that it is all hosted on their servers for free! That was you can use it anywhere in the world where you have internet. And believe me, this is much different than a Microsoft product (and it's free)
7 years ago on Introduction
Researching this BLYNK software, they seem to still be fairly new and with that comes a fair number of bugs. Not sure if I want to rely on a 'not finalized' product.
Anyone with any Microsoft experience knows you never buy/get version 1 as it is full of headaches.
7 years ago
Follow the instructions in the top part of the sketch.
7 years ago
Did you run the blynk-ser.bat located in
/documents/libraries/blynklibrarymaster/scripts/
7 years ago
Yes, thats great if you have an android phone but your out of luck if you use apple products
7 years ago on Introduction
DroidScript is really good for making Android Apps to control embedded devices like Arduino too. It can do USB serial, Bluetooth serial, TCP, WebSockets, XMLHttpRequest etc.
7 years ago
If you guys like my instructible, please vote for me in the RePhone contest.
Thanks
7 years ago
Thanks for the info! Blynk looks pretty cool. less complex than the MIT build your own app and others I've seen.
7 years ago
The bonus of this is that it will work with any arduino, like the mega or micro
7 years ago
The arduino connects to the internet by using either a wifi/ethernet shield or by interfacing with the computers wifi via serial usb