IoT Controlled LED with Blynk App and Raspberry Pi

IoT Controlled LED with Blynk App and Raspberry Pi

Blynk is an IoT Platform to control Arduino, Raspberry Pi, NodeMCU and other microcontrollers over the Internet. Blynk app is a digital dashboard where you can build a graphic interface for any IoT based project by simply dragging and dropping widgets. Its simple and easy to use this IoT platform to build complex applications. Blynk is not bounded to some specific board or platform, but it can be used with any microcontroller, provided that the microcontroller is connected to internet. Raspberry Pi has inbuilt Wi-Fi and other microcontroller like Arduino can be connected to internet using some Wi-Fi module like ESP8266 etc.


Components Required

  • Raspberry pi
  • Blynk App
  • LED
  • Resistor(250 ohm)
  • Jumper Wires
  • Breadboard


Circuit Diagram

Raspberry Pi LED Circuit Connections to Control using Blynk App


The connections of this project is very simple. Just connect LED’s positive pin to raspberry Pi’s 3rd (GPIO2) pin and negative pin to resistor.


Step 1: Blynk App Setup with Raspberry Pi

To control LED with Blynk app, first download and install the Blynk app from Google or Apple app store. After installing, if you don’t have an account already then create a new account by entering your Email and password.


1. After sign up click on ‘New Project’ to start your project.

 Blynk App Setup with Raspberry pi


2. Now give your project a name in name slot. Blynk works with hundreds of hardware models and connection types so choose your device from options. I am here using Raspberry Pi 3B, so I am proceeding with Raspberry PI 3 B, you can choose different board. Then after choosing your board choose your connection type whether it is Wi-Fi or Ethernet or USB connection. After these steps click on ‘Create’ button to create your project.

 Create Project using Blynk App and Pi


3. Now after this you’ll see a blank new project. To add Widgets to the project click on Add button (Plus sign button)

 Project Created using Blynk App and Pi


4. Now after this click on ‘Button’ to add a button in your project.

Add Button to Project Created using Blynk App and Pi


5. Now in button settings give a name to your button. After this in ‘OUTPUT’ choose your pin where you connected your Led’s positive pin. Then give names to your On/Off labels.

 Setup Button in Project Created using Blynk App and Pi


Step 2:  Raspberry Pi Blynk App Setup to Control LED

First open the terminal window and update your Pi using:

sudo apt-get update


After updating your pi install GIT using:

sudo apt-get install git-core


Now to install Wiring Pi using this command:

git clone git://


After installing  Wiring Pi,download Blynk library:

git clone 6
 cd blynk-library/linux

make clean all target=raspberry


After doing all these steps now put your ‘Auth Token’  in terminal using this command:

sudo ./blynk --token= YourAuthToken


After doing all these steps now your Raspberry pi is connected with your Blynk project.

 Run Blynk App for Controlling LED


Step 3: Run Blynk App for Controlling LED

To run the project click on ‘play button’ on upper right corner. Then Press the button on Blynk app and watch the LED.

IoT Controlled LED with Blynk App and Raspberry Pi


Thank you so much for providing individuals with remarkably special possiblity to read from this site. It's always so lovely plus stuffed with fun for me personally and my office fellow workers to search your site at the least 3 times in one week to study the new issues you will have. Of course, I'm actually amazed for the mind-blowing solutions you serve. Certain 3 areas in this posting are really the most efficient we've had.

I would like to show thanks to this writer for bailing me out of such a scenario. After researching through the the net and obtaining proposals that were not pleasant, I figured my life was well over. Existing without the presence of answers to the difficulties you've sorted out by way of your good article content is a critical case, and those that would have negatively damaged my entire career if I hadn't come across the website. Your primary ability and kindness in maneuvering a lot of stuff was precious. I don't know what I would have done if I had not come across such a solution like this. It's possible to at this point look ahead to my future. Thank you so much for the skilled and amazing help. I will not think twice to endorse your web sites to any person who desires guide about this matter.

Ahaa, its pleasant discussion about this article here at this website, I have read all that, so at this time me also commenting at this place.|

I just wanted to type a quick note so as to express gratitude to you for these pleasant points you are showing on this site. My long internet investigation has finally been honored with professional strategies to go over with my family members. I would repeat that we website visitors actually are unquestionably fortunate to be in a decent community with many brilliant individuals with very helpful solutions. I feel very much fortunate to have used the webpages and look forward to really more awesome times reading here. Thanks once more for all the details.

My spouse and i have been so comfortable that Peter managed to finish off his analysis out of the precious recommendations he got out of your web pages. It's not at all simplistic to simply be giving out steps which some others have been trying to sell. And now we understand we've got the blog owner to give thanks to for this. All the explanations you have made, the straightforward blog menu, the relationships you help to create - it's many fabulous, and it's aiding our son in addition to us do think this concept is thrilling, and that's extremely fundamental. Many thanks for the whole thing!

I actually wanted to type a small message to be able to express gratitude to you for those precious solutions you are posting here. My time intensive internet research has finally been compensated with really good strategies to share with my neighbours. I would assert that many of us site visitors actually are undoubtedly lucky to be in a superb community with so many outstanding individuals with very helpful basics. I feel very blessed to have used your entire web page and look forward to so many more fabulous moments reading here. Thanks a lot again for everything.

I enjoy you because of your entire hard work on this web page. Kate takes pleasure in participating in research and it's easy to see why. Most of us hear all about the powerful means you deliver advantageous tips by means of your blog and in addition inspire participation from others about this topic plus our daughter is now starting to learn a great deal. Enjoy the rest of the year. You're the one conducting a pretty cool job.

I truly wanted to send a simple word to thank you for these great guidelines you are sharing on this site. My extended internet search has now been rewarded with good tips to go over with my co-workers. I 'd tell you that we site visitors are rather blessed to exist in a decent network with very many wonderful people with very beneficial methods. I feel rather grateful to have used the web site and look forward to so many more fabulous moments reading here. Thanks a lot once more for everything.

I precisely desired to thank you so much once again. I'm not certain the things I would've achieved without the actual concepts discussed by you about my situation. It has been a real horrifying issue for me personally, but discovering a well-written approach you processed it forced me to leap for happiness. Extremely happier for this assistance and have high hopes you are aware of a great job you have been undertaking teaching others thru your web blog. I am certain you have never come across all of us.

I am only writing to let you be aware of of the impressive encounter my friend's child enjoyed going through your webblog. She discovered many things, which included what it's like to have a very effective teaching mood to make many people with ease completely grasp specific tricky subject matter. You truly exceeded her expectations. Thanks for distributing the necessary, safe, edifying as well as unique tips about that topic to Mary.

Thank you a lot for giving everyone an extraordinarily spectacular possiblity to read critical reviews from here. It is usually so superb plus jam-packed with amusement for me personally and my office peers to search your site more than 3 times a week to find out the latest issues you have. Of course, I am usually contented for the outstanding tricks you give. Selected two points in this article are unequivocally the very best I've had.

Thank you a lot for giving everyone a very terrific chance to read articles and blog posts from this web site. It really is very great and also full of amusement for me personally and my office co-workers to search your website at the least thrice weekly to learn the new items you have got. And indeed, I am always amazed with your sensational suggestions you give. Some 1 tips on this page are rather the most suitable we have all had.

I am just commenting to make you understand what a outstanding discovery my wife's daughter gained browsing your web page. She picked up plenty of issues, not to mention how it is like to possess a great teaching nature to make other folks without difficulty gain knowledge of a number of complex things. You undoubtedly did more than people's expectations. I appreciate you for imparting these powerful, trustworthy, edifying as well as cool tips about that topic to Janet.

I'm just writing to let you know what a fine experience my friend's child obtained viewing the blog. She came to find some pieces, which include how it is like to possess a marvelous helping spirit to have other folks just understand some advanced things. You actually surpassed our expected results. Thanks for distributing the good, healthy, revealing as well as cool tips on that topic to Lizeth.

My wife and i have been ecstatic Albert managed to deal with his basic research out of the ideas he obtained out of the blog. It's not at all simplistic to just continually be releasing procedures which often other people have been making money from. Therefore we discover we have the writer to appreciate because of that. The most important explanations you've made, the simple blog navigation, the relationships you can aid to create - it is all amazing, and it's really aiding our son in addition to us recognize that the subject matter is interesting, which is extraordinarily important. Thanks for the whole thing!

I intended to write you this tiny word to say thank you once again for all the superb techniques you have shown in this case. It has been so particularly generous with you to supply without restraint precisely what some people could possibly have advertised as an e-book to help make some money on their own, and in particular considering that you might have tried it in case you wanted. Those tricks likewise worked as the fantastic way to be aware that other people online have similar passion similar to my very own to figure out a little more on the topic of this problem. I'm sure there are many more fun instances up front for many who look over your site.

Thanks a lot for giving everyone an extremely remarkable chance to read from here. It is always so good and as well , jam-packed with fun for me personally and my office friends to visit your site nearly 3 times per week to read through the fresh stuff you have. And definitely, I'm so always fascinated with all the surprising solutions served by you. Selected two tips in this posting are basically the finest I've had.

Thank you for all your valuable hard work on this site. My niece loves conducting research and it is obvious why. We all learn all concerning the dynamic form you present functional tips and tricks on your website and even attract contribution from the others on this topic plus our own simple princess is actually discovering a lot. Have fun with the remaining portion of the year. You're carrying out a fabulous job.

I wanted to write a small note in order to say thanks to you for the fantastic instructions you are giving on this website. My rather long internet look up has at the end of the day been rewarded with wonderful knowledge to talk about with my great friends. I 'd repeat that most of us visitors are really fortunate to live in a useful network with so many awesome professionals with insightful hints. I feel very grateful to have used your entire website page and look forward to some more cool moments reading here. Thanks a lot again for all the details.

Thank you for your whole labor on this website. Kate really likes doing internet research and it's easy to see why. Most of us hear all about the dynamic means you make good guidelines on your web blog and even encourage participation from other ones about this area plus our child is without a doubt discovering a great deal. Take pleasure in the rest of the new year. You're the one conducting a superb job.

I wish to get across my respect for your kind-heartedness for individuals that must have help on that concern. Your very own commitment to passing the message all over appears to be pretty effective and has without exception helped those like me to achieve their dreams. Your important information entails this much to me and even further to my fellow workers. Warm regards; from everyone of us.

I am writing to let you understand of the incredible discovery my wife's princess enjoyed reading your site. She came to understand such a lot of things, most notably what it is like to possess an amazing giving mindset to let other individuals quite simply have an understanding of a variety of tricky issues. You really exceeded my desires. Many thanks for offering those necessary, trustworthy, edifying and as well as unique tips about that topic to Evelyn.

I'm just commenting to make you be aware of what a brilliant encounter our princess encountered browsing your site. She realized such a lot of things, including how it is like to possess an incredible giving mood to get men and women without hassle learn about chosen tortuous issues. You actually did more than readers' expected results. Thank you for rendering those important, dependable, revealing not to mention unique tips on this topic to Sandra.

Add new comment

The content of this field is kept private and will not be shown publicly.

Plain text

  • No HTML tags allowed.
  • Lines and paragraphs break automatically.
  • Web page addresses and email addresses turn into links automatically.