Close

Choosing the transmission protocol

A project log for Low power IR beacon

A battery powered, periodic infrared beacon for a geocaching puzzle

piotrb5e3piotrb5e3 12/30/2017 at 14:370 Comments

As I've calculated in the previous log, around 70% of the total power consumption of this project comes from just the driving of the LED. The choice of protocol will have an enormous impact on battery life. My first choice was to use the NEC protocol. Let's see if we can do better.

Let's look at protocols supported be the Arduino-IRemote library. We'll be using a 33% duty cycle (9μs LED on time).

NamePayload size
(bits)
Max transmission timeIR on time

(per transmission)

NEC3286ms8.937ms
Denon1430.45ms1.44ms
Panasonic4890ms9.108ms
RC51225ms4.032ms
RC61924ms4.032ms
Sharp1331ms1.728ms
Whynter32102ms9.507ms


Let's start with the Denon protocol. Out of the available 14 bits 2 will be used for a checksum. This leaves us with only 12 bits for the password. 4000 combinations is not much, but for this project it should be enough.

Discussions