Based on STM32f030x4, 8 channal input infrared reflection board using AD to get continuous position of a black line on white background.