Incubators are used in hospitals to provide babies, usually premature, a thermoneutral environment (ie, the body does not expend energy compensating for changes in ambient temperature) controlled by airflow, humidity and temperature.
In this application, the incubator conditions are configured, monitored and controlled by a manager, which communicates with the sensors/actuators and can receive configurations or respond to queries from an external client.
This is a project proposed in the Computer Networks course at the Universidade Federal do Ceará.
This Java console application is dockerized and to run it you'll just need Docker and Docker Compose installed on your machine, whether it's Windows, Linux or MacOS.
To run all services (manager, monitor, all sensors and actuators), open your terminal in the project folder and run:
docker-compose up
To run the manager (server), open your terminal in the project folder and run:
docker-compose run manager
To client monitor, just run the command:
docker-compose run monitor
To start sensors, just run the command:
docker-compose run sensor_id
The available sensors ids are: temperature
, oxygen
, humidity
and heartbeat
.
To start actuators, just run the command:
docker-compose run actuator_id
The available actuators id are: heater
, humidifier
and aircirculator
.