Terminal applications run on your host PC, and provide a window for your mbed Microcontroller to print to, and a means for you to type characters back to your mbed Microcontroller.
The standard setup for the USB Serial Port is 9600 baud, 8 bits, 1 stop bit, no parity (aka 9600-8-N-1)
Download and install a Terminal application.
In this example we recommend the latest version of Teraterm:
Other terminal applications are available:
Some Windows PCs come with ''Hyperterminal'' installed; you can use this too, but we have found Tera Term is just a bit more friendly to use.
Open and Setup Teraterm
Setup New-line format (to print out new line characters correctly)
Your terminal program is now configured and connected.
To change the baud rate, go to Setup -> Serial Port...
If you do not already have it, install GNU Screen
You can check the connection is working by typing keys in the terminal application; nothing useful will happen, but the Status light on the mbed Microcontroller should flicker as the characters are received.
If you have any problems, or think this tutorial could be improved, please tell us in the Forum!
No tags
|
19 comments
Please login to post comments.
Besides the bland text oriented terminals, or the costly LabView solutions, a very simple environment which allows users to build a bit more visual interfaces quickly can be the Processing language (a subset of Java, see http://www.processing.org). It is not very strong on text, but with the examples you can quickly develop e.g. a simple interface for graphing some sensor values. People coming over from the Arduino environment may already now this.For that matter, although you cannot use the Arduino environment to program the mbed, I-ve found it's little terminal windo very convenient as simple terminal application for communicating with the mbed.