This is documentation intended to give instructions and further explain how Ayla works. Besides the documentation, it will also be available separately in the respective repos.
**This document will be updated on in my spare time
Available at Hospital-Screening repo
Will be added soon
Inside the folder Arduino
you can access clicking here \
After that, you need to install the Arduino IDE, you can download it here.
At first you need at least 2unit Arduino UNO, 1unit MX30102 (Heart Rate Sensor for Arduino) and MLX90614 (Temperature Sensor for Arduino) but you can check if the cable connections are working properly by clicking here (This is a simulator for Arduino and will be updated).
The lib
folder contains the necessary libraries for the sensors and can be installed by copying their contents and pasting them at C:\Users'/Documents'/Arduino/libraries
.
The src
folder contains the code for the Arduino in the folders with their respective sketch names, you can open it with the Arduino IDE and load it into the Arduino.
I advise you to write down the respective COM ports since you will be asked for them in the PyAPI topic.
How see the data from the sensors?
How know if the COM port in Windows?
Will be add soon
Inside the folder pyapi
you can access clicking here
- Python 3.8 or higher
- pip
- git
pip install -r requirements.txt
# Available at this repository
You need to edit the serialMX.py
(Heart Rate Sensor), serialTemp
(Temperature Sensor) file, you can find it at Hospital-screening/pyApi/
You need to change the porta
variable to the respective COM port of the Arduino that you wrote down in the Arduino for screening topic.
Like this:
porta = "COM3"
# Change the COM3 to the respective COM port
# Frist Clone the repository
git clone https://github.com/ayla-tcc/Hospital-screening.git
# Then go to the folder
cd ./pyApi
# Run the server
python -m uvicorn main:app --reload --host 0.0.0.0 --port 8000
- Go to Localhost
Available at ayla-tcc.github.io
We use github-pages to host this page