Recent Changes - Search:

TEAMS Academy Wiki

THS

Explore TEAMS!
for visiting sophomores & juniors


Robotics


EnvBioTech

Bat Design

Assistive Tech

Students

Instructors

TEAMS Forum

TEAMS Calendar

TEAMS Web Site

Wiki Info

edit Robots.SideBar

RealTerm

Setting Up RealTerm

for use with the Open Interface and Create API

7/24/07
Rev 1 9/22/08

By Greg Pilla & Don Rhine

Contents

  • Installing RealTerm
  • An Overview of Important Features
  • RealTerm with the Open Interface / Create
  • RealTerm with the Create API / Command Module

References

Installing RealTerm

RealTerm requires very little setup. In the “Install” directory, run the executable “Realterm_2.0.0.57_setup.exe”.

  1. When prompted to select a type of installation, choose “Normal”. Click the “Next” button.
  2. You may choose a location to install RealTerm, or use the default. Click the “Next” button.
  3. Click the “Install” button. You will see the files as they are installed in the selected directory.
  4. Click “Finish”. Setup is complete.

Settings for each tab...

Start up RealTerm. Below the black text area are a number of tabs spread across the window. The most important tabs are Display, Port, and Send.

Display Tab

In the “Display As” panel in the lower left, you can choose how to represent the data that is received from the Create. The ones you will use most are:
Quick Setup Preview:


  • Ascii – for displaying text messages.
  • Hex[space] – for neatly reading bytes as hexadecimal numbers.
  • uint8, int8 – for displaying unsigned and signed (respectively) decimal integers that are one byte long.
  • uint16, int16 – for displaying unsigned and signed decimal integers that are two bytes long.
  • Binary – for reading bytes as binary numbers.
To the right of “Display As”, notice the check box labeled “Big Endian”. This option is unavailable unless you have selected uint16 or int16. Warning: RealTerm contains a bug where Big Endian will appear selected at startup, but will really represent int16’s using the Little Endian (box unchecked) byte ordering. Uncheck and check the checkbox to correctly set RealTerm to Big Endian byte ordering.
By default, only data that RealTerm receives will be displayed in the black terminal frame. Check the “Half Duplex” box if you want to see data you have sent in the terminal frame.
You can use the “Data Frame” panel to choose how much data should be displayed per line. This is useful if you are constantly polling multiple sensors for data. For example, if you have three sensors that each return one byte values, you can set Data Frame “Bytes” to 3, and check the box labeled “Single” to make each poll of the sensors appear on a separate line.

Port Tab

Quick Setup Preview: Be careful with the port number!!!!
The Baud selection box is where you choose how fast data is sent over the serial wire. If the two ends of the serial connection are not set at the same speed, the data will not be transmitted properly. Specific settings are listed in later sections.
The Parity, Data Bits, Stop Bits, and Flow Control also determine how data is sent over the serial line. These values should be the same for any use of RealTerm with the Create, so make sure the values are set as follows:
  • Parity: None
  • Data Bits: 8
  • Stop Bits: 1
  • Flow Control: None
The Port selection box tells RealTerm which serial port is being used to connect to the Create. If you have plugged in the serial cable on both ends but can’t seem to send data, try using another Port number. Only use the simple numeric ports, not alphanumeric or dotted decimal.
The Open button will open and close RealTerm’s connection to the selected serial port. If you see the text “Port: Closed” in the bottom right corner of the RealTerm window, click the Open button.
Anytime you make a change to the Baud, Port, or other settings, you must click the Change button to accept the changes.

Send Tab

Quick Setup Preview:
The most important parts of the Send Tab are the two long drop-down input boxes, with “Send Numbers” and “Send ASCII” buttons to their right. You can type numbers and text into the boxes, and then send them to the Create with the buttons to the right. Most of the time, numbers will be sent to the Create, so be sure to use the “Send Numbers” button. Once you click a send button, your input will be saved in the dropdown box.
You can send multiple numbers on the same line by separating them with a space. It is a good idea to put emergency commands (for example, make the robot stop moving) on one line, and other commands on the other line, so you can quickly send the emergency command (without trying to type it while your robot is on the warpath).
The little box below the drop-down boxes can be used to enter individual numbers quickly. Type in a number, then press space, and it will be sent. Since it’s very easy to make typos this way, it is usually best to use the drop-down input boxes.
The Literal box, Strip Spaces box, and EOL options are used for sending ASCII text, so leave them unchecked.
The Before and After checkboxes in the \n options are allow you to automatically move to a new line before or after the data is sent whenever you press a send button.

Echo Tab

Quick Setup Preview:

Overview of Important Features

To the right of the tabs, there are three buttons that can help you organize how the data is displayed in the terminal.
The \n button will move the cursor to the next line in the terminal frame.
The clear button will move all the data being displayed out of the way, and display an empty terminal frame.
The freeze/resume button is useful if you are getting a lot of data back from the Create. It lets you scroll through data that has been pushed off the screen by newer data.

RealTerm with the Open Interface

Use the following settings in the Port Tab when the Create is connected directly to the computer:
  • Baud: 57600
  • Port: 1 or 2
Remember to click the “Change” button to accept the settings, and make sure the “Open” button is ‘pressed’ to open the connection.

RealTerm with the Command Module

Use the following settings in the Port Tab when the Create is using the Command Module, and you want to send data or text over the USB cable:
  • Baud: 28800
  • Port: 9
You can’t send data to the Command Module, so you don’t need to use the Send Tab.
Edit - History - Print - Recent Changes - Search
Page last modified on March 10, 2011, at 09:59 AM