In order to combine LED lighting with optical communication system well, an effective coding
design plugged in a time interval which is selected through theoretical calculation is proposed in the
paper. In this way a stable environment for illumination will be provided and the brightness will be
improved. Results of the experiment verify that the coding design is effective.