I am working on an automation project that requires a sensor that communicates wirelessly. There will be a receiver tied into the machine and a sensor located a meter or two away. The sensor needs to be battery powered, but it only needs to detect during a short window of time. But when it does detect, I need the receiver to trip as soon as possible. I also need to be sure each receiver is only tripped by the sensor that's paired with it, and not stray light from the sensor on the adjacent machine.
I'm going to have two-way communication between sensor and receiver using IR, so the receiver will send a "start sensing now" signal to the sensor which will wake up.
I I know there are various IR protocols out there, but the overhead of the modulated signal to transmit data, plus needing to receive enough packets of data to determine that the correct sensor tripped seems to mean a delay of tens of milliseconds if not more. I'd like to reduce that latency and ideally be below a millisecond.
I'd appreciate any comments/feedback on the approach to take here. I'd like to use Cypress PSoC MCU's as I'm pretty invested in that ecosystem and very familiar with their programming - but I can do another route if there's something that would make all of this easier.