where did the writer get inspiration for this character?
Holmes was inspired by the real-life figure of Joseph Bell, a surgeon at the Royal Infirmary of Edinburgh.
Sherlock Holmes
Edgar Allan Poe's C. Auguste Dupin is generally acknowledged as the first detective in fiction and served as the prototype for many later characters, including Holmes. Conan Doyle once wrote, "Each [of Poe's detective stories] is a root from which a whole literature has developed... Where was the detective story until Poe breathed the breath of life into it?" Similarly, the stories of Émile Gaboriau's Monsieur Lecoq were extremely popular at the time Conan Doyle began writing Holmes, and Holmes's speech and behaviour sometimes follow that of Lecoq. Holmes and Watson discuss Dupin and Lecoq near the beginning of "A Study in Scarlet".

Conan Doyle repeatedly said that Holmes was inspired by the real-life figure of Joseph Bell, a surgeon at the Royal Infirmary of Edinburgh, whom Conan Doyle met in 1877 and had worked for as a clerk. Like Holmes, Bell was noted for drawing broad conclusions from minute observations. However, he later wrote to Conan Doyle: "You are yourself Sherlock Holmes 
who portrayed watson in the recent bbc show 'sherlock Martin Freeman. when was it initially aired? 1st January 2016. what is the series about? It is a British crime television series based on Sir Arthur Conan Doyle's Sherlock Holmes detective stories. who are the other characters in the series? Sherlock Holmes, Doctor John Watson. who did the soundtrack for the series? The  theme and incidental music were composed by David Arnold and Michael Price. what can you tell me about the former? He is an English film composer. what response did the series receive? The three episodes of series two were the three most watched programmes on iPlayer, the BBC's video-on-demand service, It received disapproval due to adult-orientated content. what are the various disguises of the protagonist? UNANSWERABLE
wiki:19670722
Sherlock Holmes [SEP] Inspiration for the character
Edgar Allan Poe's C. Auguste Dupin is generally acknowledged as the first detective in fiction and served as the prototype for many later characters, including Holmes. Conan Doyle once wrote, "Each [of Poe's detective stories] is a root from which a whole literature has developed... Where was the detective story until Poe breathed the breath of life into it?" Similarly, the stories of Émile Gaboriau's Monsieur Lecoq were extremely popular at the time Conan Doyle began writing Holmes, and Holmes's speech and behaviour sometimes follow that of Lecoq. Holmes and Watson discuss Dupin and Lecoq near the beginning of "A Study in Scarlet".