The use of Wireless Sensor Networks (WSNs) has become increasingly popular in agriculture for real-time monitoring of environmental parameters. This study presents the development and evaluation of a WSN implemented using Arduino, Raspberry Pi, and XBee modules for real-time monitoring of temperature, humidity, soil moisture, and light intensity in a greenhouse. The results demonstrate that the system provides reliable and accurate data with low power consumption, thereby highlighting the feasibility of using WSNs for agricultural monitoring. This substantiates the feasibility and practicality of employing WSNs as invaluable tools for agricultural monitoring. As agriculture undergoes a transformative shift towards precision and sustainability, this research underscores the potential of WSNs to revolutionize farming practices, enhance resource allocation, increase crop yields, and ultimately contribute to the promotion of environmentally responsible agriculture. This study serves as a significant step in the convergence of technology and agriculture, fostering more efficient and eco-conscious farming methodologies.