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

311 Comments

I in addition to my buddies have already been looking at the great tricks found on your web page and before long I got an awful suspicion I had not thanked the blog owner for those secrets. The boys are already as a consequence happy to read through them and have in fact been making the most of them. Thank you for turning out to be well helpful and for figuring out varieties of awesome ideas millions of individuals are really wanting to discover. My sincere regret for not expressing appreciation to earlier.

I would like to show my respect for your kind-heartedness giving support to persons that really want help with this theme. Your real dedication to getting the solution all around was unbelievably informative and has frequently permitted women much like me to get to their pursuits. Your own informative key points can mean a lot to me and substantially more to my fellow workers. Thank you; from each one of us.

I simply wished to appreciate you again. I am not sure the things that I might have created in the absence of the basics shown by you directly on my industry. It previously was a real distressing dilemma in my position, nevertheless taking note of the expert fashion you dealt with it took me to weep over happiness. I'm thankful for the advice and sincerely hope you comprehend what a powerful job your are getting into instructing people today through the use of your websites. I am sure you have never come across all of us.

I wish to express my admiration for your kind-heartedness in support of men who have the need for guidance on the matter. Your very own commitment to getting the message all through had been astonishingly functional and has really allowed others like me to arrive at their dreams. Your own valuable key points implies a whole lot a person like me and additionally to my mates. Warm regards; from everyone of us.

Thank you for each of your work on this web page. Kate delights in working on internet research and it's really easy to understand why. Almost all learn all concerning the dynamic means you convey both interesting and useful ideas via this web site and even strongly encourage participation from some others on this area so my daughter is actually being taught so much. Enjoy the remaining portion of the new year. You are always doing a useful job.

I have to get across my gratitude for your kind-heartedness supporting those people who really want assistance with the content. Your special dedication to getting the message around became certainly important and have constantly empowered girls like me to attain their endeavors. Your personal important report indicates so much to me and much more to my colleagues. Thanks a lot; from everyone of us.

I and my guys were found to be analyzing the great items from your web site then all of a sudden came up with an awful suspicion I never expressed respect to the website owner for those strategies. All the young men are already absolutely excited to read them and now have quite simply been taking pleasure in them. Thanks for actually being well accommodating and then for deciding on this sort of magnificent guides most people are really desirous to understand about. My sincere regret for not saying thanks to sooner.

Thanks for all your efforts on this website. Kate enjoys doing research and it is obvious why. A number of us know all about the dynamic way you present worthwhile steps by means of your web site and as well improve response from others on that situation so our own princess is without question starting to learn a great deal. Take advantage of the rest of the year. You are always doing a fantastic job.

My spouse and i have been so comfortable that Peter managed to finish off his analysis out of the precious recommendations he got out of your web pages. It's not at all simplistic to simply be giving out steps which some others have been trying to sell. And now we understand we've got the blog owner to give thanks to for this. All the explanations you have made, the straightforward blog menu, the relationships you help to create - it's many fabulous, and it's aiding our son in addition to us do think this concept is thrilling, and that's extremely fundamental. Many thanks for the whole thing!

I actually wanted to type a small message to be able to express gratitude to you for those precious solutions you are posting here. My time intensive internet research has finally been compensated with really good strategies to share with my neighbours. I would assert that many of us site visitors actually are undoubtedly lucky to be in a superb community with so many outstanding individuals with very helpful basics. I feel very blessed to have used your entire web page and look forward to so many more fabulous moments reading here. Thanks a lot again for everything.

I'm just commenting to let you be aware of what a magnificent encounter my wife's child experienced using yuor web blog. She realized several things, not to mention what it is like to possess a marvelous coaching character to let folks clearly learn some problematic subject areas. You truly exceeded people's expected results. Many thanks for imparting those effective, dependable, revealing and even fun tips on your topic to Kate.

My wife and i have been now joyful that Edward managed to round up his survey while using the precious recommendations he was given from your own web site. It's not at all simplistic to simply always be giving for free information and facts that many some others may have been making money from. We really discover we now have the website owner to thank because of that. The most important explanations you have made, the straightforward web site navigation, the friendships you make it easier to create - it is mostly wonderful, and it's leading our son in addition to us recognize that the idea is fun, and that's wonderfully serious. Thank you for all the pieces!

I wanted to send you one bit of remark to be able to give many thanks yet again over the lovely secrets you've documented on this page. It was remarkably open-handed with you to offer without restraint all that a number of people would have distributed for an ebook to make some profit for their own end, even more so considering the fact that you could have tried it if you desired. These thoughts additionally acted to be the great way to realize that the rest have the same keenness just as my own to see many more in respect of this condition. I'm certain there are many more fun opportunities ahead for those who looked at your site.

I would like to get across my affection for your kind-heartedness supporting people that absolutely need help with this one matter. Your special dedication to passing the message throughout ended up being wonderfully important and has truly made people like me to attain their goals. Your entire invaluable help indicates a great deal a person like me and even more to my fellow workers. Warm regards; from each one of us.

Thanks for your own work on this blog. Kim loves working on research and it is simple to grasp why. Most of us learn all concerning the lively manner you offer simple tips and hints via the website and encourage participation from other ones on the area of interest so our girl is without question discovering a great deal. Have fun with the rest of the new year. You're the one conducting a fantastic job.

I wanted to post you one little observation just to thank you yet again over the amazing views you have provided on this website. It was simply pretty generous of you to supply easily exactly what a few individuals would've supplied for an electronic book to get some cash for their own end, even more so since you might have tried it if you wanted. Those things likewise acted to become a fantastic way to fully grasp most people have a similar dreams much like my own to figure out a good deal more in regard to this matter. I think there are thousands of more pleasurable instances up front for those who see your website.

Thank you a lot for providing individuals with an exceptionally superb chance to read articles and blog posts from here. It is always very lovely and also full of fun for me personally and my office acquaintances to visit your website the equivalent of three times every week to learn the latest secrets you will have. And lastly, I am also actually fascinated with your impressive thoughts you serve. Some 2 tips on this page are ultimately the simplest I have had.

I together with my friends happened to be taking note of the excellent hints from the website and immediately developed a horrible feeling I had not thanked the blog owner for them. All the guys were definitely absolutely thrilled to learn all of them and have in actuality been tapping into these things. Appreciation for truly being really thoughtful as well as for figuring out varieties of notable areas most people are really desperate to discover. My honest regret for not saying thanks to you sooner.

I would like to show thanks to the writer for rescuing me from this particular setting. After looking through the search engines and meeting solutions that were not pleasant, I believed my entire life was done. Living minus the approaches to the issues you have fixed by way of this posting is a crucial case, as well as the ones which might have in a wrong way damaged my career if I had not discovered your blog. Your main ability and kindness in dealing with all the things was vital. I am not sure what I would've done if I hadn't discovered such a subject like this. I'm able to at this time look ahead to my future. Thanks for your time so much for your expert and sensible help. I won't think twice to recommend your blog post to any person who should get guidance on this subject matter.

Thanks for your whole work on this web page. My mother take interest in setting aside time for investigation and it's easy to understand why. Almost all know all of the dynamic medium you give both interesting and useful strategies on the web blog and as well encourage response from people on this matter plus our own child is in fact becoming educated a lot. Enjoy the rest of the year. Your doing a terrific job.

I have to get across my appreciation for your kind-heartedness in support of those individuals that have the need for assistance with in this idea. Your special dedication to passing the message all-around was unbelievably functional and have constantly allowed those like me to get to their desired goals. Your amazing warm and friendly facts denotes this much to me and substantially more to my mates. Warm regards; from all of us.

I'm commenting to make you be aware of of the magnificent encounter my wife's daughter found reading through yuor web blog. She came to find a lot of details, with the inclusion of how it is like to have an incredible giving nature to get other folks really easily grasp selected complex subject areas. You actually exceeded people's expected results. Thanks for distributing such invaluable, healthy, revealing and as well as unique tips about your topic to Kate.

A lot of thanks for every one of your hard work on this website. My mother really likes conducting investigation and it is easy to understand why. A lot of people know all concerning the lively ways you render invaluable secrets by means of the website and as well as strongly encourage contribution from some others on the topic then my girl is learning a great deal. Have fun with the remaining portion of the year. You are conducting a remarkable job.

My spouse and i felt so happy when Raymond could finish up his research through your precious recommendations he grabbed out of the web page. It is now and again perplexing just to find yourself offering tricks the rest have been making money from. And now we consider we've got the writer to appreciate for that. These explanations you've made, the simple web site navigation, the friendships you assist to foster - it's many fantastic, and it is facilitating our son in addition to us consider that that issue is amusing, which is very pressing. Thanks for everything!

I must convey my gratitude for your kind-heartedness in support of persons that need help with the topic. Your special commitment to getting the message all around appeared to be incredibly valuable and has empowered ladies like me to attain their pursuits. Your entire useful facts implies a whole lot to me and especially to my mates. Warm regards; from all of us.

I'm commenting to make you know of the extraordinary encounter my wife's girl undergone reading your webblog. She learned some things, which include what it is like to have a very effective coaching mood to let most people without difficulty know precisely specific advanced subject matter. You actually surpassed our desires. Thank you for coming up with these practical, healthy, educational and as well as easy tips on the topic to Lizeth.

My husband and i were quite joyful that Edward could round up his investigation through the entire precious recommendations he obtained from your web site. It's not at all simplistic just to continually be handing out helpful hints that other people have been selling. We really grasp we need the blog owner to thank for this. Those explanations you have made, the simple web site navigation, the friendships you will give support to instill - it's got everything extraordinary, and it is making our son in addition to us understand the issue is entertaining, which is seriously indispensable. Thank you for all!

I would like to show my appreciation to this writer just for rescuing me from this setting. After checking through the search engines and coming across tips which were not powerful, I was thinking my entire life was done. Existing minus the solutions to the problems you have resolved as a result of your main write-up is a serious case, and the ones which might have negatively affected my entire career if I had not encountered the blog. Your good competence and kindness in touching the whole lot was very helpful. I don't know what I would have done if I had not come upon such a thing like this. I can also now look forward to my future. Thank you so much for the impressive and sensible help. I will not think twice to refer your blog post to any person who would need guidance on this situation.

I wanted to make a small note in order to thank you for the fantastic points you are showing at this site. My considerable internet look up has now been recognized with brilliant insight to go over with my contacts. I 'd point out that we website visitors actually are very endowed to be in a remarkable site with very many marvellous professionals with beneficial strategies. I feel quite privileged to have used your website page and look forward to plenty of more brilliant moments reading here. Thanks a lot once again for everything.

I enjoy you because of your entire hard work on this web page. Kate takes pleasure in participating in research and it's easy to see why. Most of us hear all about the powerful means you deliver advantageous tips by means of your blog and in addition inspire participation from others about this topic plus our daughter is now starting to learn a great deal. Enjoy the rest of the year. You're the one conducting a pretty cool job.

I truly wanted to send a simple word to thank you for these great guidelines you are sharing on this site. My extended internet search has now been rewarded with good tips to go over with my co-workers. I 'd tell you that we site visitors are rather blessed to exist in a decent network with very many wonderful people with very beneficial methods. I feel rather grateful to have used the web site and look forward to so many more fabulous moments reading here. Thanks a lot once more for everything.

Thank you for all your effort on this web site. My mother loves carrying out research and it's really easy to see why. We hear all of the dynamic mode you present simple secrets on this blog and even increase participation from the others on that theme then our child is in fact studying so much. Take pleasure in the rest of the year. You have been doing a useful job.

I intended to post you that bit of remark just to thank you over again just for the great tactics you've featured here. It was certainly strangely open-handed of people like you giving unhampered exactly what many individuals could possibly have distributed as an electronic book to earn some cash for themselves, chiefly considering the fact that you could have done it in the event you desired. These principles also served to become easy way to fully grasp that other people online have similar dreams just as mine to realize a good deal more in respect of this problem. I believe there are numerous more pleasurable sessions up front for folks who read through your website.

I want to express some appreciation to you just for bailing me out of this problem. As a result of scouting through the the net and seeing principles that were not productive, I assumed my entire life was over. Being alive minus the answers to the difficulties you've sorted out all through this website is a crucial case, and the kind that would have in a wrong way damaged my career if I hadn't encountered your blog post. That understanding and kindness in maneuvering the whole lot was important. I am not sure what I would've done if I hadn't come across such a thing like this. It's possible to at this point look ahead to my future. Thank you very much for your impressive and effective help. I will not think twice to refer your web site to any person who needs and wants guide about this topic.

Thank you a lot for giving everyone such a brilliant chance to check tips from this blog. It is always very fantastic and also full of a great time for me personally and my office peers to search your web site no less than thrice per week to read the new things you have got. Of course, I'm also at all times pleased concerning the exceptional advice served by you. Selected 3 points in this post are unequivocally the most suitable we've had.

I want to convey my gratitude for your kind-heartedness giving support to folks that should have guidance on this one theme. Your real commitment to getting the solution across became exceedingly advantageous and has truly permitted women just like me to get to their dreams. Your helpful help implies a whole lot a person like me and somewhat more to my peers. Thanks a ton; from everyone of us.

I wanted to write you one little bit of word in order to give many thanks over again for those exceptional ideas you've shown at this time. It has been so wonderfully generous with people like you to deliver easily all a few people could possibly have supplied for an electronic book in order to make some cash for their own end, even more so given that you could possibly have tried it if you ever decided. Those basics likewise acted like the good way to know that some people have a similar passion really like my very own to know the truth very much more with respect to this condition. I am sure there are several more enjoyable periods up front for individuals that discover your website.

I in addition to my pals came viewing the good procedures on the blog then before long came up with a horrible suspicion I had not expressed respect to the website owner for those secrets. All the young men appeared to be so joyful to see them and now have without a doubt been having fun with those things. I appreciate you for indeed being very helpful and also for getting variety of fine themes most people are really eager to know about. Our honest regret for not expressing appreciation to you sooner.

I want to convey my appreciation for your kindness supporting those who really want help on this particular niche. Your very own commitment to getting the solution all over had become incredibly practical and have continually allowed somebody like me to arrive at their desired goals. Your warm and helpful useful information signifies a lot a person like me and extremely more to my office workers. Warm regards; from everyone of us.

I in addition to my pals were found to be reading the excellent advice found on your web page while at once I got an awful feeling I never thanked you for those secrets. Most of the women happened to be for that reason stimulated to learn them and now have truly been using these things. Appreciate your indeed being quite considerate and then for finding this sort of exceptional issues millions of individuals are really desperate to know about. Our own sincere apologies for not expressing gratitude to you earlier.

Thanks a lot for giving everyone remarkably special opportunity to read from this site. It's usually very enjoyable and packed with fun for me personally and my office acquaintances to search your web site the equivalent of 3 times in a week to read the newest tips you have got. And of course, I'm just certainly fulfilled with your attractive knowledge you give. Selected 3 tips in this post are clearly the most impressive we've ever had.

I must show my appreciation to the writer for bailing me out of such a scenario. After surfing around throughout the online world and seeing opinions which were not beneficial, I believed my entire life was over. Living minus the approaches to the difficulties you have resolved by way of the review is a critical case, and the kind that would have adversely affected my entire career if I had not noticed the website. Your primary talents and kindness in maneuvering every item was useful. I am not sure what I would've done if I had not come across such a stuff like this. I'm able to at this point relish my future. Thank you very much for this specialized and sensible guide. I won't hesitate to refer your web page to anybody who should get guidance about this situation.

Thanks so much for providing individuals with a very pleasant possiblity to discover important secrets from this blog. It really is so cool and also stuffed with fun for me personally and my office colleagues to visit your blog nearly 3 times per week to see the latest secrets you have. Not to mention, I'm just usually astounded with the gorgeous hints you serve. Some 4 facts in this posting are particularly the most effective we've had.

I simply needed to appreciate you all over again. I'm not certain the things that I would have created without those concepts shown by you about that industry. It absolutely was a very depressing setting for me, but discovering a new expert tactic you handled that forced me to jump over contentment. Now i'm grateful for your assistance and thus have high hopes you find out what an amazing job you have been putting in training men and women by way of a web site. I know that you haven't encountered all of us.

I'm commenting to let you know what a excellent encounter my wife's child experienced checking your site. She figured out lots of issues, which included what it is like to have an excellent giving spirit to make many more just understand specified extremely tough subject areas. You undoubtedly exceeded readers' desires. I appreciate you for distributing such practical, trusted, informative and even cool thoughts on your topic to Jane.

I simply had to appreciate you again. I do not know what I might have handled in the absence of the entire information shared by you regarding that theme. It became a very difficult circumstance in my position, but considering the well-written technique you managed the issue took me to leap for contentment. I will be happy for the service and thus wish you really know what an amazing job you are always accomplishing educating other individuals using your websites. I'm certain you've never come across any of us.

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.

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.