About the course
🎓 From Blockly to Python with the Ned2 Robot
This course guides learners through the gradual transition from visual programming with Blockly to text-based programming in Python, using the collaborative Ned 2 robot.
Through three complementary units, students strengthen their programming logic skills, discover the basics of Python, and create their first complete scripts to control a real robot.
Unit 1 — Advanced Blockly
Students deepen their knowledge in visual programming with Blockly.
They learn to structure programs, adopt best development practices (modularity, clarity, code reusability), and solve more complex problems using the Ned2 robot.
Topics covered:
- Comments
- Sequences
- Variables
- Loops
- Conditions
- Functions
- Lists
Unit 2 — From Blockly to Python
This unit forms the bridge between visual and textual programming.
Through a series of practical challenges, learners discover how Blockly blocks translate into Python instructions, developing an intuitive understanding of the language.
Activity 1 - Compare Blockly and Python
Activity 2 - Predict the robot's behavior
Unit 3 — Python Programming and First Complete Script
Students put their knowledge into practice to write their first complete Python program.
They learn to use the pyniryo library to control the Ned2 robot, structure a standalone script, and understand the Python code execution flow using an IDE.
At the end of this course, learners are able to:
✅ Design structured and efficient programs in Blockly
✅ Understand and write basic Python code
✅ Develop a complete script to control the Ned2 robot
What you'll learn
- Structure and optimize Blockly programs using good development practices (modularity, clarity, code reuse)
- Use fundamental programming concepts: sequences, variables, loops, conditions, functions, and lists
- Understand the correspondence between Blockly blocks and Python code
- Translate visual logic into readable and efficient Python instructions
- Operate the Ned2 robot using the pyniryo library
- Write, test, and execute a complete Python script in a development environment (IDE)
- Develop a practical understanding of the execution flow of a robotic program
- Gain autonomy to design and program robotic tasks in Python
Course content
About the Author
Enrolment options
From Blockly to Python with the Ned2 Robot
- Length: 8
- Content Type: Lab
- Programming: Python
- Equipment: Simulation
🎓 From Blockly to Python with the Ned2 Robot
This course guides learners through the gradual transition from visual programming with Blockly to text-based programming in Python, using the collaborative Ned 2 robot.
Through three complementary units, students strengthen their programming logic skills, discover the basics of Python, and create their first complete scripts to control a real robot.
Unit 1 — Advanced Blockly
Students deepen their knowledge in visual programming with Blockly.
They learn to structure programs, adopt best development practices (modularity, clarity, code reusability), and solve more complex problems using the Ned2 robot.
Topics covered:
- Comments
- Sequences
- Variables
- Loops
- Conditions
- Functions
- Lists
Unit 2 — From Blockly to Python
This unit forms the bridge between visual and textual programming.
Through a series of practical challenges, learners discover how Blockly blocks translate into Python instructions, developing an intuitive understanding of the language.
Activity 1 - Compare Blockly and Python
Activity 2 - Predict the robot's behavior
Unit 3 — Python Programming and First Complete Script
Students put their knowledge into practice to write their first complete Python program.
They learn to use the pyniryo library to control the Ned2 robot, structure a standalone script, and understand the Python code execution flow using an IDE.
At the end of this course, learners are able to:
✅ Design structured and efficient programs in Blockly
✅ Understand and write basic Python code
✅ Develop a complete script to control the Ned2 robot
- Enrolled students: 62



