This paper proposes a new protocol that can be used to reduce transmission delay and energy consumption effectively. This will be done by adjusting the duty-cycle (DC) ratio of the receiver node and the contention window size of the sender node according to the traffic congestion for various devices in the Internet of Things (IoT). In the conventional duty-cycle MAC protocol, the data transmission delay latency and unnecessary energy consumption are caused by a high collision rate. This is because the receiver node cannot sufficiently process the data of the transmitting node during the traffic peak time when the transmission and reception have the same duty-cycle ratio. To solve this problem, this paper proposes an algorithm that changes the duty-cycle ratio of the receiver and broadcasts the contention window size of the senders through Early Acknowledgment (E-ACK) at peak time and off/peak time. The proposed algorithm, according to peak and off/peak time, can transmit data with fewer delays and minimizes energy consumption.Energies 2019, 12, 4069 2 of 13 an environment with traffic congestion causes problems of transmission delay, and the entire service life of the application is shortened due to the collision. Thus, the use of the existing duty-cycle (DC) MAC protocol [5] is not suitable. Therefore, it is necessary to develop a protocol for effective event detection [6] and data collection [7] considering various traffic conditions. For example, if the total number of wake-ups to listen to an application is determined [8], the existing duty-cycle MAC occurs irrespective of the congestion occurring at the time of the traffic. This reduces data collisions and transmission delays if the receiver wakes up frequently only at times in heavy traffic.The proposed algorithm increases the number of wake-up times by reducing the sleep time of the receiver at the peak traffic time and reduces the number of wake-up in the opposite case. This demonstrates reduced energy consumption. This paper proposes a new duty-cycle based MAC protocol suitable for congested WSNs and IoT. According to the degree of network traffic congestion, the duty-cycle ratio of the receiver and the contention window size information of the senders are broadcast through E-ACK (Early Acknowledgment), which reduces the transmission latency and waste of energy.The composition of the paper is described in detail in Section 1, followed by a summary of related work in Section 2. Section 3 proposes the operation procedure of the MAC layer. In Section 4, mathematical modeling is performed to predict the proposed algorithm and performance. In Section 5, we compare the performance of the proposed algorithm with the energy consumption and average service latency. Finally, Section 6 presents conclusions and future research topics.