Edinburgh Science Learning, Generation Science provided a great workshop for Primary 5.
Creative Coding used Marty the Robot to demonstrate how robots can be programmed to complete tasks. Marty was Wi-Fi enabled and had nine individually controlled servo motors to make it move and sensors to detect its environment.
Marty used the open-source programming platform called Scratch to control it.
Inside Marty is a microcontroller which is an electric circuit board that performs the same functions as the central processing unit of a computer. Marty has a number of different sensors. He had a distance sensor, tilt sensor and force sensor.