in Tools → Boards, choose the ESP32 Pico Kit
board (Figure
H
). This tells the Arduino IDE
which profile and base libraries to use when
compiling the firmware image, and how to flash it
to the board. Make sure that in the Tools → Port
submenu, you have selected the new COM port.
ADDING LIBRARIES
Go to Sketch → Include Library → Library
Manager (Figure
I
on the next page
) and install
the following libraries:
• DHT sensor library by Adafruit
• HCSR04 by Martin Sosic
• Adafruit Unified Sensor by Adafruit
• ArduinoBearSSL by Arduino
• ArduinoHttpClient by Arduino
• PrometheusArduino by Ed Welch
• PromLokiTransport by Ed Welch
• SnappyProto by Ed Welch
CREATING A PROGRAM
Download the Arduino sketch from github.com/
ivanahuckova/sourdough_monitoring_grafana.
In the folder, you will find 2 important files:
sourdough_monitoring_grafana.ino and config.h. In
the first file, we have our program. In the second,
we are going to store our variables.
F
G
H
81
make.co
M81_078-83_Sourdough_F1.indd 81M81_078-83_Sourdough_F1.indd 81 4/11/22 12:27 PM4/11/22 12:27 PM