# How to Understanding AI Interaction
In today's rapidly evolving technological landscape, AI-powered STEAM education robotics are revolutionizing the way children interact and learn.
These innovative toys go beyond mere entertainment, fostering human-like interactions that enhance social skills, empathy, and collaborative play. By integrating AI, these robotic companions can respond to verbal cues, recognize emotions, and even adapt their behavior based on the child's actions, making playtime a dynamic and personalized experience.
This #How to will teach you how mBot2 makes AI concepts tangible for kids as well as exploring the potential of these intelligent companions to provide unique fun and growth for children.
Why children should be exposed to AI human-computer interaction?
• Developing Technological Literacy: Understanding and using AI technology can help children familiarize themselves with modern technology and develop their technological literacy. Such skills will become increasingly important in the future of work and life.
• Inspire Creativity And Innovation: AI human-robot interaction can inspire creativity and innovation in kids. By programming and operating robots, kids can put their ideas into practice and create a variety of fun and practical projects.
• Enhanced Interest In Learning: AI human-computer interactions are usually carried out through interesting programs and activities, which can enhance children's interest and motivation in learning. They learn while playing and are able to understand and memorize what they learn more deeply.
• Adapting to Future Career Needs: With the development of AI technology, many future careers will involve AI and automation. Exposing children to these technologies at an early age can provide a solid foundation for their future careers.
Understanding AI Interaction: mBot2's By Touching Feature for Enhanced Learning and Engagement
• In the field of artificial intelligence (AI), the concept of "by touching" typically refers to a way of interacting and controlling through physical touch or contact. It mainly involves sensing and interaction through sensors, servos, etc., enhancing the perception and operational capabilities of robots and automated systems.
• How can we help children understand this concept using mBot2? We have created a related case study."When mBot2 tilts over, it calls out for help and tries to escape after detecting a change in angle."
• This feature demonstrates AI's application in perception and interaction and helps children understand how AI robots sense and respond to changes in the external environment through vivid interactions.
How To Program AI Human-Computer Interaction
Step1:Preparation
• An assembled mBot 2 cart
• Type C cable*1
• A computer with internet access
After assembling the mBot 2, use the data cable to connect the mBot 2 to your computer, open the Wise Programming Tool (desktop, web, mobile), connect to the mBot 2, and switch to upload mode.
Step2:Programming
Substep 2.1: Connect To The Network
The first step in programming is to get the mBot2 connected to the network. This step is crucial because it allows the device to access Internet resources for real-time data processing and communication.
• First, drag a hat block from "Events" and place it on top of the other blocks to activate them.
• Next, take out the blocks for connecting to Wi-Fi from "IoT" and fill in the Wi-Fi name and password.
• Then we need to check whether the Wi-Fi connection is successful, and drag the wait condition from "Control".
• Drag the "network connected?" block from "Control" and put it into the waiting condition.
• Finally, drag the colored lights from "LED" as the condition for a successful Wi-Fi connection.
With the above steps, mBot2 will be able to connect to a Wi-Fi network. Next, we will program mBot2 to interact with us!
Substep 2.2: Call for Help When mBot2 Topples Over
Next, we need to use the gyroscope on the Cyberpi to enable mBot2 to perceive its own state like a human being and have its own emotions, if it falls over on the ground, it can yell out "Help me!", and if it is pressed on the head, it will get angry and make a fuss.
• First, drag the execution condition from "Control".
• Then select the trigger condition of "screen down" in "Motion Sensing".
• We let all the light beads light up red to indicate that the above condition has been triggered and use red to express the mood of mBot2. Drag out the blocks from "LED" and click on them to adjust the color of the light.
• Next, we want mBot2 to call for help. After connecting to the network, we can use the read
-aloud function in "AI" to change the content to "Help me!" and mBot2 will call for help when it overturns.
• When the flip condition is triggered, a sense of urgency is conveyed by spinning the wheel and accompanying sad sounds. To get the wheel rolling, you need to add the mBot2 expansion board first.
• After adding the mBot2 Expansion Board, drag the 1-second forward block from the "mBot2 Chassis".
• Finally, select the voice of "sad" in "Audio" and you're done!
Substep 2.3: Angry When mBot2 Is Pressed By The Head
In the same vein, we next programmed mBot2 to have angry emotions when pressed on the head.
• First, select the Cyberpi tilt angle trigger in "Motion Sensing".
• Then select the operator in "Operators".
• Put the angle condition into the equation condition and lock the angle at 10-20° so that it is when the tilt angle is 10-20° that the condition is triggered.
• Finally, select "angry" and "annoyed" in "Audio" and "mBot2 Extension Port". Adjust the blocks of the encoding motor and change the duration.
And the most important point! Be sure to add a repeat execution condition
In this way, AI robots capable of interacting with children are created. Hurry up and try your hand at making your own AI robot!
Explore Practical Applications of mBot2 By Touching on Concepts in Education and Programming
• Classroom Teaching: Teachers can use mBot2 for demonstrations, allowing students to observe and discuss the robot's response to tilting, and understanding sensor data processing and response mechanisms.
• Programming Practice: Students can adjust mBot2's self-rescue logic through programming, experiencing the impact of coding on robot behavior, thereby mastering basic programming and debugging skills.
• Extracurricular Activities: In robotics clubs or extracurricular activities, students can work in teams to design and improve mBot2's self-rescue plans, fostering teamwork and problem-solving abilities.