How to install Blynk Library for Arduino IDE

By Harshvardhan Mishra Feb 6, 2020 #Blynk
install blynk library

In this tutorial we learn How to install Blynk Library for Arduino IDE. So follow Step by step guide on how to install Blynk Library.

Blynk IoT Platform

Blynk was designed for the Internet of Things. It is most popular IoT Platform. It can control hardware remotely, it can display sensor data, it can store data, vizualize it and do many other cool things. With Blynk Library you can connect over 400 hardware models (including ESP8266, ESP32, NodeMCU, all Arduinos, Raspberry Pi, Particle, Texas Instruments, etc.)to the Blynk Cloud. Full list of supported hardware can be found here.

Blynk Library establishes communication between your hardware, Blynk Cloud and Blynk Apps. 

Blynk Library is an extension that runs on your hardware. It handles connectivity, device authentication in the cloud, and commands processing between Blynk app, Cloud, and hardware.

There are few ways to install Blynk Library for Arduino IDE:

  1. Using built-in library manager in Arduino IDE
  2. Installing Blynk library as ZIP file in Arduino IDE
  3. Manually install Blynk Library

1. Install Blynk Library using built-in library manager in Arduino IDE

To install a new library into your Arduino IDE you can use the Library Manager (available from IDE version 1.6.2). Open the IDE and click to the “Sketch” menu and then Include Library > Manage Libraries.

Then the Library Manager will open and you will find a list of libraries that are already installed or ready for installation. Search for Blynk library and in the version selection choose the latest version to date

Finally click on Install and wait for the IDE to install the new library. Downloading may take time depending on your connection speed. Once it has finished, an Installed tag should appear next to the Bridge library. You can close the library manager.

You can now find the new library available in the Sketch > Include Library menu.

2. Install Blynk as ZIP file in Arduino IDE

Blynk library is available as a downloadable ZIP. Starting with Arduino IDE version 1.0.5, you can install 3rd party libraries in the IDE. 

Download Blynk Library by clicking the button: Download Blynk Library

☝️Do not unzip the downloaded library, leave it as is.

  1. In the Arduino IDE, navigate to Sketch > Include Library > Add .ZIP Library. At the top of the drop down list, select the option to “Add .ZIP Library”.
  2. Return to the Sketch > Include Library menu. menu. You should now see the library at the bottom of the drop-down menu. It is ready to be used in your sketch. The zip file will have been expanded in the libraries folder in your Arduino sketches directory.

The Library will be available to use in sketches, but with older IDE versions examples for the library will not be exposed in the File > Examples until after the IDE has restarted.

3. Install Blynk library manually

Download the latest Blynk_Release_vXX.zip file from the GitHub page:Download Blynk Library

  1. Unzip the Blynk_Release_vXX.zip archive. You will notice that archive contains several folders and several libraries.
  2. Copy all of these libraries to your sketchbook folder of Arduino IDE

To find the location of your sketchbook folder,go to top menu in Arduino IDE: Windows: File → Preferences
Mac OS: Arduino Preferences

The structure of your your sketchbook folder should now look like this, along with your other sketches (if you have them):

your_sketchbook_folder/libraries/Blynkyour_sketchbook_folder/libraries/BlynkESP8266_Lib...your_sketchbook_folder/tools/BlynkUpdateryour_sketchbook_folder/tools/BlynkUsbScript...

☝️ Note that 

  • libraries should go to libraries 
  • tools should go to tools
  • If you don’t have libraries or tools folders, you can create them manually.

Source : http://help.blynk.cc/en/articles/512105-how-to-install-blynk-library-for-arduino-ide


Thanks for reading. If you like this post probably you might like my next ones, so please support me by subscribing my blog.

You may like also:

By Harshvardhan Mishra

Hi, I'm Harshvardhan Mishra. I am a tech blogger and an IoT Enthusiast. I am eager to learn and explore tech related stuff! also, I wanted to deliver you the same as much as the simpler way with more informative content. I generally appreciate learning by doing, rather than only learning. Thank you for reading my blog! Happy learning! Follow and send tweets me on @harshvardhanrvm. If you want to help support me on my journey, consider sharing my articles, or Buy me a Coffee!

Related Post

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.