An optical camera communication according to an embodiment of the present invention includes a transmitting device which transmits a visible light signal with an optical rate and a receiving device which receives the visible light signal with a frame rate lower than the optical rate. The transmitting device includes a signal modulation module which modulates source data by using an M-ary pulse position modulation (PPM) method, a PN code generating module which generates a pseudo noise (PN) code, an LED driving module which generates a driving signal, and an LED module which transmits the visible light signal through at least one LED according to the driving signal. The receiving device includes a camera module which has the frame rate, an interest area detection module, and a signal detection module which detects the source data. The purpose of the present invention is to provide a method for generating various current PN codes for a CS-based data recovery method.
Dimmable Optical Camera Communications Based on Compressed Sensing