We found this circuit in a Popular Electronics from 1992. It modulates an infrared LED with a rectangular signal of frequency around 40 kHz. The components can be changed to obtain other frequencies. The circuit can be used in a remote-control system.