Im combining 16*2 lcd display, 4*4 matrix keypad,IR sensor with arduino uno.. .my project idea is when i enter a message through keypad,it will reach to receiver with the help of infra red wave under water..please provide me code how to combine all the programs..
IR underwater is about the worst possible choice of wavelength. I assume this is extremely close range.
I wanted the code and diagram to interphasr
Circuits are the same for over- and underwater use, google for instructions. For code see the IRremote library examples.
As AWOL has already pointed out IR is a bad choice for underwater use as the wavelength will be absorbed by water. Also how will the receiver and transmitter "see" each other. If it is going to be through glass then it also blocks IR.