In recent years, there has been significant interest from the scientific community in the fields of precision agriculture assisted through the use of Unmanned Aerial Vehicles (UAVs). This paper introduces a novel system that addresses the challenge of charging station issues in a UAV network. It proposes a system based on a master/slave model where there is a master station connected to different slave stations that use a lightweight application protocol, such as MQTT, for communicating with each other. Specifically, the paper proposes a smart station design aimed at effectively managing UAV fleets by task allocation and activity scheduling. In this way, the fleet of UAVs can recharge the batteries during the mission guaranteeing the completition of the performed task and facilitating an on-demand energy supply to the UAVs that need recharging during the mission.