a project on transmission of data from one device to another device with light medium.
Basic working of Li-Fi : The light emitter or light source is on one end and a photo detector on the other. Both sender and receiver has both the modules in order to execute data forwarding and data receiving. The sender converts the data into binary format and sends it to the receiver by the light emitter and the binary code is then received to build up a message.
Transmission : The transmission module receives data from the user through the use of an user interface which is then sent to the encoder, a flag is then added to identify the blocks of data(the flag used in this specific project is 44 i.e.,”1000 1000” as per the KEY mentioned earlier). which is then sent to the receiver through the light source by adjusting the current flow of the LED to turn it on and off for differentiating 1s and 0s.
Encoder : it encodes the data that is to be sent to the receiver into binary data using a specific KEY to encrypt the data considering the privacy of the sender and to prevent the data from data loss. ECC is later appended at the end and beginning of the data being transferred to identify and recover data in case of data loss
Receiver : Module with the help of LDR where the binary value ‘0’ is considered when the circuit around the LDR is broken i.e., the time duration when the light is not appearing over the LDR, the binary value ‘1’ is considered when the circuit around the LDR is complete i.e., the time duration when the light falls over the sensor.
Decoder : The decoder is a sub-module of receiver
module where it receivers the raw binary data from
the receiver module and converts it into its
respective format with the help of KEY from the
receiver side as mentioned before to decrypt the
encrypted data
receiver side circuit:
sender side circuit:
receiver side output:
intermediate code: