The major principle of teaching a child how to program is the creation of a complex game by the child that will consist of many minor structures called scripts.
"Controlling Our World" poster presentation and resources given at the Scratch@MIT 2014 conference. Use them to easily learn how to use an Arduino with Scratch.