Infrared LED communication question

You'll be able to extend the range a lot with one of these, but 1 km is probably too much.