Li-Fi And Microcontroller Based Home Automation Or Device Control Introduction Optical communications have been used in various forms for thousands of years. After the invention of light amplification by stimulated emission of radiation (LASER) sources and light emitting diodes (LED ) in the 1960s, optical communication quickly revolutionized and spread around the world. Wireless networking is dominated by the use of radio frequency (RF) techniques. The desire for low cost, high speed links motivated recent interest in infrared (IR) wireless communication. The theoretical background for visible light communication (VLC) systems is similar to that found in IR communication except that VLCs uses a much wider visible spectrum. Recent report shows that usage of mobile web and Wi-Fi by smart phone is increasing sharply. Accommodating this growing wireless demand with cellular capacity does not seem possible in the long run. At the same time rapid development of new LED materials in the visible spectrum, specially white LED s motivates considerations of visible light communication medium since it is expected to widely used as the next form of illumination. Full use of the capacity provided by fiber delivered to homes will necessitate the use of broadband links including indoor wireless access technologies capable of operating at Gbit/s. In recent years optical wireless (OW) has emerged as a strong candidates for high speed indoor communication. Indoor optical wireless communication includes two main technologies: visible light and infrared communications. Concerns about energy saving in general lighting are leading to the replacement of incandescent and fluorescent lamps with more energy efficient solid-state lighting (SSL) devices. These SSL visible light sources can provide communications as well as illumination. And this emerging technology has recently drawn great interest in research and practical applications. The LED-based visible light optical channel becomes a very attractive complement or even substitute for RF techniques. It has advantages of large potential bandwidth (THz) with no regulation or license fee. Finally in addition to lower energy consumption LEDs have a significantly longer lifetime and are safer for the environment lifetime as they lack the harmful ingredient of mercury.
BUFFE DRIVE RELAY Block Diagram: TRANSMITTER ENCODER MC 89C51 16 X 2 DISPLAY SUPPLY +12 Volts +5 Volts 230 V, AC GND TRANSFORM RECTIFIER FILTER REGULATOR HARDWARE REQUIREMENTS: 89C51(Microcontroller), LCD, Relay Driver, Relays, Resistors, Capacitors, LEDs, Crystal, Diodes, Transformer, Voltage Regulator, Push Button. SOFTWARE REQUIREMENTS: Keil compiler uvision 4, Language: Embedded C or Assembly, WLPRO Programmer
BUFFER DRIVER RELAY Block Diagram: RECEIVER LOAD CONTROL DECODER MC 89C51 SUPPLY 16 X 2 DISPLAY +12 Volts +5 Volts 230 V, AC Supply GND GND TRANSFORME RECTIFIER FILTER REGULATOR
Block-Diagram Explanation A VLC system used to transmit high quality video and audio signal was proposed and demonstrated by using illumination LEDs. The analog signals were transmitted using the illumination LEDs in the transmitter. The photodiode at the receiver senses optical signals from the LEDs and is converted into electrical signals. The electrical signal is then amplified to recover the digital signal and converted back to analog signals. To obtain this signal is amplified to increase the strength such that it will drive the preceding stage such as power LED and its driver and to remove noise capacitor filter is used. In this project can make use of Light as a source of medium to transmit the signals as it is known that light is ambient and it doesn t affect the human s life or nature here we are transmitting the audio signals via light. Power supply unit This section needs two voltages viz., +12 V & +5 V, as working voltages. Hence specially designed power supply is constructed to get regulated power supplies. Switching unit: In device control application input is given from the keypad. When button is pressed on the keypad a connection is made that generates two tones at the same time. A "Row" tone and a "Column" tone. These two tones identify the key pressed for any device to be controlled. When the user presses any particular switch then the DTMF encoder IC will generate a unique pair of frequencies. And accordingly the different keys are pressed signals of different frequencies are generated. This code sequence will be fed to an LED which will emit the light according to the sequence generated i.e. it will turn on for logic 1 and turn off for logic 0. Then this light signal is transmitted to the receiver side where it is reproduced as an electrical signal through a light dependant resistor. On the receiver side the received signals of different
frequencies are passed to the DTMF decoder IC which will convert it into BCD signal. These BCD signals are used to control the equipment. Microcontroller: The 89C51 Micro-controller is heart of this project. It is the chip that processes the User Data and executes the same. The software inherited in this chip manipulates the data and sends the result for visual display. The general definition of a microcontroller is a single chip computer, which refers to the fact that they contain all of the functional sections (CPU, RAM, ROM, I/O, ports and timers) of a traditionally defined computer on a single integrated circuit. Some experts even describe them as special purpose computers with several qualifying distinctions that separate them from other computers. Power amplifier: An audio power amplifier is an electronic amplifier that amplifies low-power audio signals (signals composed primarily of frequencies between 20-20 000 Hz, the human range of hearing) to a level suitable for driving loudspeakers. It is the final electronic stage in a typical audio playback chain. Li-Fi transmitter and receiver: Li-Fi is implemented using white LED light bulbs at downlink transmitter. These devices are used for illumination only by applying a constant current. By fast and subtle variations of the current, optical output can be made to vary at extremely high speeds. This variation is used to carry high speed data. Buffers Buffers do not affect the logical state of a digital signal (i.e. a logic 1 input results in a logic 1 output whereas logic 0 input results in a logic 0 output). Buffers are normally used to provide extra current drive at the output but can also be used to regularize the logic present at an interface. Drivers
This section is used to drive the relay where the output is complement of input which is applied to the drive but current will be amplified. Relays It is a electromagnetic device which is used to drive the load connected across the relay and the o/p of relay can be connected to controller or load for further processing. Load: Here the devices will acts as a load DTME Encoder: The DTMF Encoder uses a radio frequency to transmit the control signals for generating the DTMF frequencies, a dedicated IC UM95089 (which is used a dialer IC in telephone instruments) is used here. It uses a quartz crystal of 3.58 MHz DTMF Decoder: This project uses DTMF decoder UM 8870 IC. The DTMF decoder identifies the transmitted signal. If a valid code is received then only the switch sends the signal to the ARM controller, the ARM controller used is ARM7LPC2148. Methodology 1. OFDM OFDM is a popular multi-carrier modulation technique developed for RF systems able to significantly increase the data-rate in bandwidth-constrained channels. Because of its outstanding performance in RF systems, modified forms of it, such as DC biased optical OFDM (DCO- OFDM) and asymmetrically clipped optical OFDM (ACO-OCDMA), have been proposed for use in indoor VLC systems. Bit-rates of 1 Gb/s in combination Several challenges remain in using OFDM for VLC. The tails of the impulse response can be quite long, requiring a long cyclic prefix for OFDM to work, and this reduces the
throughput. Dimming is another challenge in utilizing OFDM in indoor VLC. OFDM has a naturally high PAPR, but it is not easily controllable. A solution for embedding the dimming function in OFDM is to combine it with PWM, as suggested in, but this approach limits the datarate and can cause flicker. By far the worst problem for OFDM is the LED nonlinearity since, due to the large PAPR; it can severely distort the output signal. 2. SPATIAL MODULATION To side-step the single-degree-of-freedom limitation of IM, a multi-point system can be used. The resulting so-called spatial modulation (SM) increases the data transmission rate by using multiple physically-separated transmitters and multiple physically-separated receivers. SM can either be used as a stand-alone modulation or be considered as a form of multiple-input multipleoutput (MIMO) that can be combined with other modulation schemes to increase the bit-rate. The main drawback of SM in VLC system is its susceptibility to shadowing and multipath interference. Applications 1. Aviation 2. Smart Lighting 3. Hazardous Environments 4. Device Connectivity 5. Vehicle and Transportation 6. Defence and Security 7. Hospitals 8. Underwater Communications Advantages & Disadvantages
Advantages 1. Harmless for the human body. 2. Data transmission by sockets of existing light fixtures. 3. Alleviation of problems associated with the radio frequency (RF) communication system. 4. Less energy consumption. 5. Increased security. 6. Compact integration of sensors through small dimensions. 7. Huge number of channels available without interfering with other sources. 8. Simple electronics as drive for the LED s. 9. No influence to other sensitive equipment through radio waves. Disadvantages 1. To transmit the data it should be in the line of sight.