I think this would be fun to do in learning areas as a PD.
Explain to students that in order for a robot to move it needs instructions to follow. An input is the instructions and steps we want the robot to do and then the robot outputs that instruction.
Give students time to explore different robots you may have such as beebots, dash and dot, ozobots, spheros (you may choose to watch videos of these robots in action if you do not have access to them).
After students have had enough time to explore these robots, come together to discuss the following questions.
What do they have in common?
How do they know what to do?
What functions do they have?
How do you input information into the robot?
Explain that the year 5/6 students will be developing a code to represent the functions the F-2 students choose for the robot to make. Discuss what the robot might be able to do (examples could include walking, running, turning, jumping, making noises).
Give students time to explore the robots again, this time focussing on the functions they can do. Make a list of the different functions the robots do (E.g. left, right, forward and backwards, stop, make sound). Discuss the symbols or inputs used to tell the robot what to do (E.g. arrows, colours, shapes).
Students return to their cross age groups and list the different functions they want the robot to do, considering some of the movements they have seen in the shared robots.