diff --git a/.gitignore b/.gitignore index 8489ff1..63fc34e 100644 --- a/.gitignore +++ b/.gitignore @@ -15,5 +15,4 @@ doc/ src/constants.h # Other -INFO.md -old/ \ No newline at end of file +INFO.md \ No newline at end of file diff --git a/ESP32-asyncServer-data_screenshot.png b/ESP32-asyncServer-data_screenshot.png index ab909c6..c0fb95a 100644 Binary files a/ESP32-asyncServer-data_screenshot.png and b/ESP32-asyncServer-data_screenshot.png differ diff --git a/README.md b/README.md index d5ab563..c3c2402 100644 --- a/README.md +++ b/README.md @@ -1,10 +1,7 @@ # ESP32-asyncServer-data -This repository contains an implementation of an asynchronous HTTP webserver for an ESP32 microcontroller. The ESP32, connected to a WiFi network, is used to control a LED and read and process the values from a thermistor and a photoresistor. The control and values are sent to the clients connected to the webserver using websockets. +This repository contains an implementation of an asynchronous HTTP webserver for an ESP32 microcontroller. The ESP32, connected to a WiFi network, is used to control a LED as well as read and process the values from a thermistor and a photoresistor. -Apart from the Async server and [websockets](https://en.wikipedia.org/wiki/WebSocket), the following technologies are used: -- [JSON](https://www.json.org/json-en.html) data format. -- [charts.js](https://www.chartjs.org/) for data presentation. -- [Bootstrap](https://getbootstrap.com/) CSS framework. +The communication between the clients and the async webserver is done through [websockets](https://en.wikipedia.org/wiki/WebSocket). [JSON](https://www.json.org/json-en.html) is used as data format and [charts.js](https://www.chartjs.org/) for data visualization. ## Website appearance @@ -19,7 +16,8 @@ The following parts have been used in the electronic circuit. Nevertheless, they ESP32 pins in the schematic are referred as 3.3V, GND and D*. -Note: ESP32 ADC2 pins cannot be used when Wi-Fi is used. + +*Note: ESP32 ADC2 pins cannot be used when Wi-Fi is used.* ## Requirements ESP32 libraries: diff --git a/html/main.html b/html/main.html index b4d5341..7f455be 100644 --- a/html/main.html +++ b/html/main.html @@ -5,196 +5,33 @@
- LED: - Sensors: Temperature: 0°C. Illuminance: 0 lx
- -+ + + SENSORS: Temperature: 0°C. Illuminance: 0 lx. +
+ +