In this study, we present a visible light communication (VLC) system that analyzes the performance of an optical camera communication (OCC) system, utilizing a mobile phone camera as the receiver and a computer monitor as the transmitter. By creating color channels in the form of a 4 × 4 matrix within a frame, we determine the parameters that affect the successful transmission of data packets. Factors such as the brightness or darkness of the test room, the light color of the lamp in the illuminated environment, the effects of daylight when the monitor is positioned in front of a window, and issues related to dead pixels and light bleed originating from the monitor’s production process have been considered to ensure accurate data transmission. In this context, we utilized the PyCharm, Pydroid, Python, Tkinter, and OpenCV platforms for programming the transmitter and receiver units. Through the application of image processing techniques, we mitigated the effects of daylight on communication performance, thereby proposing a superior system compared to standard VLC systems that incorporate photodiodes. Additionally, considering objectives such as the maximum number of channels and the maximum distance, we regulated the sizes of the channels, the distances between the channels, and the number of channels. The NumPy library, compatible with Python–Tkinter, was employed to determine the color levels and dimensions of the channels. We investigate the effects of RGB and HSV color spaces on the data transmission rate and communication distance. Furthermore, the impact of the distance between color channels on color detection performance is discussed in detail.
Read full abstract