Here is another cool robot kit that can teach you a thing or two about coding. The Yahboom STM32 Robot Car comes equipped with an OV7670 camera. It is ready for line following and obstacle avoidance.
The STM32 expansion board can drive two channels DC motors and four channels servos. The robot runs on 2200mAh.