Micromelon Robotics
Platform
Resources
NewsAbout UsDownload
Support
Build Your Kit

Stay in the loop

New activities, teaching guides, and product updates delivered to your inbox.

Micromelon Robotics

Australian-made educational robotics for the next generation of innovators.

contact@micromelon.com.au

Company

  • About Us
  • Privacy Policy
  • Terms and Conditions

Products

  • Micromelon Rover
  • Code Editor
  • Robot Simulator
  • Junior
  • Python Library

Support

  • Resources
  • News
  • Rover Repairs
  • Contact
  • Build Your Kit

© 2026 Micromelon Robotics Pty Ltd. All rights reserved.

ABN 56 623 302 296

← Back to Resources
ActivitiesBeginner

Activity: Conversation Bot

Coding Skills

BranchingIteration

Rover Concepts

BuzzerLEDs
Activity: Conversation Bot

Use the input block to create a conversation between you and your Rover. Use variables to save information in the conversation, or ask the Rover to do different tasks.

Activity Demonstration: Conversation Bot

Setup

This exercise doesn’t require much space, you can choose whether the Rover moves or not. There’s no limit to how the conversation can work. Try involving the LEDs and sounds, which often leads to needing variables, branching, loops, and functions.

Our Approach

This example is just one conversation you could have with the Rover, it shows how to use the input block with variables and if statements. You can easily extend it with loops, motors, sensors, and functions.

Stage 1: Greet the User

Use the Request Input block to greet the user and ask their favourite colour. Use a Print block with string concatenation to say hello. Store inputs in well-named variables to keep your code readable.

Stage 2: Respond Based on Input

Use an IF statement to check whether the response is something we understand, and an ELSE branch for when we don’t. Use a Set All LEDs block to set the LED colour when the input is recognised.

Stage 3: Handle More Responses

Add more responses by chaining ELSE IF (elif) branches.

Example code, input handling with variables and chained IF/ELIF branches

Example code, input handling with variables and chained IF/ELIF branches

Continue Learning

Activity: Puppy BotRelated resourceActivity: Puppy BotBranching and looping with the ultrasonic sensor.

Activity: Binary BotRelated resourceActivity: Binary BotComplete a simple exercise using only binary numbers!

Activity: Driving ShapesRelated resourceActivity: Driving ShapesLearn iteration and how to control the Rover’s motors.

← Return to Resources