Comments: ESP32 Environment Sensor Shield Hookup Guide

Pages

Looking for answers to technical questions?

We welcome your comments and suggestions below. However, if you are looking for solutions to technical questions please see our Technical Assistance page.

  • So, I've got it hooked up, and have run in to a couple issues, but they're fixed...

    First, the WiFi library doesn't like it if the ssid is a 'const char*'. I had to remove the "const" keyword, and got it to compile a bit further.

    Second, make sure you're using the most recent Sparkfun BME280 library. The one from the Arduino board manager is old and is missing a fix for some ESP32 specific SPI stuff.

  • You describe to put "off-board Sensors", like soil moisture on pins 25 or 13. These pins are ADC2 pins. The ESP32 documentation describe these pins as in use by the Wifi driver. In this case, these pins just work for measuring while the wifi driver is switched off.


If you've found a bug or have other constructive feedback for our tutorial authors, please send us your feedback!