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

672 Comments

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.

I wish to voice my affection for your generosity in support of men and women who really want assistance with your matter. Your very own commitment to passing the message throughout appears to be pretty informative and have in every case empowered professionals much like me to realize their ambitions. Your entire helpful help and advice entails a great deal to me and far more to my office workers. Warm regards; from each one of us.

Thank you a lot for providing individuals with an extremely pleasant opportunity to read critical reviews from this website. It is usually very amazing and also jam-packed with fun for me and my office friends to visit your blog really three times in one week to read through the fresh stuff you have got. And indeed, I am just certainly fulfilled with all the extraordinary pointers you give. Certain two points on this page are really the most suitable I have had.

I enjoy you because of each of your hard work on this blog. Betty really likes getting into research and it's simple to grasp why. All of us hear all of the lively manner you present valuable items through the website and inspire participation from other individuals on that subject so our child is certainly being taught so much. Enjoy the remaining portion of the new year. You are always carrying out a really great job.

I want to express my gratitude for your generosity giving support to men and women that really need help on that field. Your personal dedication to getting the message up and down was really significant and has regularly allowed employees much like me to reach their ambitions. Your informative guidelines implies a great deal to me and far more to my colleagues. Thanks a lot; from everyone of us.

I as well as my buddies happened to be checking out the best recommendations located on the website then then got an awful suspicion I never expressed respect to the blog owner for those secrets. All of the guys appeared to be thrilled to study all of them and have in effect in reality been using these things. Appreciate your turning out to be very accommodating as well as for deciding on some quality guides most people are really desperate to discover. My very own sincere regret for not saying thanks to you earlier.

Thank you so much for providing individuals with a very superb chance to read from here. It's always very lovely plus jam-packed with a great time for me personally and my office co-workers to search the blog the equivalent of thrice in a week to learn the new guidance you have. And definitely, I'm actually fascinated considering the beautiful tips you give. Some two areas on this page are easily the finest we have all ever had.

Thanks so much for providing individuals with an exceptionally remarkable chance to check tips from this web site. It's usually very beneficial and as well , jam-packed with a great time for me and my office fellow workers to search the blog more than thrice weekly to read the fresh things you will have. And definitely, I'm certainly contented for the exceptional things you give. Some 4 points on this page are in fact the most suitable we have ever had.

My spouse and i have been now delighted Ervin could deal with his preliminary research through the entire precious recommendations he came across when using the web pages. It's not at all simplistic just to happen to be giving away facts which often people today may have been selling. And we all know we need the website owner to thank for that. The most important illustrations you made, the easy site navigation, the friendships you assist to foster - it's got many astounding, and it is making our son in addition to us feel that the theme is excellent, and that's extraordinarily indispensable. Thanks for the whole thing!

I wanted to make a brief message to be able to say thanks to you for all of the lovely pointers you are giving on this website. My time consuming internet look up has finally been honored with awesome insight to write about with my family. I 'd declare that many of us visitors actually are really lucky to dwell in a superb network with very many wonderful people with very beneficial things. I feel extremely grateful to have used your web site and look forward to really more entertaining times reading here. Thank you again for all the details.

I happen to be writing to let you be aware of what a terrific discovery my wife's daughter experienced reading your web site. She mastered plenty of things, with the inclusion of what it is like to have an excellent giving spirit to have other individuals just completely grasp chosen extremely tough subject matter. You truly exceeded visitors' expectations. Many thanks for imparting such helpful, trusted, revealing and even cool thoughts on the topic to Sandra.

I in addition to my buddies happened to be reviewing the nice ideas on your web blog while all of a sudden got an awful suspicion I had not expressed respect to the web blog owner for those secrets. All of the boys were so passionate to study all of them and have definitely been taking advantage of them. Thank you for getting indeed considerate and for considering variety of important issues millions of individuals are really eager to be informed on. My personal honest regret for not expressing appreciation to you sooner.

Thank you for your own work on this site. Debby delights in making time for investigations and it's obvious why. All of us notice all concerning the dynamic ways you produce reliable tips and hints by means of your website and in addition attract participation from people on this situation and my daughter is always starting to learn a whole lot. Enjoy the remaining portion of the new year. You are always conducting a fabulous job.

I wish to convey my love for your kindness giving support to people who have the need for guidance on this topic. Your special dedication to getting the solution up and down appears to be wonderfully significant and have in most cases encouraged professionals much like me to attain their ambitions. This insightful facts signifies a whole lot to me and extremely more to my office workers. Thanks a ton; from each one of us.

I would like to show appreciation to the writer for bailing me out of this type of instance. Just after browsing throughout the search engines and meeting techniques that were not powerful, I was thinking my life was well over. Living devoid of the solutions to the issues you've sorted out all through your good guideline is a critical case, as well as ones that might have in a wrong way damaged my entire career if I had not noticed your blog. That mastery and kindness in touching the whole thing was valuable. I'm not sure what I would have done if I hadn't come across such a subject like this. I can at this point relish my future. Thanks so much for your professional and result oriented guide. I won't be reluctant to endorse your blog post to any person who desires tips about this issue.

I wanted to write you one very small observation to help thank you very much over again on the striking thoughts you've provided in this article. This is quite particularly generous of people like you in giving openly what a few individuals would've made available for an ebook to help make some cash for their own end, particularly given that you might well have tried it in case you decided. Those solutions also acted to be a fantastic way to understand that other individuals have the same zeal similar to mine to know the truth a little more regarding this condition. I know there are numerous more enjoyable sessions ahead for many who start reading your blog post.

Needed to draft you a very little word so as to say thanks a lot yet again for all the amazing thoughts you have shared at this time. This is so seriously open-handed with you to grant openly just what most of us might have made available for an e-book to help with making some profit on their own, especially seeing that you might have tried it in the event you decided. These tactics also served to be the fantastic way to understand that other individuals have the same eagerness really like my own to grasp many more when it comes to this matter. Certainly there are many more pleasurable instances up front for those who look over your site.

I simply wanted to develop a comment in order to say thanks to you for the precious tactics you are writing here. My considerable internet investigation has finally been rewarded with extremely good facts and techniques to go over with my partners. I 'd tell you that most of us site visitors are definitely fortunate to exist in a fabulous community with many awesome individuals with very beneficial tactics. I feel extremely privileged to have used the website and look forward to plenty of more enjoyable minutes reading here. Thanks a lot once again for everything.

I and my friends have already been reading through the excellent helpful tips found on your web site and so the sudden got a terrible suspicion I had not thanked you for those techniques. My men became for that reason stimulated to study them and have in effect in actuality been taking advantage of these things. Appreciate your simply being really helpful as well as for deciding on variety of fine things millions of individuals are really desirous to learn about. My very own sincere regret for not expressing appreciation to earlier.

I wish to show thanks to you just for rescuing me from such a challenge. Right after looking out through the world wide web and meeting things which were not productive, I was thinking my life was over. Living without the presence of answers to the issues you've solved as a result of your good review is a critical case, and ones that might have in a wrong way damaged my entire career if I had not come across the website. Your personal training and kindness in maneuvering everything was tremendous. I am not sure what I would have done if I hadn't encountered such a point like this. I am able to at this time look ahead to my future. Thanks for your time very much for this professional and results-oriented guide. I will not be reluctant to suggest the sites to anybody who wants and needs guide on this area.

I wish to express my appreciation for your kind-heartedness for folks who have the need for help on this one concept. Your very own dedication to getting the solution all over was incredibly informative and have continually empowered many people like me to get to their aims. Your own invaluable instruction implies a lot to me and a whole lot more to my peers. Many thanks; from all of us.

I together with my guys ended up reviewing the great tricks on your website and so instantly came up with a terrible feeling I never thanked the website owner for those tips. All the young boys are already as a result thrilled to read them and have now sincerely been tapping into these things. Appreciation for actually being indeed accommodating and also for getting these kinds of high-quality tips millions of individuals are really needing to learn about. My very own sincere apologies for not expressing gratitude to sooner.

Thank you so much for giving everyone such a spectacular opportunity to check tips from this website. It's always very pleasing and as well , packed with amusement for me personally and my office friends to search your web site the equivalent of 3 times in a week to find out the new guidance you have got. Of course, we are at all times impressed with the powerful advice you give. Certain two areas in this article are in truth the finest I have ever had.

I'm just writing to make you know of the helpful discovery my wife's child obtained visiting your blog. She came to understand plenty of issues, not to mention what it is like to have an incredible helping mindset to get many more without difficulty comprehend chosen grueling issues. You truly did more than readers' expectations. Thanks for coming up with those great, healthy, informative not to mention fun guidance on the topic to Emily.

My wife and i were really satisfied when Albert could finish up his researching out of the ideas he made out of your web site. It is now and again perplexing to just happen to be handing out facts that many some others may have been selling. We really do know we now have the website owner to appreciate because of that. The explanations you made, the simple site menu, the friendships you can help to promote - it is mostly great, and it is helping our son and us consider that this subject is amusing, which is certainly pretty essential. Thank you for everything!

Thanks so much for providing individuals with an extraordinarily spectacular opportunity to read critical reviews from this site. It's always so ideal and also jam-packed with amusement for me personally and my office mates to visit your web site the equivalent of 3 times per week to see the latest guidance you have. And of course, I'm usually astounded with all the cool opinions you serve. Some 1 areas on this page are surely the most efficient I've had.

My wife and i felt very happy when Ervin managed to deal with his basic research via the ideas he came across from your very own blog. It is now and again perplexing to simply continually be giving out techniques which often some people might have been trying to sell. And we figure out we have got the writer to be grateful to for this. These illustrations you made, the simple site navigation, the relationships you help instill - it's many extraordinary, and it's really letting our son and us imagine that that concept is enjoyable, which is rather essential. Many thanks for all!

I'm just writing to make you be aware of what a really good encounter my friend's daughter encountered viewing your web site. She even learned lots of issues, with the inclusion of how it is like to possess an excellent giving character to have the others with ease know precisely several very confusing issues. You actually surpassed visitors' expected results. I appreciate you for coming up with such warm and helpful, healthy, explanatory and even cool guidance on your topic to Mary.

Thank you for all your valuable efforts on this web page. My mother really likes engaging in investigation and it is obvious why. I know all regarding the dynamic means you offer advantageous solutions through your blog and therefore recommend participation from some others on that article so our own simple princess is always being taught a whole lot. Enjoy the rest of the year. You are conducting a stunning job.

Thanks a lot for giving everyone a very nice possiblity to read articles and blog posts from this blog. It is always very pleasurable and also full of a lot of fun for me and my office co-workers to visit your site at least thrice a week to study the latest guidance you have. And definitely, I'm so certainly fulfilled with all the sensational pointers you serve. Some two facts in this posting are unequivocally the finest we've had.

I must express my passion for your kindness in support of women who have the need for help with this important situation. Your personal commitment to getting the solution across appears to be incredibly productive and has permitted associates much like me to reach their pursuits. Your entire warm and helpful recommendations signifies a great deal to me and extremely more to my peers. Best wishes; from all of us.

Thank you a lot for giving everyone an extremely special chance to read in detail from here. It is usually very cool and also jam-packed with a lot of fun for me and my office fellow workers to visit your web site really 3 times in a week to find out the new things you have got. And of course, I am also always astounded considering the very good things you give. Selected 2 points in this article are honestly the finest we've had.

I'm commenting to let you understand of the exceptional discovery my child undergone reading the blog. She discovered some things, not to mention what it is like to possess a great coaching nature to get a number of people with ease fully grasp various very confusing matters. You truly exceeded our expectations. Thanks for offering such great, healthy, educational and even fun tips on this topic to Julie.

I wish to show my appreciation to this writer just for rescuing me from this type of matter. As a result of checking through the search engines and finding basics which were not helpful, I believed my life was done. Being alive without the solutions to the problems you have sorted out as a result of this post is a crucial case, and ones that might have badly affected my entire career if I had not noticed the website. That know-how and kindness in controlling everything was vital. I'm not sure what I would have done if I had not come across such a stuff like this. I am able to at this moment look forward to my future. Thank you very much for the impressive and result oriented guide. I will not hesitate to propose your blog post to anyone who should have care about this area.

I in addition to my guys have already been going through the best pointers from your site and so quickly I had a horrible suspicion I had not expressed respect to the web site owner for those strategies. The young boys came totally warmed to read through all of them and already have seriously been making the most of those things. Appreciate your getting indeed helpful and also for pick out some beneficial subject matter most people are really eager to learn about. Our own honest apologies for not expressing appreciation to you sooner.

Thanks for all your hard work on this blog. My aunt really loves participating in investigation and it is simple to grasp why. Most people hear all relating to the powerful ways you give practical strategies via the blog and in addition strongly encourage response from visitors on that theme then my child is certainly understanding a lot. Enjoy the rest of the new year. You're performing a fantastic job.

I needed to create you that little bit of note in order to say thanks a lot yet again for your nice information you have discussed here. It has been strangely generous with you to grant easily all that many of us might have offered for sale for an e-book to earn some cash for their own end, even more so now that you could possibly have done it in case you wanted. These points likewise served like the great way to fully grasp other individuals have a similar eagerness just like my personal own to realize way more in regard to this issue. I am sure there are lots of more fun instances ahead for people who look over your website.

I wish to express thanks to you for rescuing me from such a dilemma. Just after researching through the online world and seeing advice which were not productive, I believed my entire life was done. Being alive without the presence of answers to the difficulties you have fixed by way of this guideline is a crucial case, as well as the ones which might have negatively affected my career if I hadn't noticed your site. That skills and kindness in controlling every item was crucial. I'm not sure what I would've done if I had not discovered such a step like this. I can also at this time look ahead to my future. Thank you very much for your impressive and result oriented guide. I will not be reluctant to refer your blog post to any person who would need counselling about this topic.

I am just writing to let you know what a exceptional experience my wife's girl found reading through your site. She came to understand many details, which include what it's like to have an awesome helping style to get the others without hassle have an understanding of some tortuous things. You undoubtedly exceeded visitors' expected results. Thanks for offering such valuable, trustworthy, edifying not to mention cool tips about that topic to Mary.

Thank you a lot for giving everyone remarkably breathtaking possiblity to discover important secrets from this site. It's always very superb plus full of a good time for me personally and my office co-workers to visit your site particularly 3 times in one week to learn the new things you have got. And indeed, I'm at all times astounded with the sensational knowledge you serve. Some 3 areas on this page are certainly the most suitable I have had.

I want to get across my love for your kind-heartedness for individuals that require assistance with this study. Your real dedication to getting the message throughout ended up being remarkably informative and have continuously encouraged people like me to attain their desired goals. Your amazing warm and friendly guidelines denotes much to me and still more to my office workers. Thanks a lot; from all of us.

My wife and i have been now relieved Michael managed to conclude his investigations through the precious recommendations he acquired when using the web site. It's not at all simplistic to just be handing out facts which some other people could have been making money from. We remember we need the writer to thank because of that. These explanations you've made, the simple blog menu, the relationships you assist to promote - it's most sensational, and it's really leading our son in addition to us do think that matter is brilliant, and that is incredibly serious. Thank you for the whole lot!

Thank you so much for providing individuals with an exceptionally spectacular chance to read critical reviews from here. It's usually so pleasurable plus jam-packed with amusement for me personally and my office friends to visit your blog at the very least thrice every week to learn the fresh things you have got. Of course, we are at all times contented with your amazing strategies you give. Some 2 areas in this posting are unquestionably the most suitable we have ever had.

I wish to show some appreciation to you for rescuing me from this type of challenge. After looking out through the online world and finding tricks that were not helpful, I thought my life was gone. Being alive devoid of the strategies to the issues you've resolved by means of your good short article is a critical case, as well as ones that might have in a negative way damaged my career if I hadn't come across your site. Your good understanding and kindness in handling the whole thing was tremendous. I'm not sure what I would have done if I had not come upon such a point like this. I am able to at this moment look ahead to my future. Thank you so much for the impressive and result oriented help. I will not hesitate to recommend your web blog to any individual who needs direction about this subject matter.

I am writing to let you understand of the incredible encounter my cousin's daughter encountered going through your blog. She learned a wide variety of details, which include what it's like to possess an awesome giving character to make many more without difficulty know various multifaceted subject matter. You truly did more than our own desires. Many thanks for coming up with these precious, trusted, revealing as well as fun thoughts on this topic to Julie.

I intended to create you this very small word so as to say thanks a lot yet again just for the beautiful principles you've provided here. It is certainly seriously generous of you to give without restraint what some people would have supplied as an e-book in making some profit for their own end, precisely seeing that you could possibly have done it if you desired. Those creative ideas as well served to become a fantastic way to know that other people have a similar interest really like my own to know the truth whole lot more with regard to this matter. I am sure there are several more enjoyable times up front for individuals that looked at your blog.

I'm just commenting to let you be aware of of the outstanding discovery my girl obtained visiting your web site. She mastered too many pieces, which include what it's like to have a marvelous helping spirit to make other folks just know just exactly chosen grueling subject areas. You actually did more than my expectations. I appreciate you for producing the necessary, trusted, explanatory and even fun thoughts on that topic to Evelyn.

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.