Founder interviews, pre-release product design, hand crafted inventions.
Get the digest of our best ones, straight in your inbox. Every month.
Founder interviews, pre-release product design, hand crafted inventions.
Get the digest of our best ones, straight in your inbox. Every month.

Blynk Review: Control Arduino with your Phone

Techmog is a liquid network of engineers, programmers, designers and entrepreneurs in and around London who report on the industry we work in, from an insider's view. We're always looking for Londoners with something interesting to say. Send an email to info@techmog.com if you would like to contribute to the website.

Peter Bailey

Freelance Wordpress Developer in London (peabay.xyz) @peabay
Share on Google+
Post to Reddit
Share on Linkedin
Sponsored by
HonestBrew
HonestBrew has kindly sponsored this post. Discover the best beers from around the world, delivered to your door. Join today & receive a Taster Kit for half price.

Check out: Arduino Day 2015

Controlling Arduinos from a mobile phone can be a challenging task. The amount of effort that’s required to program an app often isn’t worth it. So when Blynk was launched on Kickstarter I was really excited. Blynk is a mobile app which lets you control Arduino or Raspberry Pi using ethernet or wifi. The well thought out interface lets you create dashboards of virtual buttons, sliders, and other widgets to not only send requests but receive and display data.

Setting Up

Arduino libraries are provided to interface with the app and are bundled with a good selection of example scripts to get you started.

Once connected to the network the app asks you to create a dashboard where an authentication ID is generated for you. After pasting this ID into the Arduino script you’re able to make a connection. I was using an Arduino Uno with a standard wifi shield and was able to make a connection without any snags.

blynk

From here you can add Controllers, Displays or Notifications. We’re told that more of these will come, but there are enough to satisfy most situations.

Controllers: buttons, sliders, large sliders, timer
Displays: Value, LED, Gauge, Graph, Terminal
Notification: Twitter, Push notification, Email

In Practice

I created a circuit a while ago to control remote plug sockets, activated by a PIR sensor (motion sensor) and LDR, and wondered if I could build on it to make it mobile-controllable using Blynk. I had something up and running in around 15 minutes. Not only could I control the plug with a virtual toggle button but I could also return the value of the LDR in a graph plotted by the second.

IMG_1918

Blynk’s communications go through their remote servers and I would have expected some delay, but the response time was incredibly quick. There was no difference in delay to that of the remote control the plugs come with. If, for whatever reason, you’d like to run the server yourself all of the code required is available on Github.

The app is free for Android and iOS with premium widgets available for purchase (soon). This makes it a very cost effective solution and my personal goto for situations where I need a mobile interface.

GET BLYNK

Posted 19th Jul 2015
Share on Google+
Post to Reddit
Share on Linkedin
Sponsored by
HonestBrew

Comments

  • Vamsi Rockzz

    Can you post the code for this, I cannot clibrate and use pir sensor ,it’s displaying flood error , Heartbeat timeout, Login failed and getting disconnected

    • Peter Bailey

      Sorry Vamsi I don’t have it anymore. The Blynk community should be able to help you out though – http://community.blynk.cc