BUTTERCUP STEAM CAMP | REGISTER NOW FOR SUMMER 2025!
  • Home
  • About Us
    • Get Involved
    • Interesting Articles
    • Gallery
    • Contact
  • About Summer Camp
    • FAQs
    • Scholarship Application | Info
  • REGISTER
  • Events

Teacher

Day 1
Lesson 1 – Robot Boot-up

Day 1: Robot Boot-up – Movement, Lights, and Sound

Objective: Campers learn to connect, move, light up, and play sound using the mBot2 and Makeblock Web IDE.

□ Materials Needed

  • mBot2 robot (1 per team)
  • Laptops with Chrome + USB-C cable or Bluetooth
  • Floor grid (taped)
  • Printed Mission Cards and Badges

□ IDE Mode: Live Mode

Live mode allows campers to test code in real-time while learning basic movement and LED/sound logic.


□ Step-by-Step Activities

Step 1: Connect Your Robot (5–10 min)

Students open ide.makeblock.cc, select mBot2, and connect via USB or Bluetooth.

Blocks to Use:
No blocks yet — just test LED with manual UI in IDE.

Step 2: Lights and Sound (10–20 min)

Goal: Light up the robot and play a sound.

Blocks:
  • when green flag clicked
  • set all RGB LEDs to [color]
  • play sound [hello/siren/beep]

Step 3: Move Forward and Stop (20–30 min)

Goal: Move forward exactly 1 meter and stop using time estimation.

Blocks:
  • when green flag clicked
  • move forward at [50%] speed for [2] seconds
  • stop moving

Step 4: Square Path with Loops (30–45 min)

Goal: Use a loop to move in a square.

Blocks:
  • repeat [4]
  • move forward at 50% speed for 2 sec
  • turn right by 90 degrees

Step 5: Showcase and Badges (45–60 min)

Each team shows off what they coded. Award printable badges for task completion.

□ Badges to Award

  • □ Driver’s License – Movement tasks
  • □ LED Luminary – Lights creativity
  • □ Sound Sorcerer – Used sounds in programs
Day 2
Lesson 2 – Sensor Showdown

Day 2: Sensor Showdown – Maze Navigation and Detection

Objective: Campers use ultrasonic and line-following sensors to interact with the environment using conditionals.

□ Materials Needed

  • mBot2 robot (1 per team)
  • Laptops with Chrome
  • Black tape paths and maze areas
  • Printed Mission Cards and Badges

□ IDE Mode: Upload Mode

Upload Mode is required for sensor logic to function independently on the robot.


□ Step-by-Step Activities

Step 1: Sensor Playground (0–10 min)

Test ultrasonic and line sensors in IDE. Display live readings to get familiar.

Blocks:
  • show ultrasonic distance
  • show line follower status

Step 2: Obstacle Stop (10–20 min)

Program robot to stop if something is detected in front (e.g., a hand).

Blocks:
  • forever
  • if [ultrasonic < 10 cm] then → stop moving

Step 3: Line Following (20–30 min)

Use taped path. Robot must follow a black line.

Blocks:
  • if left sensor detects black → turn slightly left
  • if right sensor detects black → turn slightly right

Step 4: Escape the Trap (30–50 min)

Teams build a “trap” maze. Program robot to exit using sensors.

Blocks:
  • if ultrasonic < X cm → turn
  • if line sensor sees black → stop or turn
  • repeat until goal met

Step 5: Challenge Run and Badges (50–60 min)

One team’s robot runs through another’s trap. Award based on performance.

□ Badges to Award

  • □ Sensor Wizard – Used multiple sensors
  • □ Obstacle Escape Artist – Escaped maze
  • □ Robot Master – Earned 10+ mission points total
title 2

Instructor Guide – Day 1: mBot2 Lessons 1–6

Time: 60–75 Minutes | Mode: Start in Live Mode (Upload Mode only for Lesson 6)

Overview: Guide students through foundational lessons in motion, sensing, sound, and control. Provide support with troubleshooting, clarify block logic, and ensure each student interacts directly with their mBot2.

Lesson 1 – Let’s Move

Objective: Move forward/backward, turn, and stop the robot.

  • when green flag clicked
  • move forward at (50%) speed for (2) seconds
  • turn left by (90) degrees
  • stop moving

□ Challenge: Drive forward 1m, turn, and stop.

✅ Instructor Tip: Emphasize accuracy. Let students experiment with adjusting speed and time to hit the 1-meter mark.

Lesson 2 – Sensing = Data

Objective: Use ultrasonic sensor and light sensor to display data.

  • show number [get distance from ultrasonic sensor]
  • show number [get brightness]

□ Challenge: Wave your hand and observe changing distance!

✅ Instructor Tip: Reinforce real-time feedback on screen. Ask: What changes and why?

Lesson 3 – Listen to mBot2

Objective: Play sounds with speaker and optionally voice commands.

  • play sound [hello/siren]
  • play note (C4) for (0.5) beats

□ Challenge: Program a sound to play before movement starts.

✅ Instructor Tip: Let campers test different notes or combine with movement for a robot "entrance." Voice command optional for advanced.

Lesson 4 – Seeing with Sound

Objective: Use the ultrasonic sensor to detect obstacles and stop.

  • forever
  • if (ultrasonic distance < 10 cm) then → stop moving
  • else → move forward at (50%) speed

□ Challenge: Robot stops automatically when you place your hand in front of it.

✅ Instructor Tip: Make sure the robot is facing outward on the desk. Walk around and ask what happens if they remove the obstacle.

Lesson 5 – Sightseeing

Objective: Use line follower sensor to follow or stop on a line.

  • if (line sensor detects black) then → stop moving
  • if (left sees black) → turn left, if (right sees black) → turn right

□ Challenge: Follow a taped path or stop on the black line.

✅ Instructor Tip: Create a visible track using electrical tape. Emphasize sensor values and detection zones.

Lesson 6 – Careful Drive

Objective: Use gyroscope (IMU) to detect tilt and stop movement.

⚠ Requires Upload Mode.

  • get tilt angle X/Y
  • if (tilt angle > 20°) then → stop moving

□ Challenge: Robot drives forward until it tips or is lifted.

✅ Instructor Tip: Assist with switching to Upload Mode. Reframe this lesson as robot "safety mode."

Wrap-Up: Distribute “Driver’s License” and “Sensor Starter” badges to students completing 4+ lessons.

title 4

Instructor Guide – Day 1: mBot2 Lessons 1–6

Time: 60–75 Minutes | Mode: Start in Live Mode (Upload Mode only for Lesson 6)

Overview: Each camper receives their own mBot2 and works in pairs. Guide students through foundational lessons in motion, sensing, sound, and control. Provide support with troubleshooting, clarify block logic, and ensure each student interacts directly with their mBot2.

Day 1: Robot Boot-up – Movement, Lights, and Sound

Objective: Campers learn to connect, move, light up, and play sound using the mBot2 and Makeblock Web IDE.

□ Materials Needed

  • mBot2 robot (1 per team)
  • Laptops with Chrome + USB-C cable or Bluetooth
  • Floor grid (taped)
  • Printed Mission Cards and Badges

□ IDE Mode: Live Mode

Live mode allows campers to test code in real time while learning basic movement and LED/sound logic.


□ Step-by-Step Activities

Step 1: Connect Your Robot (5–10 min)

Students open ide.makeblock.cc, select mBot2, and connect via USB or Bluetooth.

Blocks to Use:
No blocks yet — just test LED with manual UI in IDE.

Step 2: Lights and Sound (10–20 min)

Goal: Light up the robot and play a sound.

Blocks:
  • when green flag clicked
  • set all RGB LEDs to [color]
  • play sound [hello/siren/beep]

Step 3: Move Forward and Stop (20–30 min)

Goal: Move forward exactly 1 meter and stop using time estimation.

Blocks:
  • when green flag clicked
  • move forward at [50%] speed for [2] seconds
  • stop moving

Step 4: Square Path with Loops (30–45 min)

Goal: Use a loop to move in a square.

Blocks:
  • repeat [4]
  • move forward at 50% speed for 2 sec
  • turn right by 90 degrees

Step 5: Showcase and Badges (45–60 min)

Each team shows off what they coded. Award printable badges for task completion.

□ Badges to Award

  • □ Driver’s License – Movement tasks
  • □ LED Luminary – Lights creativity
  • □ Sound Sorcerer – Used sounds in programs

Detailed Lessons (1–6)

Lesson 1 – Let’s Move

Objective: Move forward/backward, turn, and stop the robot.

  • when green flag clicked
  • move forward at (50%) speed for (2) seconds
  • turn left by (90) degrees
  • stop moving

□ Challenge: Drive forward 1m, turn, and stop.

Lesson 2 – Sensing = Data

Objective: Use ultrasonic sensor and light sensor to display data.

  • show number [get distance from ultrasonic sensor]
  • show number [get brightness]

□ Challenge: Wave your hand and observe changing distance!

Lesson 3 – Listen to mBot2

Objective: Play sounds with speaker and use simple voice commands (optional).

  • play sound [hello/siren]
  • play note (C4) for (0.5) beats

□ Challenge: Program a sound to play before movement starts.

Lesson 4 – Seeing with Sound

Objective: Use the ultrasonic sensor to detect obstacles and stop.

  • forever
  • if (ultrasonic distance < 10 cm) then → stop moving
  • else → move forward at (50%) speed

□ Challenge: Robot stops automatically when you place your hand in front of it.

Lesson 5 – Sightseeing

Objective: Use the line follower sensor to follow a black line or stop on black.

  • if (line sensor detects black) then → stop moving
  • if (left sees black) → turn left, if (right sees black) → turn right

□ Challenge: Follow a taped path for at least 10 seconds.

Lesson 6 – Careful Drive

Objective: Use gyroscope (IMU) to detect angle or tilt. Switch to Upload Mode first.

  • get tilt angle X/Y
  • if (tilt angle > 20°) then → stop moving

□ Challenge: Drive forward, but stop if tilted or lifted too far.

Wrap-Up: Distribute “Driver’s License” and “Sensor Starter” badges to students completing 4+ lessons.

Hardware Used: This plan uses components from the mBot2 Classroom Pack.

best one
Instructor Guide – Day 1: mBot2 Core Lessons 1–6
Time: 60–75 Minutes | Mode: Start in Live Mode (switch to Upload Mode only for Lesson 6)
Overview: Each camper has their own mBot2 and works in pairs. Guide students through foundational lessons in motion, sensing, sound, and control. Provide support with troubleshooting, clarify block logic, and ensure each student interacts directly with their mBot2.
□ Instructor Preparation
Have printed mission cards and badge sheets ready. Tape floor grids for movement exercises. Confirm all mBot2 devices are fully charged and the Makeblock IDE is accessible on student laptops.
□ Materials Needed
• mBot2 robot (1 per camper)
• Laptops with Chrome and USB-C cable or Bluetooth
• Floor grid (taped path)
• Printed Mission Cards and Badge Sheets
□ IDE Mode: Live Mode
Live mode allows real-time testing of code blocks for movement, lights, and sound. Lesson 6 requires switching to Upload Mode for IMU functions.
Lesson 1 – Let’s Move
Objective: Move forward/backward, turn, and stop.
• when green flag clicked
• move forward at (50%) speed for (2) seconds
• turn left by (90) degrees
• stop moving
□ Challenge: Drive forward 1m, turn, and stop.
Lesson 2 – Sensing = Data
Objective: Use ultrasonic and light sensors to show readings.
• show number [get distance from ultrasonic sensor]
• show number [get brightness]
□ Challenge: Wave your hand and observe the distance change.
Lesson 3 – Listen to mBot2
Objective: Play a sound or tone before movement.
• play sound [hello / siren / beep]
• play note (C4) for (0.5) beats
□ Challenge: Create a “start-up” tune before your robot moves.
Lesson 4 – Seeing with Sound
Objective: Use ultrasonic sensor to stop robot when close to an obstacle.
• forever
• if ultrasonic distance < 10 cm → stop
• else → move forward at 50%
□ Challenge: Hand in front = stop instantly.
Lesson 5 – Sightseeing
Objective: Use the line follower to stop or follow tape paths.
• if black detected → stop
• if left sees black → turn left
• if right sees black → turn right
□ Challenge: Stay on the black line for 10+ seconds.
Lesson 6 – Careful Drive
Objective: Detect tilt and stop movement (requires Upload Mode).
• get tilt angle X / Y
• if tilt angle > 20° → stop
□ Challenge: Stop your bot if someone lifts it.
□ Badges to Award
□ Driver’s License – Movement Tasks
□ LED Luminary – Used LEDs creatively
□ Sound Sorcerer – Used sound in project
□ Sensor Starter – Used ultrasonic/light sensors
Hardware Source: mBot2 Classroom Pack
title 7

Campers

Day 1
Mission 1: Let’s Move
Make your mBot2 move forward 1 meter, turn, and stop using blocks.
Mission 2: Show the Sensors
Use blocks to show distance and brightness on your mBot2 screen.
Mission 3: Make a Sound
Play a startup sound or musical note when your robot begins moving.
Mission 4: Don’t Crash
Program your robot to stop when something is less than 10 cm away.
Mission 5: Follow the Line
Make your mBot2 follow a black tape line without going off course.
Mission 6: Stay Level
Use the tilt sensor to stop the robot if someone picks it up.
Day 1
Day 2
​
mBot2 Lesson – Day 2: Sensors and Traps

□ mBot2 Lesson – Day 2

Sensors and Maze Escape

Time: 60 minutes | Mode: Upload Mode | IDE: Makeblock Web IDE

Step 1: Switch to Upload Mode

  • Click the dropdown and change from “Live” to “Upload”
  • Reconnect if needed (USB is more stable than Bluetooth)

Step 2: Ultrasonic Stop

Use these blocks:

  • forever
  • if (distance < 10 cm)
  • stop moving

□ Challenge: Robot drives until your hand gets too close!

Step 3: Follow a Line

Use black electrical tape on the floor. Program:

  • if (left sensor sees black) → turn left
  • if (right sensor sees black) → turn right

□ Challenge: Follow the taped line without going off course!

Step 4: Build a Trap!

Create a maze or trap with tape, boxes, or obstacles.

□ Challenge: Program the robot to escape using sensors!

Examples:

  • if (line sensor = black) → stop + turn
  • if (distance < 8 cm) → reverse or turn

Step 5: Upload and Run

  • Click “Upload” to send the program to the robot
  • Place your robot at the start of the maze
  • Press the onboard button to begin!
title 2
Day 1 – mBot2 Core Lessons (1–6)

Day 1 – mBot2 Core Lessons

Time: 1 Hour | Mode: Live Mode (Switch to Upload only for gyroscope)

Goal: Complete Lessons 1 through 6 from the mBot2 Getting Started curriculum.

Lesson 1 – Let’s Move

Objective: Move forward/backward, turn, and stop the robot.

  • when green flag clicked
  • move forward at (50%) speed for (2) seconds
  • turn left by (90) degrees
  • stop moving

□ Challenge: Drive forward 1m, turn, and stop.

Lesson 2 – Sensing = Data

Objective: Use ultrasonic sensor and light sensor to display data.

  • show number [get distance from ultrasonic sensor]
  • show number [get brightness]

□ Challenge: Wave your hand and observe changing distance!

Lesson 3 – Listen to mBot2

Objective: Play sounds with speaker and use simple voice commands (optional).

  • play sound [hello/siren]
  • play note (C4) for (0.5) beats

□ Challenge: Program a sound to play before movement starts.

Lesson 4 – Seeing with Sound

Objective: Use the ultrasonic sensor to detect obstacles and stop.

  • forever
  • if (ultrasonic distance < 10 cm) then → stop moving
  • else → move forward at (50%) speed

□ Challenge: Robot stops automatically when you place your hand in front of it.

Lesson 5 – Sightseeing

Objective: Use the line follower sensor to follow a black line or stop on black.

  • if (line sensor detects black) then → stop moving
  • if (left sees black) → turn left, if (right sees black) → turn right

□ Challenge: Follow a taped path for at least 10 seconds.

Lesson 6 – Careful Drive

Objective: Use gyroscope (IMU) to detect angle or tilt. Switch to Upload Mode first.

  • get tilt angle X/Y
  • if (tilt angle > 20°) then → stop moving

□ Challenge: Drive forward, but stop if tilted or lifted too far.

End of Day 1. Students who complete 4+ of 6 lessons can earn “Driver’s License” and “Sensor Starter” badges.

title 3
Day 2 – mBot2 Advanced Lessons (7–9)

Day 2 – mBot2 Advanced Lessons

Time: 1 Hour | Mode: Upload Mode | Goal: Use networking, voice, and AI vision features

Lesson 7 – A Network Game

Objective: Send and receive messages between mBot2 robots using LAN.

  1. Open ide.makeblock.cc
  2. Choose Upload Mode from the mode selector at the top
  3. Click Connect and select your robot (USB works best)
  4. Drag out: connect to Wi-Fi (SSID) password (password)
  5. Drag out: send message ["go"] via LAN
  6. On the second robot, use: when LAN receives ["go"] → play sound
  7. Click Upload and then press the button on mBot2

□ Challenge: Send a command from one robot, the other reacts (beeps, lights up, moves).

Lesson 8 – At Your Service

Objective: Use voice recognition and text-to-speech from the cloud.

  1. Use connect to Wi-Fi (SSID) password (password)
  2. Add: recognize speech and save to (speechResult)
  3. Add: if (speechResult = "hello") → say "Hello human!"
  4. Optional: Add play sound [hello]
  5. Upload your code, then press the button on the mBot2
  6. Say your trigger phrase (like “hello”)

□ Challenge: Make mBot2 respond to "hello", "stop", or your own command with speech or action.

Lesson 9 – In the Wild

Objective: Use the Vision Sensor to recognize objects and respond.

Note: Requires Vision Sensor add-on.

  1. Plug Vision Sensor into Port 1 of mBot2
  2. Use start object recognition
  3. Add: if (object label = "circle") → say "I see a circle!"
  4. Optional: Load custom model from Teachable Machine using a URL
  5. Click Upload and test your object

□ Challenge: Recognize a shape or sign and respond by talking or moving.

□ End of Day 2 Badges

  • Voice Commander – Program responds to speech input
  • Network Ninja – Robot sends/receives LAN messages
  • AI Coder – Used camera vision to classify objects
title 6
Contact Us
Get Involved
Donate & Sponsor

Copyright 2017 - 2025 Buttercup STEAM

created with  ❤︎ by Azalea Creative Group
  • Home
  • About Us
    • Get Involved
    • Interesting Articles
    • Gallery
    • Contact
  • About Summer Camp
    • FAQs
    • Scholarship Application | Info
  • REGISTER
  • Events