Silicon detector has been used in the high energy physics for several decades and has been a powerful tool since then. The basics of the silicon technology will be discussed. I will then talk about the the current CMS pixel detector then followed with the CMS pixel phase I upgrade project .