This IR sensor wire is 3.25 feet long and it uses the standard 3.5mm headphone plug. If you wish to extend this sensor wire for longer cable length in the setup, you can simply use a longer 3.5mm or 2.5mm audio extension cable to join with this sensor cable for cable extension if needed.
eBay