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

369 Comments

I simply wanted to send a brief remark so as to appreciate you for some of the wonderful items you are giving on this site. My time-consuming internet research has finally been recognized with really good concept to talk about with my close friends. I 'd believe that we website visitors actually are very endowed to be in a perfect site with very many outstanding people with very helpful suggestions. I feel very much blessed to have used the weblog and look forward to some more enjoyable times reading here. Thanks a lot once again for all the details.

I am also commenting to make you understand of the terrific encounter my friend's child had reading through your webblog. She noticed numerous issues, most notably what it is like to have a wonderful teaching character to have many others smoothly know just exactly a number of impossible subject matter. You actually exceeded visitors' expected results. Many thanks for giving such necessary, dependable, informative and cool thoughts on your topic to Emily.

Thanks so much for providing individuals with an extremely wonderful possiblity to discover important secrets from this web site. It is often so brilliant and jam-packed with a lot of fun for me and my office fellow workers to visit your website nearly thrice a week to find out the new items you have. And lastly, I'm just usually impressed with your gorgeous suggestions you serve. Selected 1 areas in this post are particularly the most efficient we have ever had.

I wish to show my appreciation to the writer just for bailing me out of this particular crisis. Because of searching throughout the world wide web and getting suggestions which are not productive, I was thinking my life was well over. Existing devoid of the answers to the problems you've fixed by means of your main article content is a serious case, as well as those which may have in a wrong way damaged my career if I hadn't encountered your web page. Your own personal ability and kindness in controlling the whole thing was crucial. I don't know what I would've done if I had not encountered such a thing like this. I am able to now look ahead to my future. Thanks for your time very much for the professional and amazing guide. I won't hesitate to propose your blog to any individual who desires care on this subject matter.

I truly wanted to write a simple word to be able to say thanks to you for all of the fabulous advice you are giving at this site. My long internet lookup has at the end been honored with really good facts to share with my co-workers. I 'd repeat that we readers actually are undeniably endowed to dwell in a fine place with many marvellous individuals with great tactics. I feel extremely lucky to have encountered your entire webpage and look forward to tons of more fabulous moments reading here. Thanks a lot again for everything.

I must express appreciation to this writer for rescuing me from this type of issue. As a result of exploring through the the net and coming across suggestions which are not powerful, I assumed my entire life was well over. Living devoid of the answers to the problems you have solved through your entire post is a crucial case, as well as the kind which could have in a wrong way damaged my career if I hadn't come across the website. Your main mastery and kindness in dealing with every aspect was helpful. I'm not sure what I would've done if I hadn't come across such a stuff like this. I am able to at this moment look forward to my future. Thanks for your time very much for the reliable and results-oriented help. I won't think twice to propose the sites to any individual who should get direction about this issue.

I precisely needed to appreciate you once more. I do not know the things that I could possibly have achieved without the entire thoughts shared by you over that situation. It previously was an absolute difficult setting for me personally, however , spending time with the very specialized strategy you resolved the issue made me to cry with joy. Extremely thankful for your service and as well , hope you recognize what a powerful job you're providing teaching other individuals using a site. More than likely you haven't met any of us.

I and my pals were reading the best advice on your site and then all of the sudden came up with an awful suspicion I had not expressed respect to you for those tips. Those young men ended up for this reason joyful to study them and have pretty much been tapping into them. I appreciate you for really being very kind and for obtaining varieties of quality themes most people are really desirous to know about. Our own sincere regret for not expressing appreciation to earlier.

I want to show my admiration for your generosity giving support to people who really want assistance with in this content. Your real commitment to passing the message all through had become surprisingly useful and has frequently helped those just like me to realize their aims. This warm and friendly guideline means a whole lot to me and much more to my fellow workers. Thanks a ton; from each one of us.

I simply wanted to develop a comment in order to express gratitude to you for these amazing pointers you are giving here. My considerable internet research has at the end been paid with brilliant details to share with my guests. I 'd admit that most of us visitors actually are unquestionably blessed to dwell in a fantastic network with many perfect people with valuable things. I feel extremely lucky to have seen your entire site and look forward to tons of more amazing minutes reading here. Thank you again for everything.

I am only writing to let you know what a fabulous discovery my princess enjoyed viewing your webblog. She came to find numerous things, not to mention what it's like to possess a great giving style to have a number of people just learn some complicated issues. You truly surpassed readers' expected results. Thank you for imparting those valuable, safe, educational not to mention unique guidance on this topic to Evelyn.

I am glad for writing to let you know what a perfect experience my wife's princess obtained going through your blog. She mastered many details, with the inclusion of what it's like to have an amazing coaching character to have many people quite simply know just exactly selected advanced issues. You really surpassed visitors' desires. Thank you for providing the helpful, safe, explanatory and even easy tips about this topic to Kate.

I not to mention my pals were actually checking out the good secrets and techniques on your site and then I had an awful feeling I had not thanked the blog owner for those tips. The men had been as a consequence thrilled to read through them and already have quite simply been making the most of these things. We appreciate you truly being really kind and then for going for this form of cool resources most people are really eager to discover. My personal sincere apologies for not expressing appreciation to you sooner.

I enjoy you because of every one of your efforts on this site. Kate take interest in carrying out internet research and it's really easy to understand why. Most of us learn all about the dynamic means you render worthwhile tactics by means of this website and as well as foster contribution from other ones on this issue and our favorite simple princess is actually becoming educated a lot. Have fun with the rest of the new year. You're the one carrying out a first class job.

I and also my buddies have been reviewing the nice hints on your web blog and then came up with a terrible suspicion I had not thanked the website owner for those tips. My people ended up for that reason warmed to learn all of them and already have simply been using those things. Thank you for genuinely simply helpful and also for selecting some good subjects millions of individuals are really desperate to discover. My sincere regret for not expressing gratitude to you earlier.

I precisely desired to thank you very much again. I am not sure the things that I might have achieved without those points documented by you over that subject. It actually was a very frightening issue in my circumstances, but being able to view the very specialised approach you solved that made me to leap with contentment. Now i'm happy for this help and even pray you know what an amazing job that you're providing instructing the rest with the aid of your webblog. I am certain you haven't encountered all of us.

I'm just writing to make you be aware of what a wonderful discovery my girl went through reading your web site. She mastered a good number of details, including how it is like to possess an awesome coaching style to get many others effortlessly fully grasp selected tricky matters. You actually exceeded my expectations. Thank you for churning out those necessary, healthy, revealing and as well as fun guidance on this topic to Evelyn.

I wish to express my thanks to the writer just for rescuing me from this dilemma. Just after checking through the internet and seeing things which are not helpful, I believed my life was done. Living without the presence of strategies to the difficulties you have fixed by means of the article content is a serious case, as well as those which could have negatively affected my career if I hadn't discovered the blog. Your primary competence and kindness in playing with all the details was precious. I am not sure what I would have done if I hadn't discovered such a stuff like this. It's possible to now relish my future. Thanks a lot so much for the specialized and amazing help. I will not hesitate to suggest your web page to anybody who needs counselling on this topic.

I intended to draft you one little word so as to give many thanks once again for the exceptional things you've discussed above. It is simply seriously generous with you to supply extensively just what a number of people could have distributed as an electronic book in order to make some money for their own end, mostly considering the fact that you could possibly have tried it in the event you considered necessary. The good tips as well acted to provide a fantastic way to be aware that some people have the same desire really like mine to see lots more when it comes to this matter. I know there are lots of more pleasurable periods up front for people who scan your blog post.

I really wanted to type a small message to express gratitude to you for some of the amazing information you are giving out on this site. My rather long internet lookup has at the end of the day been compensated with extremely good points to share with my family. I would repeat that we website visitors actually are truly fortunate to live in a decent network with very many awesome professionals with very beneficial advice. I feel really privileged to have used your web site and look forward to so many more fun times reading here. Thanks a lot again for all the details.

I precisely wanted to thank you very much again. I do not know the things that I might have created without the actual tricks discussed by you directly on this concern. Completely was the alarming circumstance in my view, nevertheless observing this specialised way you processed it took me to leap for gladness. I will be happier for this help and in addition believe you know what a powerful job you have been doing educating many others using a web site. I am certain you haven't met any of us.

I truly wanted to write down a word to thank you for those amazing advice you are placing here. My long internet lookup has now been rewarded with really good details to write about with my friends and classmates. I 'd claim that many of us readers actually are definitely lucky to dwell in a remarkable site with many perfect professionals with beneficial concepts. I feel pretty fortunate to have seen the weblog and look forward to so many more exciting minutes reading here. Thanks once again for everything.

I must point out my love for your kind-heartedness giving support to people who require guidance on the area. Your special commitment to getting the solution up and down turned out to be remarkably insightful and has specifically enabled professionals much like me to attain their targets. The important useful information indicates this much to me and even more to my colleagues. Warm regards; from all of us.

I wish to get across my gratitude for your kindness giving support to folks that really want guidance on in this issue. Your very own dedication to getting the solution along became amazingly powerful and have frequently empowered girls like me to get to their objectives. The interesting publication indicates a whole lot a person like me and even more to my colleagues. Thanks a lot; from each one of us.

I precisely wanted to thank you very much yet again. I'm not certain what I would've taken care of in the absence of these suggestions shared by you relating to such a industry. It became the challenging condition in my position, nevertheless observing a expert strategy you treated it made me to weep over contentment. I'm thankful for the information and even pray you realize what a great job your are providing instructing other individuals by way of your web site. Most probably you've never met any of us.

Thank you a lot for giving everyone remarkably remarkable chance to check tips from this web site. It really is very pleasant and also full of a lot of fun for me and my office co-workers to search your site at minimum three times per week to read through the fresh tips you have. And definitely, I am also always amazed with the tremendous guidelines served by you. Selected two ideas on this page are without a doubt the most beneficial I've ever had.

A lot of thanks for your entire hard work on this web page. Kate really loves carrying out research and it's really simple to grasp why. Most people notice all concerning the lively tactic you create invaluable items by means of this web blog and even foster response from some others on the concern plus our daughter is without a doubt studying a lot of things. Take advantage of the remaining portion of the new year. You have been carrying out a tremendous job.

I wish to express thanks to this writer for bailing me out of this type of circumstance. Because of surfing throughout the world wide web and coming across concepts that were not beneficial, I believed my life was well over. Being alive devoid of the solutions to the difficulties you've fixed by means of your entire short article is a critical case, and ones that might have in a negative way damaged my career if I had not noticed your web site. Your knowledge and kindness in controlling every aspect was important. I am not sure what I would have done if I had not come upon such a thing like this. I am able to at this moment look forward to my future. Thanks for your time very much for your professional and sensible help. I won't think twice to suggest your site to any person who should receive support about this topic.

I want to point out my appreciation for your generosity supporting folks who should have help on in this concern. Your very own dedication to getting the solution all through became really useful and has truly allowed regular people much like me to achieve their aims. The warm and helpful information signifies so much to me and still more to my mates. Thank you; from each one of us.

I am only commenting to let you know what a incredible discovery my princess obtained going through your web page. She even learned lots of pieces, most notably how it is like to have an excellent teaching nature to let others clearly thoroughly grasp specified hard to do subject matter. You undoubtedly exceeded visitors' expected results. Thank you for churning out the great, trustworthy, edifying and in addition fun tips on your topic to Kate.

I would like to show my appreciation for your generosity in support of persons who must have guidance on that subject matter. Your special commitment to getting the solution throughout came to be rather advantageous and have enabled those much like me to attain their aims. Your amazing valuable report means so much to me and even more to my mates. Thanks a lot; from all of us.

I simply wanted to thank you so much yet again. I am not sure what I would've done without these points revealed by you about such a area. It previously was the frightful concern for me, but coming across a specialized way you handled the issue made me to leap over happiness. I'm grateful for this help and as well , wish you realize what a great job you have been getting into educating many people through your web page. I am sure you haven't come across all of us.

Thank you a lot for giving everyone a very memorable possiblity to read critical reviews from this site. It is always so nice and as well , full of fun for me personally and my office acquaintances to search your web site at minimum 3 times in a week to see the newest things you will have. And definitely, I am just actually contented with the great techniques served by you. Selected 2 tips in this post are in reality the finest I've ever had.

I would like to point out my affection for your kind-heartedness for folks who really need assistance with that concept. Your personal dedication to passing the message up and down became exceedingly practical and has truly encouraged guys and women just like me to realize their dreams. Your entire useful tutorial signifies a whole lot to me and a whole lot more to my office workers. With thanks; from each one of us.

Thank you so much for giving everyone remarkably memorable possiblity to check tips from this site. It really is so useful and as well , packed with a lot of fun for me personally and my office friends to search your blog no less than thrice in 7 days to read through the latest stuff you will have. And indeed, I'm just certainly happy for the good principles you serve. Selected 1 areas in this post are really the most effective we've ever had.

I and also my guys have already been reading through the good procedures from your website and so quickly got a terrible feeling I never expressed respect to the website owner for those strategies. Those young men had been so thrilled to read all of them and have in effect certainly been tapping into those things. We appreciate you turning out to be very accommodating and for going for certain smart information millions of individuals are really wanting to be informed on. Our honest regret for not expressing appreciation to you sooner.

Thank you a lot for giving everyone remarkably superb possiblity to discover important secrets from here. It's usually very enjoyable and as well , full of a lot of fun for me personally and my office co-workers to visit your site at least three times a week to read the fresh issues you will have. And lastly, I am also certainly satisfied with the brilliant pointers served by you. Certain 3 areas in this posting are absolutely the most effective we have all ever had.

I precisely desired to thank you very much again. I'm not certain the things that I would have sorted out in the absence of the actual opinions shared by you over that subject matter. It absolutely was a real frightening concern for me, but coming across a new professional form you treated the issue made me to leap with delight. I'm happier for the information and thus pray you know what an amazing job you're doing instructing people today thru your blog post. I know that you haven't encountered all of us.

I am just commenting to make you know what a extraordinary experience my friend's daughter gained using yuor web blog. She picked up a good number of things, not to mention what it is like to have an excellent helping style to let the rest without problems learn about specified tortuous subject areas. You actually surpassed our expected results. Many thanks for imparting these effective, trusted, edifying and also cool thoughts on your topic to Kate.

My husband and i ended up being absolutely glad Ervin could finish off his researching using the precious recommendations he obtained when using the weblog. It's not at all simplistic to simply choose to be offering information and facts which usually other people have been selling. We really acknowledge we need the website owner to appreciate for that. The explanations you've made, the easy web site navigation, the friendships you will help to promote - it is mostly awesome, and it is facilitating our son in addition to the family reason why that content is satisfying, which is certainly very serious. Thank you for the whole lot!

I am writing to let you be aware of of the terrific encounter my cousin's girl undergone going through your site. She realized many issues, which included what it is like to possess a wonderful teaching character to let men and women completely master chosen very confusing topics. You undoubtedly exceeded visitors' expected results. Thanks for presenting those necessary, healthy, educational and also easy tips on your topic to Lizeth.

Thank you so much for giving everyone an extraordinarily brilliant chance to read in detail from this website. It is usually so kind and also stuffed with amusement for me and my office mates to search your site minimum three times in one week to find out the new things you will have. And of course, we're always amazed considering the striking tactics you serve. Selected 4 tips in this post are in truth the most effective we have all had.

I'm also writing to make you know what a excellent discovery my daughter enjoyed using yuor web blog. She discovered so many things, not to mention how it is like to have an incredible giving mindset to get a number of people clearly fully understand a number of problematic subject matter. You really exceeded readers' desires. I appreciate you for producing those great, dependable, explanatory and as well as unique thoughts on your topic to Janet.

Needed to write you the little bit of remark just to say thanks a lot the moment again with your lovely knowledge you have discussed in this article. This is quite extremely generous with people like you to give without restraint all that numerous people might have offered for an e-book to generate some cash for themselves, most notably now that you could possibly have done it if you ever wanted. Those techniques likewise served as the good way to know that some people have the identical keenness really like my own to realize whole lot more in terms of this condition. I believe there are thousands of more enjoyable opportunities ahead for folks who discover your website.

My spouse and i were absolutely fortunate when Chris could do his investigations by way of the ideas he obtained out of your web pages. It is now and again perplexing just to find yourself releasing points other folks have been trying to sell. Therefore we know we now have the blog owner to appreciate because of that. The illustrations you have made, the straightforward website navigation, the relationships your site give support to promote - it is all incredible, and it's helping our son and us reckon that that subject is pleasurable, and that is exceptionally vital. Thank you for the whole thing!

I just wanted to construct a brief message to thank you for some of the lovely tricks you are placing at this website. My time consuming internet investigation has at the end been compensated with professional know-how to write about with my colleagues. I would express that we visitors are quite blessed to live in a good website with very many wonderful people with insightful solutions. I feel rather blessed to have used your website page and look forward to plenty of more pleasurable times reading here. Thanks again for a lot of things.

I intended to draft you a bit of word in order to thank you so much once again for the spectacular secrets you have contributed here. It was certainly remarkably open-handed of people like you to provide freely all that some people could have offered as an e-book to help with making some bucks on their own, precisely seeing that you might well have tried it in the event you considered necessary. The secrets additionally worked as a great way to realize that some people have the identical dream just like my own to learn somewhat more in terms of this issue. I'm certain there are a lot more pleasant sessions in the future for many who check out your blog post.

I wanted to make a message in order to appreciate you for all the superb strategies you are giving out here. My extensive internet lookup has at the end of the day been compensated with really good concept to talk about with my family. I 'd state that that we site visitors are rather lucky to dwell in a fine community with very many outstanding professionals with very helpful points. I feel really lucky to have seen the website and look forward to really more cool minutes reading here. Thanks a lot again for all the details.

I actually wanted to write a quick message in order to express gratitude to you for all of the stunning techniques you are showing at this site. My time consuming internet investigation has now been paid with good quality ideas to talk about with my family. I 'd assume that we website visitors actually are really blessed to exist in a very good network with many brilliant individuals with interesting secrets. I feel truly grateful to have used the web page and look forward to many more fun minutes reading here. Thanks once more for a lot of things.

I am just writing to make you know what a really good encounter my cousin's princess experienced browsing your site. She noticed some things, most notably how it is like to have an incredible giving spirit to have others very easily know just exactly various advanced issues. You truly surpassed our own expected results. Thank you for providing these necessary, trustworthy, revealing and in addition unique guidance on this topic to Janet.

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.