Hardware Abstraction and Protocol Optimization for Coded Sensor Networks The design of the communication protocols in wireless sensor networks (WSNs) often neglects several key characteristics of the sensor’s hardware, while assuming that the number of transmitted bits is the dominating factor behind the system’s energy consumption. A closer look at the hardwarespecifications of common sensors reveals, however, that other equally important culprits exist, such as the reception and processing energy. Hence, there is a need for a more complete hardware abstraction of a sensor node to reduce effectively the total energy consumption of the network by designing energy-efficient protocols that use such an abstraction, as well as mechanisms to optimize a communication protocol in terms of energy consumption. The problem is modeled for different feedback-based techniques, where sensors are connected to a base station, either directly or through relays. We show that for four example platforms, the use of relays may decrease up to 4.5 times the total energy consumption when the protocol and the hardware are carefully matched. We conclude that: 1) the energy budget for a communication protocol varies significantly on different sensor platforms; and 2) the protocols can be judiciously adapted to the underlying hardware. The results are cross-validated using real-life measurements.