A theoretical framework is proposed for accurate comparison of minimum energy coding in Coded Division Multiple Access (CDMA) Wireless Sensor Networks (WSNs). Energy consumption and reliability are analyzed for two coding schemes: Minimum Energy coding (ME), and Modified Minimum Energy coding (MME). A detailed model of consumed energy is described as function of the coding, radio transmit power, the characteristics of the transceivers, and the dynamics of the wireless channel. Since CDMA is strongly limited by multi-access interference, the system model includes all the relevant characteristics of wireless propagation. A distributed and asynchronous algorithm, which minimizes the total energy consumption by controlling the radio power, is developed. Numerical results are presented to validate the theoretical analysis and show under which conditions MME outperforms ME with respect to energy consumption and bit error rate. It is concluded that MME is more energy efficient than ME only for short codewords.Index Terms-Wireless sensor network (WSNs), minimum energy coding, CDMA, OOK, power control, outages, parallel and distributed computation.