The ASP automatic anti-flooding system is an autonomous system that prevents flooding of single and multi-family residential buildings and is used to comprehensively protect property against the effects of flooding. The set includes: SAM-01 controller, ZAW-1CAL solenoid valve, SON-K probe and two SON-M probes.