A pressure sensor and microcontroller-based medical device for preventing of the acute pulmonary pathologies in intensive care