The growth of the Internet of Things, as well as the optimization needs for agriculture, have opened many opportunities for projects with the integration of these two areas. This paper shows the development of a solution to monitoring crops using the Internet of Things. The sensors and actuators for this precision agriculture design are able to exchange data with an embedded server, which runs on an Intel Edison device. Therefore, an ad-hoc wireless sensor network is established among the devices, using the MQTT protocol. As a result, the monitoring and control of a watering crop project were possible using the proposed solution. In addition, the embedded server allowed the creation of a web interface for the farmer, which can interact with the whole system throughout a web browser. Keywords: Embedded server. Internet of things. Precision agriculture. Wireless sensor network.