Professional Documents
Culture Documents
20-060 A
20-060 A
ECU
DB9
USB
© 2009 Precision Airmotive LLC This publication may not be copied or reproduced without
express written permission from Precision Airmotive LLC.
Table of Contents
1. Purpose
2. User Knowledge
3. Basic Steps
4. Eagle System Prerequisites
5. Laptop Computer Specification
6. Electronic Port Adapter
7. Terminal Program Download and Setup
8. Viewing Eagle Data in Window’s Notepad or Mac’s TextEdit Program
9. Viewing Eagle Data in Window’s Excel or Mac’s Numbers Program
10. Communicating with a Mac Computer
Appendix
A. Hardware Layout When Using a Serial Adapter
B. Hardware Layout When Using a USB Adapter
C. Scripting With Tera Term Pro
1. Purpose
The purpose of this document is to define the necessary hardware, software, and user steps
for a laptop computer to communicate with the Eagle System’s Electronic Control Unit
(ECU). The user can then verify system status, troubleshoot, change calibration values, and
perform data acquisition functions all of which are explained in the Eagle Calibration
manual.
2. User Knowledge
2.1. The user must have read and be familiar with the following Eagle manuals: Owners,
Installation, Post Installation Troubleshooting, and Theory of Operation. All of which
can be found on Precision Airmotive’s Web Site. http://precisionairmotive.com
2.2. Read this entire document before buying products to minimize unnecessary purchases.
3. Basic Steps
These are the basic steps on how to get a laptop computer to communicate with the Eagle
System’s ECU. Most steps have an accompanying section (see titles in bold below) which
go into further details on how to actually perform the action. Be aware, there are instructions
for both MS Windows and Macintosh type laptops and for both serial and USB type ports.
3.1. Ensure that the Eagle System Prerequisites are met.
3.2. Determine the Specifications of Laptop Computer.
3.3. Electronic Port Adapter and Hardware. Acquire the appropriate port adapter and
extension cables (the appendixes show how the adapters are installed).
3.3.1. If using a USB port adapter, download and install the device driver.
3.3.2. If using a USB port adapter and running Windows, the port configuration will be
adjusted using the device manager found in the control panel of Windows.
3.4. Terminal Program Download and Setup
3.4.1. MAC computer has a Terminal program built in. See the Apple setup in this
document.
3.4.2. Windows computer uses the freeware program Tera Term Pro.
3.5. Review the sections labeled: Viewing Eagle Data in Window’s Notepad or Mac’s
TextEdit Program AND Viewing Eagle Data in Window’s Excel or Mac’s Numbers
Program.
3.6. Hook everything up. Attach the port adapter to the laptop computer and then to either
the Left or Right ECU communication port.
3.7. Turn the Aircraft Main Buss on; then turn the key switch to either the left or right ECU
position.
3.8. Turn on the laptop computer and start the following programs:
3.8.1. Notepad (Windows) or TextEdit (Mac).
3.8.2. Tera Term Pro (Windows) or Mac’s Terminal program.
4.3. Determine how far away the laptop computer is going to be from the Left and Right
ECU communication ports. A communication extension cord maybe needed to position
the computer in a comfortable user location, examples are found in Appendix A and B.
NOTE. Precision has found that some inexpensive laptops may have a USB port, but
they are missing some internal circuitry. The USB adapters that are mention here will
work successfully because they have this missing UART circuitry (Universal
Asynchronous Receiver Transmitter).
6.6. Installation of the USB driver is performed by performing the following steps
6.7. Port Configuration steps if using MS Windows laptop and an USB adapter.
6.7.1. Go to the “Control Panel” of your computer. Then select “System,” then the tab
called “Hardware,” followed by “Device Manager.” A screen will pop up that
will look similar to the one shown below to the left. Then plug in the USB Port
Adapter and the screen will acknowledge that the USB adapter is present.
USB device is
UNplugged.
Only COM1 is
present. USB device is
Plugged in.
6.7.2. If the COM Port number for the assigned to the USB adapter is higher than 4,
then this will need to be changed. Click on the USB port with the right mouse
button, then select “Advanced Settings” and change the assignment to one that is
less than 4 and is not being used by another device (example shown next.)
Change Here
6.7.3. The COMM number and the BAUD rate information from above will be entered
into the Terminal program (Tera Term Pro.)
COM1 for
serial adapter
or whatever
you selected
for the USB.
Under the File Menu select Log. In the Log window create a new file name or open a previously
created file. Upon opening, an additional small window will appear. This window allows you to
pause or close the log file. These log files may be saved in a folder of your choice or on the
Desktop (keep track of where this file is saved because you will want to use it later).
Note: If the Append box in the Log window is checked the new data will be added to the
existing data in the file. If it is not checked, the old data will be over written.
Tera Term files do not have a file extension such as .txt. When opening this file in Notepad
select all files in order to see it. Choose the File menu to connect, disconnect, and exit program.
Number of bytes
added to file.
NOTE: The data that is saved in the logged file is viewed by opening it in Window’s Notepad or
Mac’s TexEdit or imported as a text space delimited in Window’s Excel or Mac’s Numbers.
Note:
Windows also has WordPad. The same is true
for the font settings. There is one exception for
this word processor. The saved file must be
saved as a .txt file not an .rtf (rich text file).
The default is .rtf so it always has to be
changed to .txt. Failure to do so fills the data
with formatting symbols making it un-useable.
This can be undone by opening the .rtf file and
doing a save as text file using WordPad itself.
This may not be possible with another word
processor. So Notepad is the preferred editor.
The Mac has a built in Terminal program under Applications/Utilities. This is a Unix command
window. With the USB to RS485 drivers in place launch Terminal.
Note that MAC files use just a carriage return after each line. Windows uses a carriage return and
line feed after each line. At the Windows end this can be corrected by opening the file with
WordPad and saving as a text file which adds the line feeds.
There are Serial Terminal programs available but none tend to be free for the MAC. When the
baud rate is changed in the EMS you must exit Terminal and re-launch Terminal. If you are
changing the baud rate to19200 you would type [screen /dev/tty.serial-0001 19200]. Normally
the baud rate is not changed and is defaulted at 9600. Note that all unix commands have a space
after the command. There are probably ways to save data to a Log file so for the current time the
copy/paste method will be used.
Appendix A
Hardware Layout When Using a Serial Adapter
US Converter’s Product Name: RS232 to RS485 converter
Model Number: RS485
Benefits: Device does not require downloading a software driver or setting up the Device
Manager for ports when using MS Windows computers.
Connection: The adapter can be plugged right in between the ECU (Left or Right Side) and the
laptop computer with no additional wires. However, for convenience an extension cable can be
used. An extension cable can be purchased or it can be made by purchasing the piece parts
which include the correct gender DB9 connector and wires.
Terminal strip
only needed if
you want to make
a custom harness.
For Reference:
Extension
The computer has a Serial Cable Extension serial cables can be
male pinned DB9 Connector. acquired in different lengths
and are available at stores like
The Eagle system has a Office Depot, Radio Shack,
female socket DB9 Connector. and Staples.
Appendix B
Hardware Layout When Using a USB Adapter
US Converter’s Product Name: USB to RS485 Cable
Model Number: USB485CAB
Benefits: The device will work with a computer that does not have a serial port. The device also
comes with a built in 2 foot long USB extension cable.
Additional Requirements: These devices require downloading software from the manufacture
and managing the port requirements when using MS Windows.
Connection: The adapter can be plugged right in between the ECU (Left or Right Side) and the
laptop computer with no additional wires. If an additional extension cord is needed, either a
USB or serial cable can be purchased.
To laptop. You
can also add on an
additional USB
extension cable.
Appendix C
Scripting With Tera Term Pro
Purpose
This appendix defines the special Tera Term Program settings required to run a script file. Script
files are provided by Precision Airmotive for special situations.
When scripting do
not save setup with
the 5000 as this will
Set to 5000 when have to be undone
scripting on next launch. Do
only during scripts
then back to 0 or 1.