Molemi IoT
  • Space farming using food computers for sustainable farming
  • Introduction to Arduino
    • Introduction to Electronics
    • The Breadboard
  • Controlling LEDs with an Arduino
    • The Code
    • Adding a button to control the LEDs
      • The Code
  • Introducing Sensors
    • The CO2 and air quality sensor
    • The Code
      • Explaining the Code
    • Light Intensity Sensor
  • Introducing the NodeMCU
    • Getting Started
      • A simple test for ESP8266
        • The Code
    • A light bulb switch using NodeMCU and the Blynk app
      • Setup Blynk on your Smartphone
      • The Code
    • Controlling a Centurion gate Motor with NodeMCU a 2-channel relay
      • Installing Blynk in Arduino IDE
    • Read and display the water flow sensor on Blynk
      • Setting up Blynk
      • The Code
        • Explaining the code
    • Read and Display temperature sensor readings with NodeMCU.
      • Installing libraries for DS18B20 temperature sensor.
      • Displaying the sensor readings on the serial port
        • Getting temperature readings from different DS18B20 sensors.
          • The Code
            • Display sensor readings on a web server
              • Build the web server
                • Designing and building the web page
                • The Code
    • Display the DHT11 sensor reading on a web server using NodeMCU.
      • Monitoring Room Temp & Humidity using Blynk
      • Installing DHT library on the ESP8266
        • Installing the Asynchronous Web Server library
          • The Code
          • Designing and building the web page
  • Data Science for Farming
    • Getting Started with Colaboratory
    • Introduction to Python for DS using Colab
  • Machine Learning for Farming
  • Molemi Personal Food Computer
    • Bill of Materials
  • Setting up WaziGate on a Raspberry Pi
  • Setting up DHT11 on Raspberry Pi
  • Using Telegram To Control Outputs
Powered by GitBook
On this page

Was this helpful?

  1. Introducing the NodeMCU
  2. Read and display the water flow sensor on Blynk

Setting up Blynk

We will be setting up the Blynk app so that it can communicate with the

PreviousRead and display the water flow sensor on BlynkNextThe Code

Last updated 5 years ago

Was this helpful?

For this activity we need to setup the Blynk app to communicate with the NodeMCU app to be able to read the water flow sensor.

The first thing you will need to do is to have the Blynk app installed on your smartphone. For Android users, go to the Google Play Store and search "Blynk". Choose the one written "Blynk-IoT for Arduino, ESP8266, Raspberry Pi".

Once installed, setup your own account using your e-mail address. Create a "New Project" and name it Centurion Gate Motor. Once you are done, add the gauge widget and then label it "Total Liters (L)". Assign it a virtual pin of V1 and set it to take/send readings every second.

Add a Value display widget and name it "Flow Rate (L/min)". Assign it a virtual pin V2 and set it to send data every second.

Add an interrupt button that will allow you to reset the total amount of water that has flowed. In Blynk add the button widget. label it "Reset" and assign it a virtual pin V4.

Setting up the gauge widget to show total water
Setting a Value Display widget for flow rate.
Setting up the interrupt pin for resetting the total water that has flowed