The neural encoding of sensory information

How do neural circuits encode information about the sensory environment? How does the brain transform this information into a percept? I am particularly interested in working at the interface of neuroscience and engineering to gain access to neurons in action!