Joystick Controlled Robot – Programming

Joystick Controlled Robot
Lesson Details
How to make a custom block (function) in PictoBlox?


  • Programming the robot to move forward, backward, left, and right according to the Joystick's movements.
Classroom Bundle Used: STEM Classroom Bundle, STEM Mini Classroom Bundle
Download Resources

Lesson Overview

  • In this activity, students will make a joystick-controlled robot whose motion will be controlled according to the position of a joystick module attached to the robot.
    • If the joystick is moved forward – the robot will move forward.
    • If the joystick is moved backward- the robot will move backward.
    • If the joystick is moved left – the robot will turn left.
    • If the joystick is moved right – the robot will turn right.
    • If the joystick is in the center position – the robot should be at rest.
  • During the activity, students will go through the following activities:
    • Programming of the robot.
    • Debugging of the robot.

Material Required

1 set of the following material per group of 3-5 students:

Lesson Outline

Programming the robot - 40 minutes
Debugging and playing with the robot - 20 minutes

Download Lesson Resources

Next Lessons