Design and development of an IoT-enabled membrane–resin integrated device to produce ultrapure grades of water for medical and industrial applications | Synapse