Physical And Logical Design Of Iot