Introduction to Coding for Robotics

Introduction to Coding for Robotics

Introduction to coding using If/Then logic and visual programming tools.

Sequence: Young Engineers

Grade: First

Hours of Instruction: 30 - 45

Course Description

Students develop basic computer programming skills by coding for the Thymio robot using drag-and-drop tools.

Students learn the technical process of connecting and uploading computer code to the Thymio robot. Students explore the electronics sensors which Thymio uses to detect touch, motion, sound, and the physical proximity of nearby objects, as well as the behavioral commands available to control Thymio’s LED lights, activate its motors, and generate sound. Using the Aseba Studio’s Visual Programming Language, students write computer code based upon simple If/Then logic to precisely control Thymio’s behavior. Students apply logic, design, and coding skills by executing their first independent project–turning Thymio into a robotic animal with unique personality and behaviors.

Educational Standards

Texas Essential Knowledge and Skills (TEKS)

Chapter Subchapter Course Application
126.40.c.1 B Use a problem-solving model that incorporates analyzing given information, formulating a plan or strategy, determining a solution, justifying the solution, and evaluating the problem-solving process and the reasonableness of the solution.
126.40.c.2 A-F Develop products and generate new understandings by producing a prototype; presenting the prototype in various media, designing and refining a robot, and improving its design to meet specific needs.
126.40.c.2 G-H Demonstrate an understanding of and create artificial intelligence in a robot; and create behavior-based control algorithms.
126.40.c.4 A-E Locate, analyze, process, and organize data by testing and evaluating robot design; implement position tracking, modify a robot to respond to changing situations; identify and track all components of a robot.
126.40.c.5 A-C Use appropriate strategies to analyze problems and design algorithms by developing algorithms to control a robot, including applying instructions, collecting sensor data, and performing simple tasks; creating maneuvering algorithms to physically move the location of a robot; and creating algorithms that provide interaction with a robot.
126.40.c.7 A-I & K Understand technology concepts, systems, and operations by identifying and describing the steps needed to produce a prototype; demonstrate the use of computers to manipulate a robot. Demonstrate knowledge of the design process, use of sensors, infrared range sensing, and interpretation of sensor feedback.
126.40.c.7 J, N, P, & R Demonstrate knowledge of motors and gears used in robot navigation, then program the robot to perform simple tasks while using feedback control loops to provide information.

 

Key Objectives

Students will:
  • Acquire skills to operate the Thymio robot, connect the robot to computers, and upload computer code to the robot.
  • Develop an understanding of how computer code uses If/Then logic to control different robot functions.
  • Apply If/Then coding logic to control Thymio by emitting light, modifying LED colors, and creating movement.
  • Develop project management skills, including pre-planning, pseudocode generation, and debugging.
  • Apply coding and project management skills to the planning and execution of a summative project.

Materials/Supplies

  • Coding for Robotics Teacher’s Kit
  • Coding for Robotics Classroom Activity Kit

Other Required Resources

  • Computer, one per student
  • ASEBA Studio software

Compatibility

Apple Windows Chrome