
XGO / Freenove Robot Dog
IT STEM Standard 12 4 hrs Coding / Algorithm Computational Thinking Robotics Coding Block Coding Python
Students will learn robotics using Raspberry Pi, assembling a robot dog, coding it to walk, bark, and navigate. The course fosters creativity and problem-solving, with students building their own robot dog by the end.
Learning objectives
- Explore basic principles of robotics, including components, sensors, and actuators, through hands-on interaction with robotics dog
- Learn to write and implement code to control the robot's movements and behaviors
- Improve their critical thinking and problem-solving skills by addressing real-world challenges in robotics
Lesson plan
What is XGO Robot? | Introduces the XGO AI quadruped (15 joints plus a robotic arm), handling safety and the power-on routine, the micro:bit and its pins (P14 send, P13 receive), loading the "xgo" extension, pairing and downloading code, and the move versus rotate blocks including how they combine into a circle; hands-on task is a fashion show where XGO walks like a model and strikes poses.
Happy Happy Happy | Programs XGO to react when it is touched so it stops being lonely, then uses the random-number block to make it pick one of several actions (walk around, wiggle, sit) each time.
Puppy Energy Bar | Adds an "energy" variable and a while-style repeat block so XGO keeps performing random actions until energy reaches zero, displaying the current energy on the LED matrix; the challenge adds an "old action" variable so the same action is never chosen twice in a row.
Remote-Controlled Dog | Uses a second micro:bit as a radio remote: set the radio group, send a number, store it in a "number" variable on the receiver and run different actions from it; both programs are then improved with LED icons that confirm a signal was sent and received.
XGO Charge! | Buttons alone cannot cover every direction, so the remote adds on-tilt / on-shake gesture blocks as extra input signals and the receiver gains three more else-if branches so XGO can turn left, turn right and stop turning.
The Third Hand | Uses XGO's robotic arm to retrieve objects, with a "clamp" variable that toggles between extend and retract so a single signal controls both; the course ends with a free-build task to write your own program.
Prerequisites
- None
Software
- Una Virtual Classroom - Basic Plan or Microsoft MakeCode
Other requirements
Hardware
- Tablet/Notebook/Desktop
- micro: bit
- Elecfreaks XGO Robot Dog Kit
- 3*AAA batteries