Wireless sensors network (WSN) is widely used in the Internet of Things at present. However, limited energy source is a critical problem in the improvement and practical applications of WSN, so it is necessary to improve the energy efficiency. As another important evaluation criterion of transmission performance, throughput should be improved too. To mitigate both of the problems at the same time, by taking the advantages of Time Division Multiple Access (TDMA) and Carrier Sense Multiple Access (CSMA) at the medium access control (MAC) layer of WSN, we propose a hybrid TDMA/CSMA MAC layer protocol. Meanwhile, we design a novel power control scheme to further reduce the energy consumption and optimize the transmission slots. The simulation results demonstrate that the proposed protocol significantly improves the throughput and energy efficiency.