Place the IR breakbeam receiver inside the hoop and gauge the length of wire. It should be long enough to wrap around half of the hoop with extra slack at the end for connecting to a 2-wire JST connector.