This is an old revision of the document!
This project was done by Radu-George Dumitru. ACES 2021
This project's goal is to implement a fully-functional heart rate and blood oxygen detector, using the GY-MAX30100 pulse oximeter, and the ESP-WROOM-32 microcontroller. This project is done through the Arduino IDE. The data coming from the sensor can be observed both through the serial monitor available through Arduino, but also through a local web server, using Wi-Fi.
This project transmits the sensor information through the Wi-Fi module implemented inside the microcontroller. It needs access to a Wi-Fi connection, and the credentials are hardcoded in Arduino. The Wi-Fi connection itself is done through the WiFi.h header library, which tries to connect the microcontroller with the credentials provided.
Once connected to Wi-Fi, the program sends the data to the web server though the WebServer.h library, which is responsible for HTTP requests. In order to view the data, I created an HTML page using Aynchronous JavaScript and XML (AJAX). Using this language, it is possible to update values asynchronously, without the need of refreshing the whole page.