| In today’s information era, people put forward higher requirement on the rate of information transmission, the traditional wireless transmission is limited by the carrier frequency, unable to break through the bottleneck of communication rate, and the visible light communication(VLC) technology, using visible spectrum of light wave as the carrier, can greatly improve the communication rate, meet people’s growing demand. The development of LED lighting equipment technology in recent years, provides the conditions of the application and development for the visible light communication technology. The technology can be used in indoor network, and the wireless light communication conducted in where indoor light cover, terminals such as mobile phone and computer, use of indoor lighting LED energy-saving lamps, can transmit high speed data. Visible light communication technology has been developed rapidly as a new way of broadband access, due to the high modulation bandwidth and free from electromagnetic interference, and become a hot research of scholars. Researches in the field of visible light communication technology by domestic and foreign experts and scholars achieved prominent result, but in terms of technology and application, achievements still have many deficiencies.Based on the indoor wireless optical communication as the background, this paper completed the visible light communication system design based on STM32 processor. This design adopts the PWM modulation mode to transmit data, solves the problem of weak anti-interference ability of the traditional visible light communication technology. Inside the closed space on the direct link, the design in the experiment takes visible light from the LED source as information carrier, adopts two LED lamps of 50 lx luminous flux, and the BER in 9600 baud rate simplex communication is only 1.8790×10-4.My main job content is as follows:First, the design scheme of visible light communication system has been completed, components have been analyzed and selected to complete the system hardware circuit design and printed circuit board(PCB) has been mapped.Second, C language has been used to complete the modulation-demodulation software design.Third, finish the test of physical has been finished, I calculate the bit error rate, and the anti-interference ability of the system is verified by comparison.Experimental results of this paper show that the PWM modulation of the visible light communication system based on STM32 can well solve the problem of indoor light interference, and will promote the popularity of visible light communication technology in the field of indoor wireless optical communications and engineering application. |