Arduino Code to connect my ESP32 to WIFI and then drive a 16x2 LCD board.
I built this while tinkering with my ESP32 to send HTTP GET requests over REST.
DependenciesArduino JSON here
CodeFlash the main.ino code to the ESP32. You'll need to setup the board from the Board Manager in the Arduino IDE. You need to change variables in lines 29-37 You can obtain the API key from the OpenWeatherMap Website
WiringWire the LCD screen up like this guide from circuitschools.
Find a Reddit post for this project here.
ProductsESP32 / I bought this one.
16x2 LCD / I didn't buy this exact one, but here's a similar one.
Breadboard / Similar one to this.
Wires / Wires similar to this.
Comments