The text of a manual · part 9 of 17
Dolphin 7200 Handheld Computer and HomeBase User's Guide, pages 81 to 90
Pages 81 to 90 of 170
The original document is the PDF (3.1 MB). This is its text as extracted, unedited; tables and drawings read best in the PDF, and each page heading opens it at that page.
For the HHP 7200
Page 81
C H A P T E R
7
U S I N G
T H E
D O L P H I N
7 2 0 0
H O M E B A S E
Charging Aux Batt LED
Description
OFF
Battery pack not properly inserted into the auxiliary battery well, or the HomeBase has no power
Red
Battery discharging
Blinking red LED
Charge cycle initializing
Blinking orange LED
Battery charging at the maximum rate
Solid green LED
Trickle charging; battery pack is ready for use Figure 10 Battery Charging States
Back Panel
Aux Battery Well
Service Aux Batt Switch
N O T E
The configuration switches are checked at power up. Changes in the switch settings will not be recognized until power is turned off and then back on.
Power Supply Connector
Figure 11 Back Panel of HomeBase Configuration Switches
There is an auxiliary battery well, two configuration switches, a discharge button, and a power supply connector: Auxiliary battery well Insert a battery into the well to charge a second battery and you will always have a spare. The auxiliary battery well can also service your battery pack.
Rev. d 12/19/2001
81
Page 82
C H A P T E R
7
U S I N G
T H E
D O L P H I N
7 2 0 0
H O M E B A S E
Configuration switches Use these switches to select the network and communications modes for your Dolphin. See Chapter 8 for more on the configuration switch settings. Service Aux Batt switch Press and hold this button for four seconds to service the battery in the auxiliary battery well. For maximum battery life, the battery should be serviced, or calibrated once a month. The Charging AUX BATT LED is red while the battery is discharging and changes to blinking red when the charging cycle begins. The battery is ready to use when the light turns green. Power supply connector Use this connector to attach a power supply to the
HomeBase. The power supply provides 12V DC input for communications and battery charging. Side Panels
There is a main communications port on one side and a multi-HomeBase-port on the other side: Main Communications Port Use a standard serial cable to connect this port to a host RS-232 device if the Dolphin HomeBase is the first unit of HomeBase network. Otherwise, the main communications port connects to another Dolphin HomeBase MultiHomeBase Port to form a daisy-chained network. See pinout definitions in the section on Setting Up the Dolphin HomeBase later in this chapter.
Figure 12 HomeBase Side Panel Main Communications Port Multi-HomeBase Port Use this port to form a Dolphin
HomeBase Network. This port mates with the next HomeBase’s main communications port to form an addressable network. Note: The Multi-HomeBase Port cannot be used for communications to standard serial devices.
Rev. d 12/19/2001
82
Figure 13 HomeBase Side Panel MultiHomeBase Port
Page 83
C H A P T E R
7
U S I N G
T H E
D O L P H I N
7 2 0 0
H O M E B A S E
Charging Batteries In The Dolphin 7200 HomeBase CAUTION: Use only the 3.6V battery packs provided by Hand Held Products. The use of any other battery pack in the Dolphin Terminal will void your warranty and may result in damage to the Dolphin Terminal or battery. N O T E
For maximum battery life, Hand Held Products recommends that you deepcycle (service) the battery twice before initial use and then, once a month thereafter.
With the Dolphin HomeBase, you can charge a Dolphin terminal and a spare NiMH battery pack simultaneously. The HomeBase charges the terminal and the spare battery pack independently. When you insert a battery into the Dolphin HomeBase, it charges the battery at the highest rate possible. The HomeBase uses a charging method that senses when the battery pack is fully charged and then drops to a trickle charge to keep the battery pack at full capacity. You do not need to discharge the battery pack before recharging because this method protects the battery from damage caused by overcharging. A dead battery will charge to full capacity in approximately three hours. The Dolphin Terminal can be stored indefinitely in the HomeBase without damage to the terminal, battery packs, or the HomeBase. Keep the HomeBase plugged in so that the Dolphin Terminal’s battery pack stays fully charged. Charging A Dolphin Terminal 1.
Insert a battery pack into the Dolphin Terminal.
2.
Place the terminal, laser engine window up and the LCD visible, in the Dolphin Terminal Well of the Dolphin HomeBase.
3.
Let it glide down into the well until it stops.
4.
Once the Dolphin Terminal is properly seated, the Charging Main Batt LED on the HomeBase will be solid GREEN.
Rev. d 12/19/2001
83
Page 84
C H A P T E R
7
U S I N G
T H E
D O L P H I N
7 2 0 0
H O M E B A S E
Laser Engine Window
Auxiliary Battery Well
Charging MAIN BATT LED
Charging AUX BATT LED
Figure 14 Inserting the Dolphin terminal into the HomeBase
Charging an Additional NiMH Battery Pack 1.
Insert an NiMH battery pack with the battery contacts pointing upward into the Dolphin HomeBase auxiliary battery well.
Figure 15 Rear View Dolphin HomeBase
Once the battery is inserted into the Dolphin HomeBase you can use the CHARGING AUXBATT LED to monitor the charging progress. See Figure 10 for a summary of each charging state. Deep-cycling the Battery
For maximum battery life, Hand Held Products recommends that you deep- cycle (service) the battery twice before initial use and then, once a month thereafter. To deep-cycle, insert the battery into the HomeBase auxiliary battery well. Then, push and hold the Service Aux Batt button for at least 4 seconds. The deep-cycling process takes approximately 6.5 hours.
Rev. d 12/19/2001
84
Page 85
C H A P T E R
7
U S I N G
T H E
D O L P H I N
7 2 0 0
H O M E B A S E
The CHARGING AUXBATT LED is red while the battery is discharging and changes to blinking red when the charging cycle begins and orange when charging at the maximum rate. The battery is ready to use when the light turns green. See Figure 10 for more on the LED status.
Setting Up For Communications The Dolphin Terminal and Dolphin HomeBase support RS-232 communications through the RS-232 Main Communications Port located on the side of the Dolphin 7200 HomeBase. The HomeBase translates the RS-232 signals from the host computer into infrared signals to communicate with the Dolphin Terminal. The HomeBase RS-232 interface allows the Dolphin Terminal to communicate to a personal computer, modem, or any standard RS-232 device using a standard serial cable and communications software. Follow these steps to set up the Dolphin HomeBase and Dolphin Terminal for communications: 1.
Set-up the Dolphin HomeBase.
2.
Set-up the Dolphin Terminal.
3.
Follow the data transfer sequence as described by your application.
Setting up the Dolphin HomeBase Set the Dolphin HomeBase on any dry, stable surface such as a desktop. Before mounting the Dolphin HomeBase, check to ensure that all AC wall transformers have a nearby electrical outlet. Be sure to provide enough workspace with good lighting for the user to view and operate the Dolphin Terminal while it is in the HomeBase. Setting up the HomeBase involves three steps: 1.
Connecting the cables
2.
Setting the configuration switches
3.
Setting the baud rate
Connecting the Cables
Connect the HomeBase to the host computer or other device by plugging an RS-232 serial cable into the RS-232 Communications Port on the rear of the HomeBase. The
Rev. d 12/19/2001
85
Page 86
C H A P T E R
7
U S I N G
T H E
D O L P H I N
7 2 0 0
H O M E B A S E wiring of your cable depends on whether the other device is set up as a DCE (Data Communications Equipment) or DTE (Data Terminal Equipment) device. The HomeBase RS-232 Port is configured as a DCE device. To communicate with a DTE device such as a computer, use a standard (or straight-through) RS-232 cable. To communicate with a DCE device, use either a null modem adapter in line with a standard RS-232 cable, or a null-modem serial cable. You can make your own cables by following the pin configuration in the chart below. To do so, you must determine if your host RS-232 device is 9-pin or 25-pin, and whether it is configured as a DCE or DTE device. HomeBase /Host Port (DCE)
IBM AT DB9 (DTE)
IBM XT DB25 (DTE)
Modem DB25 (DCE)
2 (RD)
2
3
2
3 (TD)
3
2
3
5 (SG)
5
7
7
4 (DTR)
4
20
6
6 (DSR)
6
6
20
7 (RTS)
7
4
5
8 (CTS)
8
5
4
Figure 16 Pin Configuration
With the Dolphin 7200 HomeBase, use the appropriate cable to connect each device to the Main Comm Port for a single Dolphin HomeBase or to the Multi-HomeBase Port if you are creating a Dolphin HomeBase network. Connect the power supply to the Dolphin HomeBase. Plug the AC transformer into the Dolphin HomeBase 12 Volt DC power supply connector. The AC wall transformer provided can power only one Dolphin HomeBase. Hand Held Products recommends that you leave the Dolphin HomeBase connected to its power source at all times, so that it is always ready to use. Setting the Configuration Switches
Use these switches to select the network and communications modes for your Dolphin HomeBase. If you are configuring the HomeBase for a single Dolphin Terminal, the switch must be in the ‘Single’ position for proper basic operation. The switch must be set to ‘Multi’ for proper network operation if you are creating a HomeBase network. The configuration switch must be in the program position to change the baud rate.
Rev. d 12/19/2001
86
Page 87
C H A P T E R
7
U S I N G
T H E
D O L P H I N
7 2 0 0
H O M E B A S E
Setting the Baud Rate
You may use the HomeBase Configuration utility program to select the baud rate. The program can also be used to change the host system’s COM port and will run a diagnostic check for optimal communications. After changing the baud rate, you must power the HomeBase off and then on again. The program is one of the utility programs that come with the Dolphin OS and Development System. For more on HomeBase Configuration, see the chapter 9. Modes of Operation
Through the Command Mode, the host application software provides command instructions for configuring a single Dolphin HomeBase or a network of HomeBases for communications. Once configured, the HomeBase(s) is in Transparent Mode and ready for communications. Command Mode
You can configure a single Dolphin HomeBase or a whole network and select units for communications via the host application by entering the Command Mode. Data transmission is not possible while the Dolphin HomeBase network is in this mode. Go into Command Mode by entering an escape sequence that informs the HomeBase network that it will be receiving commands from the host device or application. The escape string is: <ESC>HHP [>100ms<1s] Next Command where <ESC> is an ASCII 27 character. The escape string should be followed by a >100ms<1second period of line silence. When sending commands, the escape string must precede the command string. The HomeBase automatically exits Command Mode after receiving each command. Programming commands used for configuring single Dolphin HomeBases include Version Number and Baud Rate Selection. You configure HomeBase networks using the Baud Rate Selection, Address Assignment and Device Selection programming commands. See the sections on Configuring A Single Dolphin HomeBase and Creating a HomeBase Network for details. Transparent Mode
When the Dolphin HomeBase is selected by the host application and ready for communications, it is in Transparent Mode. In this mode, the HomeBase facilitates point-to-point communication between the host device and the Dolphin Terminal. Data sent through the RS-232 link is passed directly to and from the Dolphin Terminal via the Infrared Link between the terminal and the HomeBase.
Rev. d 12/19/2001
87
Page 88
C H A P T E R
7
U S I N G
T H E
D O L P H I N
7 2 0 0
H O M E B A S E
Configuring a Single Dolphin 7200 HomeBase N O T E
The configuration switches are checked at power up. Changes in the switch settings will not be recognized until power is turned off and then back on.
To prepare a single Dolphin HomeBase for communications, you must enter the Command Mode to configure the version number and select the baud rate. Version Number
To retrieve the version number for the Dolphin HomeBase: 1.
Enter or send the escape and command strings: <ESC>HHP
>100ms< 1s V
This command will return the version number but is not needed for communications. Baud Rate Selection N O T E
The baud rate is stored in Non-Volatile Memory and is retained even if the power is removed from the network.
The Dolphin HomeBase baud rate is set to 57600 at the factory. Use the configuration switches on the HomeBase’s back panel to select the network and communications modes for your Dolphin. The following table outlines the configuration switch settings: Switch
Setting
Function
1
SINGLE (UP)
Single HomeBase only
2
FIXED BPS (DOWN)
Baud rate fixed at 9600
2
PROGRAM (UP)
Baud rate can be programmed
Figure 17 Configuration Switch Settings on HomeBase for Single HomeBase
To ensure communications, leave Switch 2 in the ‘FIXED BPS’ position and configure your communications software for 9600 baud. When Switch 2 is in the ‘PROGRAM’ position, the baud rate can be changed using the following procedure or you may use the HomeBase Configuration Utility program. 1.
Enter or send the escape and command strings: <ESC>HHP >100ms< 1s Bn where n is the ASCII number corresponding to the baud rate shown in the table below. For example, the string <ESC>HHPB6 (which consists of the escape string and the command B6) would set the baud rate for the network to 19200. No response will be transmitted back to the host after executing this function.
Rev. d 12/19/2001
88
Page 89
C H A P T E R
7
U S I N G
T H E
D O L P H I N
7 2 0 0
H O M E B A S E
ASCII Value of “n”
Selected Baud Rate
ASCII Value of “n”
Selected Baud Rate
0 1 2 3 5
38400 38400 1200 2400 9600
6 7 8 9
19200 38400 57600 115200
Figure 18 Baud Rate per Value of n
Creating a Dolphin 7200 HomeBase Network This information applies only to the Dolphin 7200 HomeBase. The Dolphin 7200 Compact HomeBase is not networkable. Each HomeBase must have its own AC power adapter connected to a standard AC electrical socket. The group can be placed on a table or desk, or rail-mounted using the mounting holes on the two outside Dolphin HomeBase units. How to Daisy Chain the Dolphin HomeBases
To form a HomeBase network, daisy chain the HomeBases together using one of the following methods:
• Align adjacent units so that the MULTI-HOMEBASE PORT of one unit will mate with the MAIN COMM PORT of the next unit until all HomeBases in the network are connected. OR
• Use a RS-232 cable to connect the Multi-HomeBase Port on one terminal to the MAIN COMM PORT on the next terminal. Repeat this step to include each additional terminal in the chain. Connect the last terminal to the host computer and leave the last MULTI-HOMEBASE PORT open if it is not needed.
Programming Commands
To configure a Dolphin HomeBase network, these attributes must be programmed: Address Assignment, Baud Rate Selection and Device Selection. Address Assignment
Use the Address Assignment command to establish unit IDs for each Dolphin HomeBase in your network. This must be done before a unit can be selected for communications. To establish an Address Assignment:
Rev. d 12/19/2001
89
Page 90
C H A P T E R
1.
7
U S I N G
T H E
D O L P H I N
7 2 0 0
H O M E B A S E
Type or send the escape and command strings to set-up the configuration mode and establish the beginning unit ID number: <ESC>HHP >100 ms< C >100 ms< 1s In n is the number representing the first unit in the network N O T E
The configuration switches are checked at power up. Changes in the switch settings will not be recognized until power is turned off and back on.
For example, the string <ESC>HHPCI0 would instruct the network to set up ID numbers for all the units in the network beginning at zero (0). 2.
The first Dolphin HomeBase in the network receiving the command responds to the host with: <SYN>
<SYN> indicates that the command was accepted 3.
In sequence, each Dolphin HomeBase will determine its own ID number by adding one to the previous ID number.
4.
When ID numbers are established for all HomeBases, the last HomeBase will return this response to the host: <ACK>n
<ACK> indicates completion of ID configuration; n represents the ID number for the last unit in the network. Programmer’s Note: When sending ID numbers to the Dolphin HomeBase, remember that numbers typed on the keyboard are ASCII numbers which will be converted to Hex when sent to the Dolphin HomeBase. For example, typing the command from the keyboard: <ESC>HHP >100ms< C >100ms< 1s I1 would instruct the network to set up ID numbers for each Dolphin HomeBase starting with the ASCII number 1. The first unit in the network would actually receive the number 31 Hex (since ASCII 1 is equal to 31 Hex) as the starting ID number. Each unit in the network would sequentially add one to this starting ID number to establish its own ID. So, for a network of 15 units, the final ID number would be set up as 3F Hex. When the final unit sends back an <ACK>3F, the host computer (which converts Hex data back to ASCII) will then display the ID number as “?” instead of 15 as you might expect. Baud Rate Selection
The Dolphin HomeBase baud rate is preset to 57600 at the factory. Use the configuration switches on the back panel of the HomeBase to select the network and communications modes for your Dolphin. The following table outlines the configuration switch settings:
Rev. d 12/19/2001
90