This is a school project which aim to simulate a Lab monitoring system.Several gas parameters are monitored and based on a user decision threshold, an active filter will be turned on simulated by a fan.Another device will be in charge of informing if lab objects are positioned at the right place. it will work with RFID tags placed under the objects and RFID sensors on the shelf.
Hardware:In order to achieve this project, we have decided to develop two different end-devices to illustrate the need and to be able to easely expand it.
NFC/RFID end-deviceThe first esp32 will be used linked to 2 RC-522 RFID readers in order to send the data via mqtt to a broker. The electrical diagram can be found as well as the code for it in the repo.
Gas reader and active filter end-deviceThe second esp32 is in charge of monitoring 9 differents gas and to publish them via mqtt to the broker. This end device also controls a relay that activate a FAN to represent an active filter. As for above, the electrical diagram and the code can be found in the link.
ServerThe server is located on a raspbery-pi 3 and is connected to a local network. It uses mosquito as a mqtt broker on port 1883 and run a python-flask program to host the website and collect the data.Once the data is sent to the server from the gas end-device or the RFID end-device. It is treated to be stored in a local SQL database. The code for the server can also be found on the git repo.
APIFinaly, the website allow the user to monitor and remotly control the end-devices:The user can set Active Filter mode on : ON/AUTO/OFF.When on ON, the user can also set the gas value to automaticly monitor and its threshold. If the value is above the threshold, the FAN will activate.The user can also see wether or not the objects are at the right place or are missing via icons under RFID1 and RFID2. The user can also add and modify the list of existing objects
Comments
Please log in or sign up to comment.