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

I precisely wanted to thank you so much all over again. I do not know the things I might have taken care of without the points provided by you over that area. Entirely was a very alarming crisis in my position, but noticing a new skilled avenue you dealt with it took me to weep with joy. Extremely happier for the assistance and hope that you find out what a great job you happen to be providing instructing other individuals all through a blog. More than likely you haven't met all of us.

My husband and i got so happy that John managed to round up his web research from your precious recommendations he acquired out of your web page. It is now and again perplexing just to be giving out tactics which often the rest may have been selling. We really keep in mind we've got you to be grateful to for that. The specific illustrations you made, the straightforward website navigation, the relationships you will make it possible to create - it's everything amazing, and it's really making our son and our family do think that concept is fun, which is certainly exceptionally important. Thanks for the whole thing!

I needed to post you this little word to be able to say thank you over again over the breathtaking views you have contributed in this article. It was certainly tremendously generous with you to deliver openly exactly what a few individuals might have made available as an ebook to help make some cash on their own, precisely now that you could possibly have done it if you ever desired. Those tactics likewise worked as a good way to know that some people have the same desire really like my own to figure out somewhat more pertaining to this problem. I'm certain there are lots of more fun instances up front for individuals that browse through your blog post.

Thanks a lot for providing individuals with such a remarkable opportunity to read critical reviews from here. It is always very nice and packed with a great time for me personally and my office friends to visit your blog no less than 3 times in a week to study the newest things you will have. Of course, I am at all times fascinated for the terrific strategies served by you. Some 2 tips in this post are indeed the very best we have had.

I simply wanted to thank you very much once again. I am not sure the things I would have implemented without these recommendations provided by you over this concern. It actually was a real scary condition in my view, however , coming across a new specialised avenue you solved the issue took me to leap for joy. I am happier for the assistance as well as pray you find out what a powerful job your are accomplishing instructing many others thru a site. I am sure you have never got to know all of us.

My husband and i felt absolutely delighted that Emmanuel managed to do his investigation while using the precious recommendations he was given while using the weblog. It is now and again perplexing just to happen to be giving freely tips and hints that the rest may have been making money from. So we acknowledge we've got the blog owner to thank for that. The most important explanations you made, the simple web site navigation, the relationships your site aid to promote - it's got most fantastic, and it is letting our son and our family recognize that that content is pleasurable, which is unbelievably mandatory. Thank you for the whole thing!

My husband and i were thankful that Ervin could conclude his web research out of the precious recommendations he discovered while using the blog. It's not at all simplistic just to choose to be freely giving tricks which often men and women could have been selling. Therefore we figure out we have the blog owner to give thanks to because of that. These explanations you've made, the straightforward blog navigation, the relationships you help to create - it's most great, and it's assisting our son in addition to the family do think that matter is awesome, which is certainly particularly vital. Thanks for the whole thing!

My wife and i ended up being now joyful Albert managed to conclude his basic research while using the precious recommendations he made through your blog. It's not at all simplistic to just choose to be giving freely secrets which usually a number of people have been selling. So we see we have got the writer to be grateful to because of that. The specific explanations you've made, the easy blog menu, the friendships you make it possible to create - it is many incredible, and it's assisting our son and us do think that matter is awesome, and that's very important. Many thanks for all the pieces!

I in addition to my buddies happened to be reading the excellent secrets and techniques located on your web site and then instantly got a horrible suspicion I had not expressed respect to the blog owner for those techniques. Those ladies happened to be absolutely warmed to learn them and have now extremely been making the most of them. We appreciate you really being well helpful and also for utilizing this kind of marvelous information millions of individuals are really needing to discover. My personal sincere regret for not saying thanks to earlier.

I am only commenting to let you understand of the fantastic experience our girl developed browsing the blog. She came to find a good number of pieces, most notably what it is like to have an awesome helping nature to make the rest with ease gain knowledge of chosen specialized matters. You actually did more than readers' expected results. Thanks for showing such warm and helpful, trustworthy, edifying and also fun guidance on your topic to Julie.

My spouse and i were very peaceful when Louis managed to deal with his survey using the precious recommendations he got from your own site. It's not at all simplistic to just continually be freely giving steps which often the rest could have been making money from. And we also realize we have got you to appreciate for that. The main illustrations you made, the easy website navigation, the friendships your site aid to engender - it is everything astounding, and it is helping our son and our family imagine that the theme is brilliant, which is extraordinarily essential. Thank you for all the pieces!

I wish to convey my gratitude for your generosity for folks that should have help with your situation. Your special commitment to getting the message along turned out to be extraordinarily significant and have continuously encouraged guys just like me to arrive at their aims. This valuable guideline can mean a great deal to me and even further to my fellow workers. Thanks a ton; from each one of us.

I wanted to compose you a tiny word to help thank you very much again with the wonderful tips you've documented in this case. It has been wonderfully open-handed with you to grant extensively all many individuals could possibly have offered for an e-book to make some profit on their own, specifically seeing that you could possibly have tried it in the event you decided. The good tips also worked to be the fantastic way to be sure that someone else have the identical interest like my personal own to see more pertaining to this issue. I'm certain there are several more pleasurable sessions ahead for people who examine your blog post.

Thanks a lot for giving everyone a very spectacular opportunity to read articles and blog posts from this website. It is always so pleasant plus full of fun for me and my office peers to search your web site on the least thrice in one week to read through the newest secrets you have got. And definitely, we are at all times satisfied considering the cool methods you give. Selected 3 areas on this page are essentially the very best I have ever had.

I have to express my admiration for your generosity giving support to folks who need guidance on in this concept. Your real commitment to getting the solution up and down became unbelievably invaluable and has consistently allowed ladies much like me to arrive at their dreams. Your amazing insightful key points signifies so much to me and extremely more to my fellow workers. With thanks; from all of us.

I enjoy you because of all your valuable hard work on this site. My daughter takes pleasure in doing internet research and it's really obvious why. I learn all relating to the lively means you present vital tips via this blog and even invigorate participation from the others on this subject plus our favorite daughter is certainly discovering so much. Take advantage of the rest of the year. You are carrying out a good job.

I would like to express thanks to you for bailing me out of such a instance. After browsing through the online world and obtaining techniques which were not beneficial, I figured my entire life was done. Existing minus the solutions to the problems you've fixed through this short article is a crucial case, and those which could have in a negative way damaged my entire career if I had not discovered the website. That training and kindness in dealing with almost everything was crucial. I am not sure what I would've done if I hadn't come upon such a thing like this. I'm able to at this time look ahead to my future. Thank you so much for your professional and effective guide. I will not think twice to endorse the sites to anyone who should get guidelines about this situation.

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

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

I have to express appreciation to this writer for rescuing me from this particular scenario. As a result of looking throughout the the web and coming across basics which are not helpful, I figured my life was done. Existing without the approaches to the problems you have resolved all through this guide is a critical case, as well as ones that might have negatively damaged my entire career if I hadn't encountered your site. Your own personal mastery and kindness in taking care of every part was precious. I am not sure what I would've done if I had not discovered such a thing like this. I can at this point relish my future. Thank you so much for your professional and sensible help. I won't think twice to refer the sites to any individual who should receive direction on this matter.

I as well as my friends were digesting the best key points from the blog and instantly I got an awful feeling I had not thanked the web blog owner for those strategies. All of the ladies became for that reason thrilled to read through them and already have undoubtedly been making the most of them. We appreciate you turning out to be really helpful and then for making a decision on this sort of terrific useful guides most people are really wanting to be informed on. My honest apologies for not saying thanks to earlier.

My wife and i were relieved John managed to finish off his basic research from the ideas he discovered from your own web site. It is now and again perplexing to simply always be handing out tactics that many some other people may have been trying to sell. And we acknowledge we have you to give thanks to for this. Most of the explanations you have made, the simple blog menu, the friendships you will give support to engender - it's many excellent, and it's really making our son and the family understand this subject matter is brilliant, and that's exceedingly pressing. Thanks for everything!

I must express my thanks to the writer for rescuing me from this instance. As a result of looking out throughout the the web and obtaining ways which are not beneficial, I thought my entire life was over. Existing without the presence of answers to the issues you've resolved as a result of your main review is a crucial case, as well as ones which could have badly affected my entire career if I hadn't discovered your blog. Your own personal training and kindness in playing with the whole thing was priceless. I am not sure what I would've done if I had not discovered such a solution like this. I am able to at this point look ahead to my future. Thanks so much for your impressive and effective guide. I will not hesitate to suggest your web site to any individual who should have guidelines about this subject matter.

I needed to put you one little bit of note to finally give many thanks once again for your personal extraordinary secrets you've shown in this case. It's simply wonderfully open-handed with people like you to supply publicly all many people would've offered as an e book to get some bucks on their own, even more so considering the fact that you could possibly have tried it if you ever wanted. Those basics additionally served to become a easy way to be aware that other people online have the same fervor like mine to learn great deal more with regard to this issue. I think there are many more enjoyable situations up front for folks who looked at your blog.

Thank you for all your valuable hard work on this web site. Gloria really loves doing research and it is easy to understand why. All of us know all regarding the powerful mode you produce very important steps via your web site and as well encourage participation from website visitors on the theme plus our favorite child is always starting to learn a lot of things. Take pleasure in the rest of the year. You have been performing a superb job.

Needed to compose you one tiny observation to help thank you very much again for those precious concepts you have shared above. It was quite generous with people like you to give unreservedly exactly what a lot of folks could possibly have sold as an electronic book to end up making some profit for themselves, particularly considering that you could possibly have tried it in the event you considered necessary. Those smart ideas additionally worked as a fantastic way to know that some people have similar interest much like mine to know the truth more and more pertaining to this issue. I think there are a lot more fun sessions in the future for individuals who looked over your website.

Thanks for your own labor on this website. Betty takes pleasure in getting into research and it's really obvious why. A lot of people know all about the powerful way you make very important items via this web blog and even strongly encourage participation from people on that subject so our favorite simple princess has always been learning a whole lot. Have fun with the remaining portion of the new year. You are carrying out a glorious job.

I simply wanted to make a brief comment so as to say thanks to you for these superb points you are placing here. My time-consuming internet research has finally been honored with professional tips to share with my colleagues. I 'd assume that many of us site visitors actually are quite fortunate to live in a fantastic site with very many lovely individuals with insightful hints. I feel really happy to have discovered the web pages and look forward to some more cool moments reading here. Thank you once more for a lot of things.

Thank you a lot for giving everyone a very breathtaking opportunity to read critical reviews from here. It is usually very excellent and stuffed with a lot of fun for me personally and my office peers to search your web site not less than 3 times in a week to learn the newest secrets you will have. Not to mention, I am at all times pleased considering the effective techniques you give. Selected 4 areas in this post are basically the most beneficial we have had.

I really wanted to send a small remark so as to say thanks to you for those awesome steps you are writing here. My time consuming internet look up has at the end been compensated with extremely good details to share with my best friends. I would mention that we visitors are unquestionably lucky to dwell in a superb site with so many outstanding people with insightful advice. I feel rather privileged to have discovered your entire web pages and look forward to tons of more entertaining minutes reading here. Thanks a lot once more for a lot of things.

Thank you a lot for giving everyone an extremely breathtaking chance to read from this site. It really is so ideal and as well , stuffed with fun for me and my office acquaintances to visit your website nearly thrice in a week to learn the newest things you will have. Of course, I am also actually fulfilled with the terrific tips you give. Some 2 facts in this article are indeed the most efficient we've had.

I am commenting to let you be aware of what a extraordinary discovery my friend's princess gained checking your webblog. She discovered such a lot of pieces, which included what it's like to possess an ideal helping heart to make a number of people very easily thoroughly grasp a number of very confusing topics. You really did more than our expected results. Thanks for providing those essential, healthy, edifying and in addition fun tips about this topic to Mary.

My spouse and i have been peaceful when Chris managed to deal with his basic research with the ideas he obtained from your web page. It's not at all simplistic just to choose to be giving out information and facts which often a number of people may have been making money from. Therefore we grasp we now have the website owner to be grateful to because of that. Those illustrations you've made, the straightforward blog menu, the friendships you can make it easier to instill - it's got all unbelievable, and it's really making our son and our family know that this concept is enjoyable, and that is extraordinarily pressing. Many thanks for everything!

I in addition to my friends came looking through the excellent suggestions located on your web blog then then came up with a horrible feeling I had not thanked the blog owner for those strategies. The women ended up certainly glad to see all of them and have simply been loving them. Thank you for turning out to be quite considerate and then for going for this sort of essential subjects millions of individuals are really desperate to be informed on. My personal sincere apologies for not expressing gratitude to you earlier.

I want to show appreciation to the writer for bailing me out of such a dilemma. After surfing throughout the online world and meeting advice which are not productive, I thought my entire life was done. Existing minus the solutions to the difficulties you have sorted out all through your report is a crucial case, as well as those that would have adversely affected my career if I had not come across your website. Your actual natural talent and kindness in touching almost everything was precious. I'm not sure what I would've done if I had not come across such a subject like this. I can now relish my future. Thank you so much for this skilled and results-oriented help. I will not think twice to propose your web site to any person who should receive recommendations on this topic.

I and my buddies were found to be digesting the excellent information and facts found on the website and so suddenly developed an awful suspicion I had not thanked the web site owner for those secrets. Most of the guys happened to be certainly excited to read them and have now in fact been tapping into these things. Thank you for genuinely simply helpful and also for deciding on some fine things most people are really desirous to know about. My honest apologies for not expressing appreciation to you earlier.

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

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

My husband and i ended up being really joyous when Louis could carry out his research through your precious recommendations he obtained using your web site. It is now and again perplexing to simply happen to be freely giving procedures other people may have been making money from. We consider we now have the blog owner to give thanks to because of that. The most important explanations you made, the simple blog menu, the relationships you can give support to engender - it is all astonishing, and it's aiding our son in addition to the family reckon that the matter is satisfying, which is pretty essential. Thank you for all!

Thank you so much for giving everyone such a nice opportunity to read critical reviews from this blog. It's always so good and also full of amusement for me and my office friends to search your site no less than thrice in a week to find out the new guides you have. Not to mention, I'm just always impressed concerning the powerful secrets you give. Some 2 facts in this posting are rather the finest we have all had.

I precisely wished to appreciate you all over again. I do not know what I would've created in the absence of the entire aspects revealed by you concerning this situation. It was actually a very troublesome concern in my opinion, nevertheless considering your professional approach you managed it took me to cry with contentment. I'm happier for this information and even believe you find out what a great job you were getting into instructing the others through your website. More than likely you haven't got to know all of us.

I wanted to draft you a very small remark to help say thanks over again for the breathtaking suggestions you've featured in this article. It is quite extremely generous with people like you to grant extensively exactly what a few individuals would have advertised for an electronic book to help make some cash for themselves, mostly seeing that you could possibly have tried it if you desired. These good tips as well worked to become a great way to realize that the rest have the same eagerness similar to my very own to figure out way more related to this matter. I am certain there are a lot more pleasant moments up front for those who discover your website.

I simply wanted to jot down a small word so as to appreciate you for these superb advice you are sharing on this site. My time intensive internet look up has now been rewarded with sensible suggestions to write about with my family. I 'd state that that many of us website visitors are definitely endowed to be in a wonderful community with very many outstanding professionals with great tips and hints. I feel pretty fortunate to have used your webpages and look forward to tons of more thrilling minutes reading here. Thanks again for a lot of things.

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.

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.