A universal basic for creating microsensory devices those are sensitive to changing environmental conditions