Encapsulated sensory receptor