Infra red sender for wireless light barrier