According to the mechanism of spectral domain optical coherence tomography, this paper gives a design and development of a practical OCT imaging device based on slit-lamp microscopic widely-used in ophthalmology. The paper details the device's architecture and three key points in design: communication between PC and MCU, how to design modules of fixation lamp and reference arm and anti-interference measures.