![sparkfun DEV-14153 Скачать руководство пользователя страница 19](http://html1.mh-extra.com/html/sparkfun/dev-14153/dev-14153_hook-up-manual_1339605019.webp)
The first few lines are just diagnostics from the ESP32, and will be present
at boot time regardless of the application being run. Immediately below the
line “Connecting to sparkfun-guest” you see a series of dots. One dot
appears every half second while the connection is pending, so you can see
from this example that it took approximately 3 seconds for the WiFi to come
online. After that, the various environmental parameters we’re looking at
are printed out, along with a timestamp in seconds since the platform was
booted.
Once a minute, the stream of data from the sensors is interrupted by a
connection to the weatherunderground.com servers. Here’s what that
output looks like:
There are two useful pieces of data here. The first, where it says
“Connection succeeded”, shows that a successful connection has been
made to the Weather Underground server. If your internet connection is
down, this will fail.
The second is the one lone line that says “success”. This is the response
from the server after your attempt to post data to it. If this fails, it means that
you connected to the server, but the string you formatted to send to the
server isn’t formatted properly. This shouldn’t be a problem unless you
change the example code.
Resources and Going Further
For more information, check out the resources below:
• GitHub Repository: ESP32 Environment Sensor Shield - Design files
and examples.
• CCS811 library - Arduino library for the air quality sensor on the
board.
• BME280 library - Arduino library for the temperature and pressure
sensor on the board.
• APDS-9301 library - Arduino library for the light sensor on the board.
• CCS811 Breakout Hookup Guide - For more information on the
CCS811, check out this tutorial.
Page 19 of 20