Pioneer 2TM, 3TM manual Appendix C, Radio Modem Settings

Page 79

ActivMedia Robotics

Appendix C

RADIO MODEM SETTINGS

The radio modem-based wireless serial accessory comes pre-configured for use with your ActivMedia robot for client-server connections. One modem comes installed in the robot (robot’s HOST serial port pins 7 and 8 jumpered; powered 5 VDC from RADIO switch). All you need to do is attach the other radio modem to a free serial port on your PC and provide power—no other setup is required.

You may examine and alter your radio modem settings, such as to match a new baud rate. Use Hyperterminal, minicom, or other simple terminal program. Default settings are DCE for the host and DTE for the H8S-based Pioneers, and 9,600 baud, 8 bits data, 1 stop bit, no parity. Once connected, all modem control commands begin with "WM". For example, "WMS2" at the host connects the host modem to the robot’s modem.

Command

Description

 

 

 

 

WMBx

Set up the default baud rate. x=1 : 115200 , 2 :

57600

,

 

3 : 38400 , 4 : 19200 , 5 : 9600.

 

 

 

WMD

Disconnect the radio link established previously.

 

 

 

WMEx

Set up echo and response function. x= ’A’ ~ ‘P’.

 

 

 

WMFxxxx

Set up the maximum frame length. xxxx must be at

most

a

 

4-digit decimal number and ranging from 1 to 1024.

 

 

 

WMIxxxxxx

Set up the group identification code. xxxxxx must be

 

exactly a 6-digit hexadecimal number. The group ID is

 

used to ensure that each connection within the group can

 

be created successfully only if the group ID is the same.

WMJxxx…

Change the identification name to xxx…. The length of

 

xxx… cannot exceed 32 letters.

 

 

 

WML

List current setting. The format is as follows:

 

 

 

WMMxxx

Set up my address. xxx must be at most a 3-digit decimal

 

number and ranging from 1 to 255.

 

 

 

WMN

From command mode return to data mode.

 

 

 

WMOxxx…

Set up the partner PN code. See WMP.

 

 

 

WMPxxx…

Older units have to set up your own PN codes. xxx... must

 

be exactly a 32-digit hexadecimal number.

 

 

 

 

Newer units xxx is a number 1-23; match with pair modem.

 

WMQx

Query remote setting.

 

 

 

WMRx

Set up the remote output destination. x=P : printer port,

 

x=R : RS-232 port.

 

 

 

WMSxxx

Create a radio link with the partner addressed

by

xxx.

 

Xxx must be at most a 3-digit decimal number and ranging

 

from 1 to 255. After establishing the link, the async.

 

interface will

enter data transmission mode until

 

receiving ESCAPE

sequence. The ESCAPE sequence consists

 

of three contiguous ‘’ characters and a <CR>. After the

 

reception of ESCAPE sequence, the async. interface

will

 

re-enter into command mode. Note that robot’s modem

xxx

 

is 2.

 

 

 

 

From data mode escape to command mode. A delay of 100 ms

followed by

is needed between the return and any following

data

<CR> key

input.

 

 

 

 

73

Image 79
Contents Pioneer H8-Series Operations Manual Page Important Safety Instructions Table of Contents Operating the Aria Demonstration Client Appendix C Optional Components and Attachments partial list IntroductionRobot Package Basic Components all shipmentsNewsgroups User-Supplied Components / System RequirementsAdditional Resources Support WebsiteSupport@activmedia.com SupportPioneer Reference Platform What Is Pioneer?Hitachi H8S-BASED Microcontroller Plus MOTOR-POWER BoardHttp//robots.activmedia.com Client SoftwarePioneer Legacy Supporting SoftwarePioneer 2 and PeopleBot Pioneer 1 and ATActivMedia Robotics Joydrive and Self Test Modes Server ModeMaintenance and Standalone Modes Modes of OperationPhysical Characteristics Specifications & ControlsMotor Stop Button Main ComponentsP3-DX User Control Panel User Control PanelSonar Arrays with Gain Adjustment Body, Nose, and Accessory PanelsMotors, Wheels, and Position Encoders Batteries and PowerRecharging Battery Indicators and Low Voltage ConditionsManual Operation Robot Power and Systems on Manual Operation Robot Power OFFDOCKING/CHARGING System Client-server connection options Radio Controls and AccessoriesComputer Control Panel Onboard PCPC Networking Operating the Onboard PCUPS and Genpowerd Safety Aros Watchdogs Install Aria Preparative AssemblyQuick Start Drive Self-Test Install BatteriesClient-Server Communications Starting UP Client and ServerIpthru Demo Startup OptionsOperating the Aria Demonstration Client Successful ConnectionQuickstart Troubleshooting DisconnectingProper Connections SRIsim OFFJoydrive and Self-Tests Joydrive ModeEngaging SELF-TESTS CLIENT-SERVER Communication Packet Protocols ActivMedia Robotics Operating SystemPacket Checksum Packet ErrorsMultiply by DistConvFactor‡ Server Information PacketsBefore Client Connection Client CommandsP2OS CLIENT-SERVER Connection Closing the Connection-CLOSE Autoconfiguration SYNC2Opening the Servers-OPEN Keeping the Beat-PULSERotation Motion CommandsPlatform Dependent and Independent Variables ActivMedia Robots in MotionInternal coordinate system PID ControlsPolling Sequence and Rate Enable/Disabling SonarPosition Integration Sonar11-15 Reserved Stalls and EmergenciesPacket Processing Accessory Commands and PacketsSerial Port Communications CONFIGpac and Config CommandChanging Baud Rates and Autobauding Encoder Packets HOST-to-AUX Serial TransfersGripper packets TCM2 SoundsHeading Correction Gyro Onboard PCUser I/O Input Output I/OIO packets Bumper and IR I/ODocking/Charging Servers Expansion I/ODOCKING/CHARGING System I/O Digital Port ControlsCharge State Overcharge ~Volts Charge current ID7 Monitoring the Recharge CycleActivMedia Robotics Operating System Simple Aros Updates Updating & Reconfiguring ArosWhere to GET Aros Software Aros Maintenance ModeStarting Aroscf Updating and Reconfiguring ArosInteractive Commands Configuring Aros Operating ParametersChanging Parameters PID Parameters Save Your WorkKeyword 0056 0057 0060 0034 Ticksmm and RevcountBumpers Stallval and StallcountUpdating and Reconfiguring Aros Batteries Maintenance & RepairTire Inflation Drive LubricationAutomated Docking/Charging System Alternative Battery ChargersTightening the AT Drive Belt Removing the Nose Getting InsideFactory Repairs Opening the DeckH8S Microcontroller Power ConnectorAppendix a H8S Ports & ConnectionsUser I/O, Gripper, Docking/Charging Port Serial PortsExpansion I/O Bus OD7Motors, Encoders, and IR Sensors Bumper PortsUser Control Interface Joystick Port Configuration for Current and Temperature Sensing Pioneer 3 and 2-PLUS MOTOR-POWER BoardAppendix B Radio, Auxiliary, and User Power Connectors Controller Power and InterfaceGND IR Signal and PowerAppendix C Radio Modem SettingsConsole mode Serial Ethernet SettingsAppendix D Peer-to-Peer Networking WebpageAppendix E SpecificationsControls and Ports Warranty & Liabilities Columbia Drive Amherst, NH 603