Nitrogen vacancy (NV-) centers possess exceptional sensitivity to magnetic field even under ambient condition. The optically detectable electron spins and the atomic size make it a promising candidate for advanced magnetic resonance imaging (MRI) technique with nanoscale spatial resolution. In this work, diamond particles with NV-centers were deposited by microwave plasma chemical vapor deposition (MPCVD) under gaseous N2dopant and were fixed on the fabricated scanning probe as a magnetic sensor. While the existence of NV-center was determined by Raman spectroscopy, the photoluminescence intensity at 2.87 GHz microwave frequency was decreased by an optically detected magnetic resonance (ODMR) system. It implies that the NV-spin state can be manipulated and read out using optical excitation.