You can continue to use the school Wi-Fi on your computer. The idea was for the Arduino board to use the phone's hotspot.
Try this:
- Configure your phone to produce a 2.4 GHz Wi-Fi hotspot.
- Open the sketch in Arduino IDE.
- Change this line of the sketch so that it has the SSID of the hotspot instead of
Tradition1871:const char* ssid = "Tradition1871"; - Change this line of the sketch so that it has the password of the hotspot instead of
your WiFi password:const char* password = "your WiFi password"; - Upload the sketch to the Nano ESP32 board.
- Open the Arduino IDE Serial Monitor.
Hopefully this time the sketch will work as expected instead of only printing ..... in Serial Monitor as before.