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.
Serial configuration
The standard setup for the USB Serial Port is 9600 baud, 8 bits, 1 stop bit, no parity (aka 9600-8-N-1)
Connect using screen by typing the command screen /dev/<devicename> in your console window
To find the device name of your mbed Serial Port, see the SerialPCHost Interface section
To exit screen, press Ctrl-A, then ":quit"
Troubleshooting
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!
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.
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.
RealTerm is another windows terminal application that has a lot more hardware debug and display options. Use it and you will never use the other ones to debug serial hardware!
RealTerm is another windows terminal application that has a lot more hardware debug and display options. Use it and you will never use the other ones to debug serial hardware!
[[http://sourceforge.net/projects/realterm/files/| RealTerm Download Page]]
{{/media/uploads/4180_1/_scaled_realterm.png}}
For those Mac users, CoolTerm is a very nice serial terminal program if you don't want to use screen in the Terminal.app.
http://freeware.the-meiers.org/
i don't succeed to make a connection between teraterm and the mbed microcontroller. I don't find ''mbed Serial Port'' from the drop down menu (nor with hyperterminal). Is there any library to add in the mbed directory?
many thanks
i don't succeed to make a connection between teraterm and the mbed microcontroller. I don't find ''mbed Serial Port'' from the drop down menu (nor with hyperterminal). Is there any library to add in the mbed directory?
many thanks
I can find the COM port but I can get neither Terminal nor TeraTerm to work. In both cases the status light on the mbed processor flickers showing that I have a connection but that is all. I cannot get the processor to echo back what I am sending. Have I missed something obvious somewhere?
Dafydd
I can find the COM port but I can get neither Terminal nor TeraTerm to work. In both cases the status light on the mbed processor flickers showing that I have a connection but that is all. I cannot get the processor to echo back what I am sending. Have I missed something obvious somewhere?
Dafydd
For linux users moserial is another simple easy to use terminal. Also has recording feature and nice gui.
for Ubuntu users just type
sudo apt-get install moserial
For linux users moserial is another simple easy to use terminal. Also has recording feature and nice gui.
for Ubuntu users just type
sudo apt-get install moserial
remember that device name in "screen /dev/<devicename>" is in the form tty.usbmodemXXXX where XXXX is 5d12 in my device, this might be different in other devices. I was omitting the tty prefix in the beginning. so the full command that works on my terminal looks like Macintosh:~ eddy$ screen /dev/tty.usbmodem5d12
remember that device name in "screen /dev/<devicename>" is in the form tty.usbmodemXXXX where XXXX is 5d12 in my device, this **might** be different in other devices. I was omitting the tty prefix in the beginning. so the full command that works on my terminal looks like Macintosh:~ eddy$ screen /dev/tty.usbmodem5d12
For those of you on Mac's, check out Serial Tools (http://homepage.mac.com/chen/w7ay/Serial%20Tools/Contents/download.html) which is, so far, the easiest to install and use of any of the OSX options I have found and, best of all from a Yorkshireman's point of view, it's free.
Dave
My pc have hyperterminal installed in it. How should I go about allowing my pc and mbed communicate with each other.
Extra note: I did not download the mbed windows driver.
My pc have hyperterminal installed in it. How should I go about allowing my pc and mbed communicate with each other.
Extra note: I did not download the mbed windows driver.
i got mbed serial port drivers installed(COM6)in my pc and teraterm also installed but in new connection when i go to serial(radio button)i get COM1,COM2,COM3,COM4 and no mbed serial port how should i proceed
i got mbed serial port drivers installed(COM6)in my pc and teraterm also installed but in new connection when i go to serial(radio button)i get COM1,COM2,COM3,COM4 and no mbed serial port how should i proceed
Change port configuration, in device manager,.... advanced ... port number.
make sure you do not double up on port
Or, change your terminal program.
In the posts in MBED documentation, there are a few to try.
But hopefully in a few weeks, I hope to finish my own terminal program,
With a few nice MBED specific buttons !
Hope this helps
ceri.
Two possible answers,
Change port configuration, in device manager,.... advanced ... port number.
** make sure you do not double up on port **
Or, change your terminal program.
In the posts in MBED documentation, there are a few to try.
But hopefully in a few weeks, I hope to finish my own terminal program,
With a few nice MBED specific buttons !
Hope this helps
**ceri.
THANKS CERI I HAVE TO TRY THE FIRST OPTION
BUT WHAT IS THE WAY TO CONNECT PC I AM TOTALLY CONFUSED AND DNT KNOW HOW TO PROCEED
USING MBED CANT I COMMUNICATE WITH PC USING HYPERTEMINAL
THANKS CERI I HAVE TO TRY THE FIRST OPTION
BUT WHAT IS THE WAY TO CONNECT PC I AM TOTALLY CONFUSED AND DNT KNOW HOW TO PROCEED
USING MBED CANT I COMMUNICATE WITH PC USING HYPERTEMINAL
Hello All
I have problem with the Com port
The MBED installed under folder Portable Devices and don’t has any number.
I installed Tera Tem and under Serial port Can’t see my Hello World.
Please advice.
Alex
Hello All
I have problem with the Com port
The MBED installed under folder Portable Devices and don’t has any number.
I installed Tera Tem and under Serial port Can’t see my Hello World.
Please advice.
Alex
Don't laugh at my questions, I'm a Civil Eng. but I ended up using the mbed for some acceleration measurements.
I have the mbed connected to tera term. So soon as it is connected, tera term window starts showing series of 0,0,0 s. when I move the accelerometer, the 0's change to - and + values. What are these values? How do I measure accelerometer? I managed to save a logfile of these values, but I have no idea what they represent. Please please someone help me. I have very limited time and knowledge for that matter.
Thanks
Don't laugh at my questions, I'm a Civil Eng. but I ended up using the mbed for some acceleration measurements.
I have the mbed connected to tera term. So soon as it is connected, tera term window starts showing series of 0,0,0 s. when I move the accelerometer, the 0's change to - and + values. What are these values? How do I measure accelerometer? I managed to save a logfile of these values, but I have no idea what they represent. Please please someone help me. I have very limited time and knowledge for that matter.
Thanks
I've just tried doing this and have downloaded the latest version of TeraTerm.
When I go to create a new connection however, the "Serial" button is greyed out and unclickable
?
I'm using Windows 7
Many Thanks
Greg
Hi there,
I've just tried doing this and have downloaded the latest version of TeraTerm.
When I go to create a new connection however, the "Serial" button is greyed out and unclickable
?
I'm using Windows 7
Many Thanks
Greg
Did you install the serial drivers for the mbed you are currently using? My first guess would be that it doesnt see any serial ports available.
erm, I'm not sure, I just plugged the mbed in to a usb socket.
<<quote Sissors>>
Did you install the serial drivers for the mbed you are currently using? My first guess would be that it doesnt see any serial ports available.
<</quote>>
erm, I'm not sure, I just plugged the mbed in to a usb socket.
Please login to post comments.