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:
- Using built-in library manager in Arduino IDE
- Installing Blynk library as ZIP file in Arduino IDE
- 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.
- 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”.
- 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
- Unzip the Blynk_Release_vXX.zip archive. You will notice that archive contains several folders and several libraries.
- 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):
☝️ 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.
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: