Blynk is a Platform with iOS and android apps to control Arduino, Raspberry Pi and therefore the likes over the internet. It’s a digital dashboard where you’ll be able to build a graphic interface for your project by merely dragging and dropping widgets….

From this git-hub page, download the Arduino library – and install it like you would do any other Arduino library.

First you need to download the app for your Android phone – click here for the links.

 

In our first example, we’ll connect an LED to digital pin 7 (via a 560 ohm resistor) . now it’s time to line up the Blynk app. after you run the app for the first time, you need to sign in – therefore enter an email address and password:

blynk tronixstuff 1

After logging in, click the “+” at the top-right of the screen to form a new project, and you’ll be directed to following screen:

blynk tronixstuff 2

You now got to name your project, choose the target hardware (Arduino Uno) – then click “E-mail” therefore to send the required AUTH TOKEN to your mail inbox– which we are going to require. Then click on “Create” to redirect the Main menu app design screen. Next, tap on “+” once more to induce the “Widget Box” menu as shown below, then tap “Button”:

blynk tronixstuff 3

This will now give you a button on your apps screen:

blynk tronixstuff 4

Tap on that button to open the properties panel:

blynk tronixstuff 5

Here you can name for your button, and additionally verify whether it’ll be “momentary switch” (i.e., solely activates until you press the button) – or operate as a ON/OFF switch (push to switch on… push again to switch off…). additionally you need to select the Arduino pin the button will control – so press “PIN”, which will state the subsequent menu:

blynk tronixstuff 6

We set the correct PIN as Digital and D7 then pressed “Continue”. Well the app part is currently complete. now lets open the Arduino IDE, and load the “Arduino_Ethernet” sketch enclosed with the library:

blynk example sketch tronixstuff

Then scroll down to line 30 and enter the auth key that was sent through the mail:

blynk example sketch tronixstuff auth key

Save it and transfer the sketch to your Arduino. On your smartphone app, and tap the “Play” (looks sort of a triangle inform right) button. this will connect with the Arduino automatically. Once a moment the app will connect with the Blynk server… Now if you tap the button on your app scree, you’ll be able to switch ON and OFF the LED.