Choose your country and language
Language
IMPORTANT – Manual installation of the TFT_eSPI library is required
Manual installation:
/home/{brugernavn}/Arduino/Libraries
C:\Users\{brugernavn}\Documents\Arduino\Libraries
/Users/{brugernavn}/Documents/Arduino/Libraries
![]() |
AHT10 high-precision temperature and humidity sensor |
![]() |
TTGO T-Display ESP32 16MB with WiFi, Bluetooth and 1.1" color LCD screen |
![]() |
Dupont cables, 40 pcs |
The purpose of this lesson is to help you understand the concept of libraries in Arduino IDE, their importance in simplifying code, and how to install and manage them correctly. This will provide the foundation for working with more complex components later in the course, such as sensors and displays, by using the libraries' functions.
In Arduino programming, libraries are collections of prewritten code that make it easier to implement features without starting entirely from scratch. Instead of reinventing the wheel, libraries handle complex, low-level operations so you can focus on the logic of your program.
Examples:
In short, libraries help you focus on your project rather than the hardware details.
The Library Manager is an important feature in Arduino IDE. It is a repository of libraries that makes it easy to search for, install, and manage libraries for your projects.
Open the Library Manager:
Searching for libraries:
Installing libraries:
#include.This process saves you from manually downloading and placing libraries in your Arduino folder and makes your workflow more efficient.
Once you have installed the necessary libraries via the Library Manager, you can include them in your sketches using the #include directive at the top of the code. This tells the compiler to retrieve the library and its associated functions.
Here are some examples of how to include important libraries for this project:
About the measurements: The station in this series measures temperature and relative humidity using the AHT10. These are indoor climate readings, not direct measurements of CO2, VOCs, or particles. The series name “air quality monitoring” should be understood with this limitation.
Language