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

I enjoy you because of all your valuable hard work on this website. My niece take interest in engaging in research and it's easy to see why. All of us know all relating to the dynamic medium you convey great guidelines via your web blog and invigorate response from some others on the idea so our daughter is without question starting to learn a whole lot. Have fun with the rest of the new year. You're the one performing a terrific job.

I and also my guys happened to be looking through the good secrets and techniques found on your web blog and so instantly came up with a terrible suspicion I never thanked the site owner for them. Most of the people became warmed to read through all of them and have undoubtedly been using these things. Appreciate your truly being simply thoughtful and for having variety of quality ideas most people are really wanting to understand about. Our own honest apologies for not expressing appreciation to earlier.

Thanks a lot for providing individuals with a very remarkable chance to check tips from this blog. It's always very pleasant plus full of fun for me and my office mates to visit your site particularly three times in one week to find out the fresh stuff you have. Of course, we are actually fulfilled concerning the magnificent hints you give. Some 1 areas in this post are particularly the most effective I have ever had.

I wanted to write you a very small observation to finally say thanks over again with your superb tricks you have featured here. It has been simply open-handed with you to make extensively all that a few individuals would've advertised for an ebook to generate some bucks on their own, particularly seeing that you might well have done it if you ever considered necessary. Those thoughts likewise served as a good way to realize that other individuals have the identical interest just as my own to understand somewhat more on the topic of this matter. I'm certain there are some more pleasurable sessions in the future for people who start reading your blog.

I not to mention my buddies have already been reading through the excellent secrets and techniques on your site and all of the sudden developed a terrible feeling I had not expressed respect to you for those secrets. Those young boys appeared to be glad to see them and have in effect unquestionably been tapping into these things. Appreciation for truly being well considerate and also for making a choice on this sort of notable guides millions of individuals are really needing to learn about. My personal honest regret for not expressing gratitude to sooner.

I intended to post you that bit of note to be able to say thanks as before for these exceptional suggestions you've shared above. It has been unbelievably generous with people like you to present freely just what many individuals might have supplied for an ebook to help with making some cash on their own, specifically considering the fact that you could possibly have done it if you ever wanted. Those strategies as well acted to become fantastic way to fully grasp other individuals have similar fervor just as my personal own to realize great deal more with respect to this condition. I am sure there are some more pleasurable opportunities in the future for those who scan your blog post.

I would like to express my appreciation for your kind-heartedness giving support to persons that must have help on that concept. Your very own commitment to passing the message along has been extraordinarily advantageous and have usually enabled workers like me to get to their aims. The insightful recommendations implies this much a person like me and extremely more to my office workers. Thank you; from each one of us.

Thank you so much for providing individuals with an extraordinarily nice possiblity to check tips from this web site. It is usually so pleasant and full of a lot of fun for me and my office co-workers to search your site a minimum of thrice in one week to read the new guidance you have. And lastly, we're always contented considering the powerful guidelines you serve. Some 2 areas in this article are completely the most efficient we've had.

I as well as my pals were found to be analyzing the great ideas located on your site while instantly I had a horrible feeling I never thanked the web site owner for those secrets. Those young men ended up consequently happy to read all of them and have now in fact been using those things. Appreciate your being very helpful and then for pick out variety of good resources millions of individuals are really wanting to be aware of. My very own honest regret for not saying thanks to earlier.

Thank you for your entire hard work on this blog. Gloria take interest in engaging in internet research and it's obvious why. My spouse and i notice all concerning the dynamic medium you deliver worthwhile thoughts via this blog and foster participation from some others on that topic so our favorite girl is in fact discovering so much. Take pleasure in the rest of the year. You are performing a first class job.

My husband and i have been really thrilled that Peter could carry out his preliminary research using the ideas he received from your web pages. It is now and again perplexing to simply be releasing solutions which often the others could have been making money from. Therefore we consider we now have the blog owner to be grateful to because of that. These illustrations you made, the easy blog menu, the relationships you aid to promote - it's all astounding, and it is assisting our son and the family reckon that the matter is entertaining, and that's incredibly indispensable. Thank you for all!

I want to get across my passion for your kindness supporting those people that really want guidance on this important question. Your personal commitment to getting the message along had been incredibly informative and have specifically made regular people just like me to attain their targets. Your personal important useful information signifies a whole lot to me and far more to my peers. Thanks a lot; from each one of us.

Thanks so much for giving everyone an extraordinarily breathtaking possiblity to read critical reviews from this website. It's usually so superb and as well , jam-packed with amusement for me personally and my office colleagues to search your web site at minimum thrice in a week to learn the fresh items you will have. Of course, I'm just usually impressed for the impressive suggestions served by you. Certain 3 points in this post are unquestionably the most beneficial we've ever had.

I happen to be commenting to make you understand of the superb experience our daughter experienced reading through your blog. She even learned some pieces, which included what it's like to possess a very effective coaching style to have folks with no trouble have an understanding of several very confusing things. You truly exceeded people's desires. I appreciate you for rendering these priceless, trustworthy, edifying and even fun guidance on that topic to Janet.

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.

Thank you so much for providing individuals with an extremely breathtaking possiblity to check tips from this site. It's usually so terrific and packed with a great time for me and my office fellow workers to visit your website at the very least 3 times weekly to see the fresh items you have got. And definitely, we're actually fascinated with the perfect opinions you serve. Some 1 areas in this post are absolutely the most effective we've ever had.

I wanted to develop a brief message so as to express gratitude to you for all the great guides you are giving out at this site. My time intensive internet look up has finally been honored with awesome information to go over with my family members. I 'd state that that we site visitors are extremely blessed to exist in a really good website with so many special professionals with good concepts. I feel very much happy to have seen your entire site and look forward to many more fun times reading here. Thanks again for a lot of things.

A lot of thanks for your whole work on this site. My mom really likes participating in investigations and it's obvious why. Many of us learn all relating to the dynamic tactic you offer functional information by means of the web site and as well as recommend participation from other people about this theme while our own princess is undoubtedly learning a great deal. Enjoy the remaining portion of the new year. You're the one performing a stunning job.

Thank you a lot for providing individuals with an extremely wonderful possiblity to read from this blog. It's always very pleasurable and jam-packed with fun for me and my office peers to search your website at the least thrice in a week to find out the latest guidance you have. Not to mention, I'm also actually fulfilled considering the powerful tips and hints you serve. Certain 3 areas on this page are in reality the simplest I have ever had.

I intended to draft you the little bit of note in order to thank you so much once again with the pleasing things you've featured on this page. It is simply unbelievably open-handed of you to present extensively what a few people would've offered for sale as an electronic book in making some money for their own end, and in particular seeing that you could possibly have tried it in case you wanted. The suggestions as well worked like a fantastic way to know that other individuals have a similar passion just as my own to grasp great deal more with regard to this condition. I'm certain there are many more enjoyable situations in the future for individuals that look over your blog.

I in addition to my guys have already been going through the excellent secrets from the website then all of a sudden I got an awful suspicion I never thanked the website owner for those strategies. The women were definitely for this reason warmed to see all of them and already have definitely been making the most of these things. Many thanks for getting considerably considerate as well as for selecting varieties of nice guides millions of individuals are really desirous to understand about. My very own sincere regret for not expressing appreciation to you earlier.

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.

I am commenting to make you understand what a impressive experience our child developed reading through your web site. She mastered some issues, with the inclusion of what it is like to have a great teaching mood to make most people without hassle thoroughly grasp a variety of impossible things. You truly did more than our own expectations. Thank you for imparting these invaluable, safe, educational and even unique tips about your topic to Gloria.

I wish to get across my love for your kindness for those people who need guidance on in this niche. Your very own dedication to passing the solution along became extremely beneficial and have all the time made ladies just like me to realize their endeavors. Your personal insightful instruction entails a whole lot a person like me and further more to my colleagues. Many thanks; from all of us.

I and my buddies appeared to be viewing the excellent tricks found on your web site then instantly I had an awful feeling I had not thanked the web site owner for those strategies. The young men happened to be certainly excited to see all of them and have in effect definitely been tapping into those things. We appreciate you really being simply kind and also for going for these kinds of superb subjects millions of individuals are really desirous to know about. My personal sincere apologies for not expressing gratitude to you earlier.

I wanted to post you the little bit of word so as to thank you again about the beautiful advice you've provided on this website. This has been so particularly generous with you to offer unreservedly exactly what a few people could have made available for an e book to help with making some profit for their own end, most notably given that you could have done it in the event you wanted. The concepts also served like the fantastic way to realize that the rest have the identical keenness really like my personal own to grasp good deal more on the subject of this issue. I know there are many more enjoyable moments ahead for individuals who check out your blog post.

I wish to get across my passion for your kindness giving support to individuals who need assistance with the idea. Your real commitment to passing the message all-around had been definitely effective and have encouraged women much like me to get to their pursuits. This insightful guidelines entails a lot a person like me and substantially more to my office colleagues. Thanks a lot; from all of us.

I precisely desired to appreciate you once more. I'm not certain what I would have worked on in the absence of these ideas shown by you directly on such a area of interest. It became a real fearsome matter in my circumstances, nevertheless viewing the very professional technique you dealt with it took me to leap with fulfillment. I will be grateful for your work and trust you realize what an amazing job that you are putting in educating some other people by way of your web site. Most likely you've never met all of us.

I wanted to compose you one tiny note to give many thanks again for these beautiful techniques you have shared on this site. This is so incredibly generous with you to offer publicly precisely what most of us would've offered for an electronic book to end up making some dough for their own end, and in particular since you might have tried it if you desired. Those points likewise acted like a easy way to understand that the rest have a similar eagerness much like mine to grasp more in regard to this issue. I am sure there are thousands of more enjoyable moments up front for many who read carefully your blog.

I want to voice my passion for your kind-heartedness supporting those people that really want guidance on the situation. Your real commitment to getting the message around had become pretty invaluable and has allowed somebody like me to get to their dreams. This useful guidelines means so much to me and somewhat more to my fellow workers. Thank you; from all of us.

A lot of thanks for your whole efforts on this website. My aunt enjoys participating in internet research and it's really easy to understand why. Most of us notice all regarding the dynamic manner you make simple strategies via this web site and even boost response from website visitors on the theme then our girl is really becoming educated a whole lot. Have fun with the rest of the new year. You're carrying out a really great job.

I simply wished to appreciate you again. I'm not certain the things that I would have handled without the entire secrets revealed by you about such field. It absolutely was the challenging situation in my circumstances, however , discovering the very skilled avenue you solved it forced me to weep over joy. Now i'm happy for the advice and even wish you recognize what a great job that you are getting into educating the mediocre ones by way of your websites. I'm certain you haven't come across all of us.

My husband and i have been absolutely delighted when Chris could do his investigations with the precious recommendations he discovered while using the site. It is now and again perplexing just to continually be releasing things that many most people might have been trying to sell. And we all figure out we now have the blog owner to give thanks to for that. The most important explanations you've made, the straightforward blog menu, the relationships you make it possible to engender - it's got most amazing, and it's assisting our son in addition to our family imagine that the subject is satisfying, which is certainly extremely important. Thank you for the whole thing!

I actually wanted to develop a quick word to be able to express gratitude to you for all of the lovely tips and hints you are placing on this website. My time consuming internet search has at the end been recognized with pleasant points to exchange with my best friends. I 'd claim that we readers actually are very much endowed to exist in a useful network with very many outstanding individuals with interesting pointers. I feel very lucky to have discovered the website and look forward to some more fun minutes reading here. Thanks a lot once again for all the details.

A lot of thanks for your entire labor on this website. My mom take interest in carrying out investigations and it is simple to grasp why. Most people notice all regarding the powerful means you render great ideas via the web blog and in addition strongly encourage participation from other individuals about this point while our favorite simple princess is without question being taught a great deal. Take advantage of the rest of the year. Your carrying out a stunning job.

Thanks so much for giving everyone remarkably terrific opportunity to read from this web site. It can be so excellent and as well , stuffed with a good time for me personally and my office peers to visit your blog not less than 3 times in a week to read the new stuff you have. And lastly, I am just at all times astounded considering the awesome tricks you give. Certain 1 points in this article are undeniably the finest we have ever had.

My wife and i got now joyful Chris could finish up his analysis from the precious recommendations he got through your web site. It's not at all simplistic to just continually be making a gift of tips some people have been selling. We really acknowledge we need the blog owner to give thanks to because of that. Those explanations you've made, the straightforward website menu, the relationships you will assist to promote - it's all unbelievable, and it's facilitating our son and us reckon that this situation is brilliant, and that is unbelievably important. Thank you for all the pieces!

Thank you a lot for providing individuals with a very nice opportunity to check tips from here. It's always so sweet and as well , packed with a great time for me and my office mates to search your website really three times in one week to read through the latest stuff you will have. And definitely, I am just usually astounded with the extraordinary concepts served by you. Some 3 facts in this article are indeed the finest we have ever had.

I am writing to make you be aware of what a brilliant discovery my wife's daughter went through reading through your blog. She discovered a good number of things, not to mention how it is like to have a very effective coaching mood to make other individuals without hassle learn various specialized things. You undoubtedly surpassed readers' desires. Thank you for displaying these important, trusted, educational and unique guidance on that topic to Emily.

I'm just commenting to let you understand what a wonderful discovery my friend's princess obtained checking your blog. She discovered a lot of pieces, including how it is like to possess an ideal helping spirit to get others clearly have an understanding of several extremely tough topics. You truly exceeded our own desires. Thank you for delivering these warm and friendly, trusted, edifying and in addition unique tips on that topic to Mary.

I precisely needed to say thanks once more. I am not sure what I would have gone through in the absence of the type of basics shared by you regarding such a area. It truly was a real daunting dilemma in my position, nevertheless taking a look at the very specialised technique you processed it took me to weep with happiness. I'm just happier for this work and even hope that you find out what a great job you're providing educating some other people through the use of your web blog. I know that you've never come across any of us.

I precisely desired to say thanks once more. I'm not certain the things I might have implemented in the absence of the creative ideas discussed by you on such a topic. This has been an absolute horrifying scenario in my circumstances, but being able to view your specialized approach you solved it forced me to weep with happiness. I'm thankful for the support and as well , hope you recognize what an amazing job that you're accomplishing teaching people today via your web page. I am certain you haven't met any of us.

Thanks a lot for providing individuals with such a marvellous chance to read in detail from this web site. It can be so terrific and also jam-packed with amusement for me and my office peers to visit your blog particularly thrice per week to see the latest issues you will have. And definitely, we are certainly pleased concerning the fabulous principles you give. Selected 2 areas in this post are ultimately the finest we have ever had.

I and also my guys were viewing the nice hints from your website and then suddenly I got an awful feeling I never thanked you for those techniques. Most of the women had been as a consequence very interested to read all of them and now have undoubtedly been tapping into those things. We appreciate you simply being so kind and then for obtaining such wonderful subjects millions of individuals are really needing to understand about. My personal honest apologies for not saying thanks to sooner.

I and my buddies came checking the great hints from your site and then quickly got an awful feeling I never thanked the blog owner for those strategies. These ladies were absolutely very interested to study all of them and have now really been using those things. Appreciation for turning out to be indeed helpful as well as for picking out some impressive resources most people are really desperate to be aware of. My personal sincere regret for not expressing gratitude to sooner.

I wanted to post you one bit of note in order to thank you over again just for the gorgeous tricks you've featured in this article. It was simply unbelievably open-handed of people like you to supply easily what exactly a number of people would have distributed for an e book in order to make some cash for themselves, certainly since you could possibly have done it if you ever wanted. These tricks likewise served to be the great way to recognize that other people online have the identical fervor just like my personal own to know more and more concerning this condition. I am sure there are many more pleasant opportunities in the future for those who start reading your blog post.

Thanks a lot for giving everyone remarkably spectacular opportunity to check tips from this blog. It is often very ideal plus jam-packed with a good time for me personally and my office fellow workers to visit your blog minimum three times every week to find out the new tips you have. And of course, I am usually pleased with all the special ideas you give. Certain 2 points on this page are particularly the most efficient I've had.

Thanks a lot for providing individuals with such a splendid opportunity to discover important secrets from this site. It can be so great plus jam-packed with a lot of fun for me personally and my office fellow workers to search your web site really thrice in a week to read the new items you will have. Of course, I'm usually motivated concerning the dazzling strategies you give. Selected 4 ideas in this article are in reality the best we've ever had.

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.