YEAR 9 DIGITAL TECHNOLOGY
  • Unit A - Computer Science
    • Light Bot
    • Basic Programming
    • If Statements
    • Programming Assessment
  • Unit B - Digital Media
    • Pixel Art
    • Pixel Animation
    • Photo editing
  • Bonus Learning
    • 3D Modelling
    • Video Editing
    • Introduction to Python
  • Freyberg Digital
Task 1:

Build the mBot
Check out the example at the front of the room to see how it is put together.

Task 2:

Connect the mBot and get it's LEDs flashing different colours.

Task 3:

Move the mBot forwards and backwards by pressing only one button.
The mBot must then stop.

Task 4:

Move the mBot forward then turn around and come back by pressing only one button.
The mBot must then stop.

Task 5:

Control the mBot using arrow keys (or equivalent)

Task 5.1:

Add indicator, reversing, and brake lights that work correctly when controlling using arrow keys.
Note: getting the indicators flashing right is tricky so start with the others.

Extra for experts, Task 5.2:

Use the ultrasonic sensor to prevent the mBot from driving forward into a wall when controlling it.


Automation Tasks

These tasks the mBot should be able to do with just one button to start the program.

You will need to use the cable and upload your program for this. See wired connection guide below.

Task 6:

Automate your robot to go through the maze on the white table in the back room.

Task 6.1:

Try the maze again but pushing a plastic cup around. Did you need to make changes so that it works?

Extra for experts Task 6.2:

Make orange lights flash (like they do at the road works) only when pushing the cup. Not when it's going through the maze itself.

Task 7:

Use the ultrasonic sensor to automatically go backwards and forwards on the table at the front of the room. (Not through the cup maze).

Task 8:

Use the line sensor to navigate the black line on the other white table in the back room.
If you get it just to navigate the curvy bit then you are doing really well.


mBot Wireless Connection Guide

Before you start ensure that both your USB connector and your mBot have the same label

Step 1: Plug in your USB connector

Step 2: Open up the mBlock application

Step 3: Ensure your mBot is turned on. The LED shown below should be solid blue
Picture
Step 4: Select Connect -> 2.4G Serial -> Connect in the application
Picture
Step 5: Test using the following program
Picture
You're Done!
Picture

mBot Wired Connection Guide

Step 1: Plug your mBot in with a USB cable (found in the bottom draw of the filing cabinet). Turn your mBot on.

Step 2: Open mBlock and put into arduino mode
             Edit > Arduino mode
Picture
Step 3: Connect to the serial port that you plugged your mBot into
Picture
Step 4: create an mBot program (example in blue) and upload it to the mBot using the "Upload to Arduino" (red) button. This can take a while.
Picture
Step 5: Press the button on your mBot and if everything is setup right then the LEDs will turn green
Hint: Use the code below to start your program, then nothing will run until you press the button on your mBot.
Picture
Powered by Create your own unique website with customizable templates.
  • Unit A - Computer Science
    • Light Bot
    • Basic Programming
    • If Statements
    • Programming Assessment
  • Unit B - Digital Media
    • Pixel Art
    • Pixel Animation
    • Photo editing
  • Bonus Learning
    • 3D Modelling
    • Video Editing
    • Introduction to Python
  • Freyberg Digital