Implementation of a high throughput low power MAC protocol in wireless sensor networks