The document presents a method for gathering real-time data in Wireless Sensor Networks (WSN) while minimizing network costs through an innovative algorithm. Key objectives include determining the minimum number of data collectors and utilizing techniques like polling points and minimum spanning trees to optimize data collection. The proposed approach aims to reduce costs and improve efficiency, providing advantages such as real-time updates and effectiveness for larger areas.