Firenitrix is an IoT project that uses Uno R3 and ESP8266 to gather data and send it to a FastAPI backend. The data is then stored in MongoDB and displayed on a website.
- Python 3.8
git clone https://github.com/RiwRiwara/Firenitrix
cd Firenitrix
python3 -m venv myenv
myenv\Scripts\activate
pip install -r requirements.txt
uvicorn main:app --reload
- Uno R3: Microcontroller board used for reading data from sensors.
- ESP8266: Wi-Fi module used to send data to the FastAPI server.
- FastAPI: A modern, fast web framework for building APIs with Python 3.6+.
- MongoDB: A NoSQL database used for storing the data gathered by the IoT devices.
- Data Gathering: The Uno R3 reads data from connected sensors.
- Data Transmission: The ESP8266 sends the gathered data to the FastAPI backend.
- Data Storage: FastAPI receives the data and stores it in a MongoDB database.
- Data Display: The data is retrieved from MongoDB and displayed on a website.
Firenitrix/
├── arduino/
│ ├── ESP/
│ ├── R3/
├── config/
│ ├── db.py
├── static/
│ └── index.html
├── templates/
│ ├── js/
│ └── css/
├── requirements.txt
├── main.py
├── sensorApi.py
└── README.md
main.py
: The entry point of the FastAPI application.sensorApi.py
: The Api endpoint to comunicate between sensor and server.requirements.txt
: A file listing the dependencies required to run the project.README.md
: This file.