Application of Fuzzy Logic for wireless and nanosensor