Connecting the Blue-Bot with Logo software


Turn on the Blue-Bot
Log into Terrapin Logo software *
Select Tools
Connect to Bluetooth

Select Blue-Bot
Select Pair

Make sure you are connected via Bluetooth.
If you are not sure how to do this please click here


Try these first 3 simple commands. Commands can provide valuable information
Ask the Blue-Bot if it is connected to Bluetooth.
If it is connected it will return true
If not it will return false
true and false conditions is an important coding/programming concept.
bluebot?
Check the battery level.
Bluebot will return how much charge the blueblot has with 1.0 being 100 percent charged
this is a great opportunity to talk about decimals, place value and percentage
bluebot.battery
Clear the memory.
Bluebot will clear any commands that are in its memory
bluebot.clear
Time to get Blue-Bot on the move!
Move that Bot 101! .
To move the bot always start with bluebot.run. This command won't do by anything itself. You have to tell Bluebot what to run.

Follow bluebot.run with a space, then an open bracket. Type a Logo command then close bracket. Press return. Try the example shown on the right
bluebot.run [fd 1]
press return
bluebot.run [fd 1]

Note: many Logo commands can be entered typing the full command or an abbreviation. This can be very helpful, especially for younger programmers.Click here to find the basic logo commands and their abbreviations.

Lets add some commands !
Multiple Steps .
Lets add another 2 steps to your program. Add the following: rt 90 fd 1. Your program should look like the example on the right. Try it!
bluebot.run [fd 1 rt 90 fd 1]

Blue-Bot/Logo Abbreviations

FORWARD fd Blue-Bot moves forward in fixed-size units. A unit of one is about 6 inches or 15 cm). Blue-Bot quickly pauses after each unit of movement. This is great way to see 1-1 correlation.
BACK bk Blue-Bot moves backwards in the same way that it moves forward, moving in fixed units. For example bluebot.run [bk 1] would move Bluebot back 1 unit.
LEFT lt Blue-Bot turns left 45 or 90 degrees, depending what you tell it to do. For example rt 90 will turn right 90 degrees, or lt 45 will turn left 45 degrees.
RIGHT rt Blue-Bot turns right 45 or 90 degrees, depending what you tell it to do. For example rt 90 will turn right 90 degrees, or lt 45 will turn left 45 degrees.
WAIT no abbreviation This command corresponds to Blue-Bot's Pause button. Blue-Bot pauses in units of about two seconds. Therefore, the input to WAIT (which is a millisecond value) should be a multiple of 2000. Logo rounds wait times to the nearest multiple of two seconds.
REPEAT no abbreviation Blue-Bot has a simple built-in repeat feature that lets it execute a list of commands between 1 and 16 times. The REPEAT command cannot be nested.

Terrapin Logo is not case sensitive

*Requires Terrapin Logo software. Click here for more information.