Real time parameter monitoring for the products in the smart delivery system is an extremely necessary task but there are many challenges due to great quantities and the movement of products. In this paper, a smart delivery system based on Internet of Things (IoT) is presented. The system allows managers and customers to monitor all real time parameters of the products during the delivery process using Massage Queuing Telemetry Transport (MQTT) protocol. In addition, the proposed system employs compact, low power consumption sensor nodes as well as optimal control algorithms so that the lifetimes of fixed node and mobile node are appropriately 286 days and 40 days, respectively.