The paper discusses the design of a wireless sensor network (WSN) utilizing Zigbee technology for dynamic communication between nodes. It focuses on algorithms that improve communication efficiency and network lifetime, demonstrating that the proposed method can extend network longevity by 25% compared to existing algorithms. Key components include temperature sensors, a master-slave architecture, and cooperative communication protocols to mitigate data loss and enhance energy efficiency.