Robots are wonderful tools to use to teach young ones the basics of coding. Take the KicoBox for instance: it is an educational robot kit with lessons to show users how to control motor, light, speaker, and other features. It supports Scratch, which is a visual programming interface.
As your kids grow, they will be able to try more advanced lessons and do more with their robot. The KicoBox has an OLED display, 400 mAh battery, Bluetooth, infrared sensors, and everything you need to get started.[Source]