Demo App was built using these Blynk IoT platform components:
- Blynk Mobile app builder to build the user interface
- Blynk Hardware libraries that get the hardware online, connect it to the Blynk cloud, handle the command processing
- Blynk Cloud to manage the communication between the app and the hardware
- BlynkConnect™ workflow, which provides great user experience for app users and handles WiFi provisioning
We will walk you through the steps needed to launch the demo.
Download The app
→ Blynk myPlant for iOS
→ Blynk myPlant for Android
We recommend using these hardware models for the demo (but you can use any ESP8266 board)
SparkFun Blynk Board
If you are using Sparkfun Blynk Board no additional wiring is required
If you are using NodeMCU , you would need:
- RGB LED.
- 3 x 100 Ohm resistors
- Protoboard (optionally)
Use this wiring diagram to connect RGB LED:
Flash Blynk Firmware
We offer two ways of working with Blynk firmware. You can use Platformio IDE, which is a great development tool and is just a few steps, or use Arduino IDE if it's more comfortable for you.
1. Download and install Arduino IDE
Install latest Arduino IDE → https://www.arduino.cc/en/Main/Software
2. Install latest Blynk library package
Blynk package contains 5 libraries, please copy them to Arduino Libraries folder.
Folder structure should look like this:
~\Arduino\libraries\Blynk ~\Arduino\libraries\BlynkESP8266_Lib ~\Arduino\libraries\SimpleTimer ~\Arduino\libraries\Time
Should you have any issues, please follow this Manual Installation guide: https://www.arduino.cc/en/Guide/Libraries#toc5
4. Add ESP8266 support to Arduino IDE
• Open Arduino IDE, go to menu: File → Preferences
• Click the button near “Additional Boards Manager URLs” and paste the link below to the list
• In Arduino IDE, open: Tools → Board → Board Manager
• Search for “ESP8266”, and install it as shown on the image
5. Open the example sketch
• In the Arduino IDE go to File → Examples → Blynk → Export_Demo → myPlant_ESP8266
6. Choose the board
• Select Tools → Board → NodeMCU 1.0 (ESP-12E Module)
Note: This board selection works for both SparkFun Blynk Board and NodeMCU
• If you’re using Node MCU, uncomment “#define USE_NODE_MCU_BOARD” in the Blynk_ESP8266.ino file.
• Click Verify and check that everything compiled correctly
7. Set the port and speed
• Check the available USB ports in Tools → Port menu
• In Tools → Upload Speed, choose 115200 (higher values may also work for you).
If you don't know how to select the port, check the Troubleshooting section below
8. Upload sketch to the board
• Click Upload button
• Check that everything was uploaded correctly
ALL SET. Let's START the demo
1. Make sure your hardware is powered up
2. Launch Blynk myPlant app on your smartphone
3. Follow the steps in WiFi provisioning wizard to connect the hardware to your WiFi network
4. After the board is connected, the app is ready to be used
Everything you see in the demo can be applied to your own app.
2. Install drivers for Windows and OS X: