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://git.drogon.net/wiringPi

 

After installing  Wiring Pi,download Blynk library:

git clone https://github.com/blynkkk/blynk-library.git 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

399 Comments

Thanks for each of your hard work on this blog. My mum really likes getting into investigation and it's really easy to see why. Many of us hear all of the dynamic medium you give important solutions by means of the website and as well recommend participation from the others on that area of interest then our child is certainly understanding a whole lot. Enjoy the rest of the new year. You are carrying out a good job.

I simply had to thank you very much again. I do not know what I might have achieved in the absence of the entire opinions provided by you relating to such a situation. It was before the challenging circumstance for me, nevertheless coming across a skilled fashion you managed it forced me to weep with fulfillment. I'm happier for the guidance and even wish you know what a powerful job you have been getting into teaching the rest thru your blog post. I'm certain you've never got to know all of us.

Thanks so much for giving everyone an extraordinarily terrific opportunity to read articles and blog posts from here. It is always so terrific plus full of amusement for me and my office co-workers to search the blog not less than three times every week to read through the latest stuff you have. And of course, I am just actually fulfilled with your gorgeous things you serve. Some 3 areas on this page are in truth the simplest we've ever had.

I would like to show thanks to you just for rescuing me from this condition. As a result of checking through the search engines and coming across proposals that were not productive, I figured my life was done. Existing without the solutions to the issues you have resolved all through your main website is a serious case, as well as the ones that could have badly damaged my entire career if I had not discovered your website. The capability and kindness in controlling everything was priceless. I am not sure what I would've done if I hadn't discovered such a thing like this. I can now look ahead to my future. Thank you very much for this specialized and amazing help. I will not be reluctant to propose your web sites to any individual who should have support on this subject matter.

I definitely wanted to type a word in order to say thanks to you for these precious secrets you are giving out on this website. My long internet research has finally been recognized with professional concept to talk about with my family members. I 'd point out that many of us website visitors actually are unequivocally fortunate to live in a remarkable network with many outstanding individuals with good concepts. I feel quite blessed to have discovered your entire webpage and look forward to many more exciting minutes reading here. Thanks a lot once more for all the details.

I would like to show thanks to this writer just for bailing me out of such a incident. Right after exploring throughout the internet and meeting things that were not powerful, I believed my entire life was over. Living devoid of the answers to the difficulties you have solved by means of your write-up is a critical case, as well as the kind which may have badly affected my career if I hadn't encountered your site. That talents and kindness in maneuvering a lot of things was tremendous. I don't know what I would've done if I hadn't encountered such a thing like this. I am able to at this point look forward to my future. Thanks very much for the professional and results-oriented guide. I will not think twice to suggest your site to anyone who needs and wants guidelines about this situation.

I really wanted to send a small remark to be able to appreciate you for those amazing tips and hints you are giving out on this site. My long internet investigation has now been honored with good content to write about with my good friends. I 'd repeat that most of us site visitors are truly lucky to live in a good community with so many lovely people with insightful tactics. I feel quite privileged to have come across the web pages and look forward to so many more fabulous minutes reading here. Thanks a lot once again for everything.

Thank you a lot for giving everyone an extremely spectacular opportunity to read articles and blog posts from this website. It is often so cool and also packed with amusement for me and my office co-workers to search your site a minimum of thrice a week to study the fresh things you have got. Not to mention, we are actually satisfied with your surprising tricks served by you. Some two points on this page are rather the most impressive I have had.

I wanted to create you a little bit of observation to finally say thanks a lot again regarding the wonderful tactics you have provided at this time. It is simply extremely generous of you to convey easily exactly what a number of people could possibly have supplied as an ebook to help make some money on their own, especially since you could have tried it in case you decided. Those tricks also worked to become a good way to recognize that most people have the identical passion just as my personal own to realize a whole lot more in regard to this problem. I'm certain there are millions of more pleasurable opportunities ahead for those who find out your blog.

Thanks a lot for providing individuals with a very nice opportunity to read critical reviews from here. It really is so excellent plus full of a great time for me and my office mates to visit the blog particularly three times in a week to find out the latest things you will have. Not to mention, we're actually motivated with your surprising ideas you give. Certain 3 points in this post are unequivocally the most impressive we've ever had.

Thanks so much for providing individuals with an extremely marvellous chance to read in detail from this web site. It is always so awesome plus jam-packed with fun for me personally and my office peers to search your website particularly thrice in a week to find out the latest guidance you have got. And lastly, we're certainly amazed for the gorgeous tricks you serve. Some 1 ideas in this article are definitely the most effective I have had.

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.

I enjoy you because of your entire hard work on this blog. My mum takes pleasure in managing internet research and it's really easy to understand why. Most people notice all regarding the lively mode you render advantageous tips and tricks by means of the web blog and in addition strongly encourage participation from people on the area of interest then our daughter is certainly understanding a whole lot. Take advantage of the rest of the new year. You are always carrying out a useful job.

I want to express thanks to this writer for bailing me out of this type of scenario. Because of looking throughout the world wide web and getting notions that were not helpful, I assumed my entire life was gone. Existing minus the strategies to the problems you have resolved by way of the write-up is a crucial case, as well as those that could have badly affected my career if I had not noticed the blog. Your training and kindness in taking care of all things was valuable. I am not sure what I would've done if I had not come upon such a stuff like this. I'm able to at this time relish my future. Thanks for your time very much for the skilled and sensible help. I won't be reluctant to endorse the website to any person who needs and wants assistance on this subject matter.

I wish to point out my admiration for your kindness giving support to individuals that really need guidance on that topic. Your real dedication to passing the solution throughout appeared to be definitely practical and has specifically encouraged others just like me to get to their ambitions. This insightful suggestions can mean so much a person like me and further more to my peers. Thank you; from everyone of us.

I have to express my appreciation to the writer just for bailing me out of this type of difficulty. After surfing around throughout the search engines and finding opinions which are not powerful, I thought my life was gone. Existing without the presence of approaches to the difficulties you have fixed through your main post is a serious case, and the kind which may have in a wrong way damaged my career if I had not noticed your web site. The expertise and kindness in taking care of the whole thing was excellent. I am not sure what I would have done if I had not come upon such a step like this. I can at this moment look ahead to my future. Thanks for your time so much for the professional and results-oriented guide. I won't think twice to suggest the website to any individual who needs to have guidance on this matter.

I wish to point out my respect for your kind-heartedness for women who really want help on this particular topic. Your very own commitment to passing the solution up and down was exceedingly beneficial and have continuously helped guys and women like me to attain their pursuits. This valuable tutorial means a whole lot to me and extremely more to my peers. Many thanks; from each one of us.

I precisely desired to thank you very much yet again. I'm not certain what I would have implemented in the absence of the secrets discussed by you directly on that concern. It had been an absolute difficult concern for me personally, but being able to view this expert mode you processed that took me to leap over fulfillment. Now i'm grateful for your service and as well , sincerely hope you comprehend what a powerful job you are always getting into educating the others by way of your site. More than likely you have never encountered all of us.

I wish to express my affection for your generosity in support of persons that have the need for help on in this concept. Your very own commitment to getting the solution up and down had become extremely interesting and has allowed others much like me to arrive at their aims. Your helpful help and advice signifies so much a person like me and still more to my peers. Best wishes; from everyone of us.

My wife and i ended up being quite happy that Emmanuel could do his analysis via the precious recommendations he came across using your site. It's not at all simplistic just to happen to be releasing guides which usually some people may have been selling. Therefore we consider we need the blog owner to appreciate because of that. The most important illustrations you made, the easy website menu, the friendships you will aid to create - it is many unbelievable, and it's really letting our son and our family believe that the subject matter is satisfying, which is certainly wonderfully essential. Many thanks for the whole thing!

I'm also commenting to make you understand of the nice discovery my wife's daughter found studying your blog. She came to understand so many pieces, not to mention what it is like to have a wonderful teaching mindset to make other people very easily comprehend some hard to do subject areas. You truly did more than our expected results. Thank you for giving these interesting, dependable, revealing and unique guidance on this topic to Janet.

I simply wanted to compose a remark in order to express gratitude to you for all of the wonderful tricks you are writing at this site. My incredibly long internet investigation has at the end of the day been paid with brilliant insight to write about with my friends. I 'd assume that we site visitors actually are truly lucky to be in a really good site with very many special people with helpful basics. I feel somewhat fortunate to have encountered your entire website and look forward to so many more cool minutes reading here. Thank you once more for everything.

I must express some thanks to you for rescuing me from such a dilemma. After checking through the the web and finding ideas which are not beneficial, I was thinking my life was over. Being alive minus the solutions to the issues you've resolved through your good posting is a critical case, as well as the kind that could have in a negative way damaged my entire career if I had not encountered your web site. Your good skills and kindness in handling every aspect was useful. I don't know what I would've done if I hadn't come across such a solution like this. I can also at this time relish my future. Thanks so much for the expert and effective guide. I will not be reluctant to suggest the sites to anyone who will need direction on this issue.

I actually wanted to make a simple word so as to say thanks to you for those nice steps you are giving at this site. My incredibly long internet investigation has now been recognized with sensible content to share with my neighbours. I would mention that many of us readers actually are definitely blessed to dwell in a perfect place with so many outstanding people with very beneficial advice. I feel extremely happy to have seen your entire web site and look forward to really more amazing moments reading here. Thank you once again for everything.

I precisely needed to say thanks again. I'm not certain what I might have used in the absence of these suggestions shown by you over this subject. Completely was the difficult case in my opinion, nevertheless encountering a well-written fashion you dealt with it made me to jump over contentment. I will be thankful for this help and thus wish you recognize what a great job that you're undertaking instructing others using your website. Probably you've never got to know any of us.

I would like to express appreciation to you just for bailing me out of such a matter. Just after checking through the internet and coming across ways which were not powerful, I assumed my entire life was done. Living without the presence of strategies to the difficulties you have fixed by means of your site is a critical case, and those which could have badly damaged my entire career if I hadn't come across your site. Your primary knowledge and kindness in handling everything was invaluable. I'm not sure what I would have done if I hadn't encountered such a subject like this. It's possible to at this moment look forward to my future. Thank you so much for your impressive and amazing help. I will not hesitate to propose your web blog to any individual who should receive support about this area.

I would like to convey my respect for your kind-heartedness for those individuals that actually need guidance on this particular theme. Your very own dedication to getting the solution along appeared to be astonishingly practical and have surely made workers much like me to attain their objectives. Your own helpful publication denotes a whole lot a person like me and a whole lot more to my office workers. Warm regards; from all of us.

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.

I not to mention my friends came taking note of the best techniques found on your web page and all of the sudden I had an awful feeling I never expressed respect to the website owner for those techniques. My women ended up totally happy to read them and have now truly been making the most of them. I appreciate you for truly being quite thoughtful and then for using variety of ideal subjects most people are really desirous to understand about. Our sincere regret for not expressing gratitude to you sooner.

I enjoy you because of each of your work on this blog. Betty delights in going through investigations and it is easy to see why. Many of us hear all relating to the powerful ways you deliver both interesting and useful guidance on the web blog and recommend response from other individuals on that concern and our daughter is learning a lot of things. Have fun with the remaining portion of the year. You are performing a dazzling job.

I must show my thanks to this writer for bailing me out of this instance. After browsing through the world wide web and coming across ideas which are not beneficial, I thought my entire life was gone. Living devoid of the approaches to the problems you've fixed by way of the blog post is a serious case, and the ones which may have negatively damaged my entire career if I had not come across your blog post. The knowledge and kindness in taking care of a lot of stuff was priceless. I am not sure what I would've done if I had not discovered such a solution like this. I can at this time look ahead to my future. Thanks a lot so much for your skilled and results-oriented help. I won't think twice to propose the blog to anybody who needs direction on this issue.

A lot of thanks for your whole efforts on this site. Kate enjoys managing research and it's really simple to grasp why. All of us know all concerning the compelling way you convey advantageous tips and tricks through the blog and in addition cause response from other ones about this issue then my princess has always been discovering a whole lot. Take pleasure in the rest of the new year. Your carrying out a terrific job.

I together with my buddies ended up taking note of the best tricks found on your web page and then all of a sudden I got a terrible suspicion I never thanked the website owner for them. All of the people had been for this reason excited to learn them and now have extremely been enjoying these things. We appreciate you simply being well helpful and also for having this kind of remarkable tips millions of individuals are really needing to know about. My very own honest regret for not saying thanks to you sooner.

I wanted to type a small message so as to say thanks to you for those marvelous pointers you are sharing here. My time consuming internet look up has now been compensated with useful insight to write about with my friends and family. I 'd claim that we website visitors are rather fortunate to dwell in a fantastic website with so many brilliant individuals with good tips and hints. I feel really blessed to have encountered the website and look forward to some more cool times reading here. Thank you once again for all the details.

I as well as my pals ended up reading the excellent things located on your website then quickly got a terrible suspicion I never thanked you for those tips. All the boys ended up for that reason passionate to read them and have undoubtedly been having fun with those things. Appreciate your getting so kind as well as for going for this sort of helpful guides millions of individuals are really wanting to know about. My personal sincere regret for not saying thanks to sooner.

I'm writing to make you be aware of what a notable experience my friend's daughter obtained checking your blog. She discovered many details, which include what it is like to possess an excellent giving nature to get the rest quite simply grasp specified hard to do subject areas. You really exceeded my desires. Many thanks for distributing these helpful, healthy, educational and also fun tips about your topic to Emily.

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.

My spouse and i felt now happy that Emmanuel managed to carry out his studies because of the ideas he had while using the web page. It's not at all simplistic to simply continually be giving for free secrets and techniques some people might have been making money from. Therefore we do understand we have the blog owner to appreciate for this. The type of illustrations you have made, the simple site navigation, the friendships your site assist to instill - it is mostly spectacular, and it's aiding our son and our family consider that that situation is satisfying, which is rather mandatory. Thank you for the whole thing!

I precisely wanted to thank you very much yet again. I am not sure the things I could possibly have gone through in the absence of the methods revealed by you about this topic. It truly was the difficult concern in my circumstances, however , encountering this well-written technique you managed the issue took me to leap for fulfillment. I am just thankful for your information and expect you know what a powerful job you are always undertaking educating others via a site. Probably you've never encountered any of us.

I intended to put you this very small word to say thanks a lot the moment again for those awesome principles you have documented on this website. It is so extremely open-handed with you to provide extensively all most people could have distributed as an e-book in making some dough for their own end, notably considering the fact that you could have done it if you ever decided. These techniques also acted to become fantastic way to recognize that someone else have the identical fervor just as my own to grasp a great deal more in regard to this problem. I am certain there are many more enjoyable sessions in the future for folks who examine your blog.

I really wanted to type a quick comment to express gratitude to you for all of the marvelous suggestions you are placing on this website. My time consuming internet look up has at the end been recognized with professional insight to go over with my two friends. I 'd say that we website visitors are undoubtedly endowed to dwell in a remarkable website with so many awesome people with very beneficial guidelines. I feel quite fortunate to have encountered your website page and look forward to plenty of more thrilling minutes reading here. Thanks once more for everything.

My wife and i felt very joyful Peter managed to carry out his studies out of the precious recommendations he made from your own web page. It's not at all simplistic to simply happen to be offering guides which usually some others have been selling. We really do understand we've got you to be grateful to for that. All of the explanations you made, the easy blog navigation, the relationships you can give support to promote - it's got mostly wonderful, and it is facilitating our son in addition to our family believe that the content is entertaining, and that is truly serious. Many thanks for all the pieces!

Thank you a lot for providing individuals with remarkably terrific chance to read in detail from this blog. It really is very lovely and also full of a great time for me and my office colleagues to visit your blog at the least three times per week to study the new stuff you have got. And definitely, I'm actually astounded with all the mind-blowing knowledge you give. Some 3 facts in this posting are in truth the very best we have all had.

I needed to post you one bit of observation to help thank you as before for your wonderful techniques you have shared on this site. This has been certainly extremely open-handed of you giving without restraint precisely what numerous people could possibly have offered for sale as an e-book to generate some money on their own, mostly since you could possibly have tried it in the event you considered necessary. Those techniques in addition worked like the great way to realize that other people have the same keenness similar to my personal own to figure out somewhat more with regards to this matter. Certainly there are numerous more pleasurable periods up front for people who examine your website.

My spouse and i were really excited that Jordan could carry out his inquiry from the precious recommendations he received from your very own web page. It is now and again perplexing to simply be giving for free secrets and techniques people today have been trying to sell. And now we know we now have you to appreciate for that. The specific explanations you made, the easy web site menu, the relationships you can give support to instill - it's most awesome, and it's really aiding our son in addition to us consider that that theme is interesting, which is certainly unbelievably indispensable. Thank you for the whole thing!

I happen to be commenting to let you be aware of what a excellent experience our child had viewing your site. She learned such a lot of details, including what it is like to have a wonderful teaching heart to get many people completely understand a variety of problematic topics. You undoubtedly surpassed people's expectations. I appreciate you for imparting such necessary, dependable, explanatory as well as cool guidance on this topic to Julie.

I not to mention my buddies happened to be reading the great helpful tips from the blog while then developed an awful feeling I never expressed respect to the website owner for those tips. All the young men appeared to be so glad to read through all of them and have quite simply been taking advantage of these things. Thanks for actually being considerably considerate and also for making a decision on certain fabulous subject areas millions of individuals are really desirous to be aware of. My very own sincere apologies for not saying thanks to sooner.

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.

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.