Starter code for NASA Project.
The server is a simple multi-threaded server.
Configure the test server in test_server.py with the following:
- ip (HOST)
- port (PORT)
Some configuration options are only seen within PI_Server.py such as:
- Max message size
- Max number of clients
Launch the test server by running test_server.py in python3.7 or higher.
Type a message containing 'quit' to exit. Otherwise, type anything else to send it to all attached clients.
Configure the client in WiFiTask.ino with the following:
- ssid (WiFi Network Name)
- password (WiFi Network Password)
- ip (Host)
- port
Make sure the required libraries are installed before compiling (esp32, etc).
Upload the code using the Arduino IDE to the EXPRESSIF ESP32-WROVER-B Module.
The code will automatically connect to the server and periodically send ADC data from pin 34.