Plug the 2.4G Wireless Serial Stick into one of your computer's USB ports. Then load the mBlock program.
If you're using a PC, you should see an mBlock icon on the desktop. However, if you're using a Mac, you may need to click on the magnifying glass in the top-right corner of your screen. Then, type mb and you should be able to launch the program from there. See the screenshot below and ask Mr. Locke if you need help with this.
If you're using a PC, you should see an mBlock icon on the desktop. However, if you're using a Mac, you may need to click on the magnifying glass in the top-right corner of your screen. Then, type mb and you should be able to launch the program from there. See the screenshot below and ask Mr. Locke if you need help with this.
Now you need to actually connect your mBot to the computer. See the screenshot below. Note that this screenshot was taken on a PC; if you're using a Mac, it will look a little different but you should still be able to find it easily enough.
NOTE: You will need to go through this step whenever you start using the mBot and whenever you turn it off and on again.
Once you have successfully connected the mBot to the computer, you are ready to start programming it.
Once you have successfully connected the mBot to the computer, you are ready to start programming it.
Your main task for this stage (Stage 1) is to get the mBot to move around in response to different keys that you will be pushing on your keyboard.
Make your mBot do the following:
HINT: You will need to use these 4 blocks (and others too, of course).
Make your mBot do the following:
- Go forward when the up arrow is pressed
- Go backward when the down arrow is pressed
- Turn right when the right arrow is pressed
- Turn left when the left arrow is pressed
HINT: You will need to use these 4 blocks (and others too, of course).
When you get your mBot to properly respond to the arrow keys, you will need to record a quick video on your video camera. At the beginning of the video, one of the group members should state what the mBot is supposed to do and then you will record it doing just that.
Once you have successfully documented the forward, backward, turn right, and turn left movements, you can move on to the next stage. |