Innovative device for real-time monitoring water and air quality