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. Display the DHT11 sensor reading on a web server using NodeMCU.
  3. Installing DHT library on the ESP8266

Installing the Asynchronous Web Server library

PreviousInstalling DHT library on the ESP8266NextThe Code

Last updated 5 years ago

Was this helpful?

1. ESP8266 Asynchronous Web Server

To build the web server we’ll use the that provides an easy way to build an asynchronous web server. Building an asynchronous web server has several advantages. We recommend taking a quick look at the .

Installing the ESPAsyncWebServer library

The ESPAsyncWebServer library is not available to install in the Arduino IDE Library Manager. So, you need to install it manually.

Follow the next steps to install the ESPAsyncWebServer library:

  1. . You should have a .zip folder in your Downloads folder

  2. Unzip the .zip folder and you should get ESPAsyncWebServer-master folder

  3. Rename your folder from ESPAsyncWebServer-master to ESPAsyncWebServer

  4. Move the ESPAsyncWebServer folder to your Arduino IDE installation libraries folder

Installing the ESPAsync TCP Library

The ESPAsyncWebServer library requires the library to work. Follow the next steps to install that library:

  1. . You should have a .zip folder in your Downloads folder

  2. Unzip the .zip folder and you should get ESPAsyncTCP-master folder

  3. Rename your folder from ESPAsyncTCP-master to ESPAsyncTCP

  4. Move the ESPAsyncTCP folder to your Arduino IDE installation libraries folder

  5. Finally, re-open your Arduino IDE.

ESPAsyncWebServer library
library documentation on its GitHub page
Click here to download the ESPAsyncWebServer library
ESPAsyncTCP
Click here to download the ESPAsyncTCP library