A method includes applying, by an optical stimulation device, an optical stimulus to an olfactory organ of an animal having a genetically engineered olfactory sensory protein to produce a desired neural response. The genetically engineered olfactory sensory protein has been genetically modified to incorporate a light-responsive element.