Home

User Manual - Connect Tech Inc.

image

Contents

1. command packet will have to be terminated by lt character and all response packets will be terminated by the same character followed by r n gt The general command format is as follows If the command has no configuration data then the following command format will apply Command Ifthe command has configuration data then the following command format will apply Command configuration data lt Ifthe response has no data then the following response format will apply Command status lt Where status is DONE or FAIL Ifthe response has data then the following response format will apply Command data lt 12 Revision 0 02 GPIO Non Isolated GPIO PORTAO to PORTA7 are configured as output and PORTDO to PORTD7 are configured as input Connect Tech RoadWarrior User Manual The following commands will read input from PORTDO to PORTD7 GPIOAIR lt read PORTDO GPIOA2R lt read PORTD1 GPIOA3R lt read PORTD2 GPIOA4R lt read PORTD3 GPIOASR lt read PORTD4 GPIOA6R lt read 5 GPIOA7R lt read PORTD6 GPIOA8R lt read PORTD7 The response will be one byte 0 for low and 1 for high For example GPIOA2R 1 lt means PORTDI is high The following commands will set output low from PORTAO to PORTAT GPIOBIWO set low PORTAO GPIOB2WO0 set low PORTAI GPIOB3WO0 set low PORTA2 GPIOB4W0 lt
2. ANALOG CH2 ANALOG CH3 ANALOG VREF ANALOG VREF P7 Middle Connector M m A5 7 Ag 10 11 12 485 UARTI 485_UART1_TX 485 485 GND 485 UART2 485 UART2 485 UART2 485 UART2 RK HV OUTO HV OUTO Ve HV OUTO V B1 B4 B5 B6 87 B9 B10 B11 B12 Hv_ouTt V HV OUTI V OUT HV OUT2 V HV OUT2 V HV_INO HV 1 HV_IN1 HV_IN2 HV_IN2 P4 Right Connector Al A2 A4 A5 A7 A8 A9 A10 A11 A12 232_UART1_RX 232_UART1_TX 232_UART2_RX 232_UART2_TX CAN1_LOW CAN1_HIGH CAN1_GND CAN2_LOW CAN2_HIGH CAN2_GND Power Connector P3 Pin 1 Left Side Pin Positive Terminal 9 to 30V Pin 2 Right Side Pin Negative Terminal GND 8 Revision 0 02 Connect Tech RoadWarrior User Manual Custom Firmware Development and Programming Development of the firmware code can be developed using MicroChips s free MPLAB IDE in conjunction with their Full featured ANSI compliant C compiler for PIC32 microcontrollers Information on the development tools can be found below MPLAB IDE http www microchip com stellent idcplg IdcService SS_GET_PAGE amp nodeld 1406 amp dDocName en019469 MPLAB C Compiler http www microchip com stellent idcplg IdcService SS_GET_PAGE amp nodeld 2615 amp dDocName en532454 Programming Programming and configuration will can done using any of MicroChip s PIC32 Debugging and emulation too
3. Part 6 GPS Message Syntax The GPS data may not be latest it is gathered when the socket connection is closed or during the boot of the firmware To get the latest GPS data connect to the modem and disconnect and connect again and issue GPS command If this is not acceptable then the modem has to be configured to have a GPS client where the server IP address and TCP port will have to be entered Then the modem GPS client will connect the server and respond to GPS command For more information consult Chapter 16 Commands for GPS Enable Products of Universal Ref Guide S000457I pdf Revision 0 02 21 Connect Tech RoadWarrior User Manual Dimensions Front Panel 4 150 4 250 5 055 5 095 5 275 0 000 0 150 0 180 0 218 1 494 1 546 2 822 2 873 4 355 i A 0 180 T 6 x 0 150 diameter holes 0 710 1 34 2x 0 075 diameter holes Bend Direction 1 250 1 285 1 326 1 476 1 580 1 576 1 820 Q 9 OO 90 degree bend here 2 450 8 N wo CUTOUT Rear Antenna Panel 55b E e M 2 o 2 2x 0 250 diameter holes 2 O 0 591 1 418 1 820 Q er Ne pg a ae 90 degree bend here 1x 0 095 diameter hole 2 450 B Bend
4. set low PORTA3 GPIOB5WO0 set low 4 GPIOB6WO set low PORTAS GPIOB7WO set low PORTA6 GPIOB8WO set low PORTA7 The following commands will set output high from PORTAO to PORTAT Revision 0 02 GPIOBIWI set high PORTAO GPIOB2WI set high PORTAI GPIOB3WI set high PORTA2 GPIOBAWI set high PORTA3 GPIOB5WI set high 4 GPIOB6WI set high PORTAS GPIOB7WI set high PORTA6 GPIOB8WI set high PORTA7 13 Connect Tech RoadWarrior User Manual Isolated GPIO PORTEO to PORTE2 are configured as output and PORTE4 to PORTE6 are configured as input The following commands will read input from PORTE4 to PORTE6 GPIOCIR read PORTE4 GPIOC2R lt read PORTES GPIOC3R lt read PORTE6 The following commands will set output low from to PORTE2 GPIODIWO set low PORTEO GPIOD2WO set low PORTEI GPIOD3WO set low PORTE2 The following commands will set output high from PORTEO to PORTE2 GPIODIWI set high PORTEO GPIOD2WI set high PORTEI GPIOD3WI set high PORTE2 Revision 0 02 Connect Tech RoadWarrior User Manual ADC The following command will read values from ADC1 ADC2 ADC3 and ADC4 ADCIR ADC2R ADC3R ADCAR The response is 4 bytes returned as integer Though ADC is 10 bit but 32 bits are returned therefore the application will ignore the
5. Direction 5 e cutout 22 Revision 0 02 Connect Tech RoadWarrior User Manual Top View E E e wo LI N N o 0 000 0 250 0 250 5 025 5 025 5 275 Revision 0 02 23 Connect Tech RoadWarrior User Manual Power Consumption Input Power 9 to 30V DC Power Consumption Details The following was measured using a standard 12V nominal voltage source Standby Mode Description Power ON device is connected to cellular network but not actively transmitting or receiving data Current Consumption 180mA Power 2 16W Transmitting Mode Description Power ON device is connected to cellular network and is actively transmitting or receiving data Current Consumption 500mA max Power 6W 24 Revision 0 02
6. asp See the contact information section below for more information on how to contact us directly Our technical support is always free Contact Information We offer three ways for you to contact us Mail Courier You may contact us by letter Connect Tech Inc Technical Support 42 Arrow Road Guelph ON Canada N1K 156 Email Internet You may contact us through the Internet Our email and URL addresses on the Internet are sales 9 connecttech com support connecttech com www connecttech com Note Please go to the Download Zone or the Knowledge Database in the Support Center on the Connect Tech Inc website for product manuals installation guides device driver software and technical tips Submit your technical support questions to our customer support engineers via the Support Center on the Connect Tech Inc website Telephone Facsimile Technical Support representatives are ready to answer your call Monday through Friday from 8 30 a m to 5 00 p m Eastern Standard Time Our numbers for calls are Telephone 800 426 8979 North America only Telephone 519 836 1291 Live assistance available 8 30 a m to 5 00 p m EST Monday to Friday Facsimile 519 836 4878 online 24 hours 4 Revision 0 02 Connect Tech RoadWarrior User Manual Introduction Connect Tech s RoadWarrior enables remote monitoring controlling and collecting of data from multiple I O interfaces through a wireless cellular data link or Low E
7. ANIW DONE CAN2W DONE The CAN reception packet has the following structure typedef struct 4 510 of the Received CAN Message unsigned 510 11 unsigned 21 CAN MSG SID typedef union struct This is SID portion of the CAN RX message CAN_RX_MSG_SID msgSID This is EID portion of the CAN RX message CAN MSG EID msgEID This is the data payload section of the received message BYTE data 8 5 This is CAN RX message organized as a set of 32 bit words UINT32 messageWord 4 JCANRxMessageBuffer Revision 0 02 19 Connect Tech RoadWarrior User Manual The following command will receive the CAN packets CANIR receive packet from CANI CAN2R receive packet from CAN2 If there are CAN packets available then the following response will be delivered CANIR CANRxMessageBuffer CANRxMessageBuffer received from CANI CAN2R CANRxMessageBuffer CANRxMessageBuffer received from CAN2 If there is no CAN packet available then the following response will be delivered CANIR FAIL no packet available for CANI CAN2R FAIL no packet available for CAN2 20 Revision 0 02 Connect Tech RoadWarrior User Manual GPS The following command will provide the GPS information GPSGETMESSAGE lt The GPS information returned as GPSGETMESSAGE GPS data lt GPS Data The format of the message is described in Universal_IP_Ref_Guide_S0004571 pdf
8. Connect Tech Inc Industrial Strength Communications ROADWARRIOR User Manual Connect Tech Inc 42 Arrow Road Guelph Ontario NIK 1S6 Tel 519 836 1291 Toll 800 426 8979 North America only Fax 519 836 4878 Email sales connecttech com support connecttech com Web www connecttech com CTIM 000148 Revision 0 02 August 20 2012 Connect Tech RoadWarrior User Manual Limited Lifetime Warranty Connect Tech Inc provides a lifetime warranty for all of our products Should this product in Connect Tech Inc s opinion fail to be in good working order during the warranty period Connect Tech Inc will at its option repair or replace this product at no charge provided that the product has not been subjected to abuse misuse accident disaster or non Connect Tech Inc authorized modification or repair You may obtain warranty service by delivering this product to an authorized Connect Tech Inc business partner or directly to Connect Tech Inc along with proof of purchase Product returned to Connect Tech Inc must be pre authorized by Connect Tech Inc with an RMA Return Material Authorization number marked on the outside of the package and sent prepaid insured and packaged for safe shipment Connect Tech Inc will return this product by prepaid ground shipment service The Connect Tech Inc lifetime warranty is defined as the serviceable life of the product This is defined as the period during which all com
9. ER LED3 ocated on PCB ORTD12 USER_LED4 E ocated on PCB ocated on PCB ORTD13 USER LED5 Isolated GPIO PORTEO HV_OUTO Isolated GPIO Output 0 ORTE1 HV_OUT1 solated GPIO Output Bit 1 ORTE2 HV_OUT2 solated GPIO Output Bit 2 ORTE4 HV_INO isolated GPIO Input 0 solated GPIO Input Bit 1 Isolated GPIO Input Bit 2 his UART is connected to the cellular modem TX RX RTS CTS 5 232 Port 1 TX RX only 5 232 Port 2 TX RX only 85_UART1 5 485 Port 1 RS 485 Port 2 2 only RX only AN Controller 1 AN Controller 2 ANALOG CHO ADC Input ANALOG ADC Input ANALOG CH2 ADC Input ANALOG CH3 ADC Input ANALOG VREF ADC VREF ANALOG_VREF ADC VREF USM_RESET Cellular Modem Reset Signal 10 Revision 0 02 Connect Tech RoadWarrior User Manual Preloaded Firmware in RoadWarrior Target Audience The RoadWarrior User Manual assumes that the reader is familiar with programming using the C language and the hardware platform It is also assumes that the reader is familiar with the target operating system and related C development tools such as Borland Visual Studio or the GCC compiler Configuration of Cell Modem To configure cell modem connect UARTI to a serial port use hyperterminal putty etc for Windows and Minicom for Linux to communicate with the cell modem Power on the cell modem The firmware will emit the character for 30 s
10. arth Orbit LEO satellite RoadWarrior can be controlled from any Internet connected device This product is designed for rugged mobile mission critical and industrial strength applications that require enhanced wireless M2M machine to machine connectivity RoadWarrior can be configured to operate on any existing cellular network standard and frequency bands today with drop in replacement upgradeability to operate on future cellular networks RoadWarrior also has the capability of operating on LEO satellite networks With a wide range of interfaces including RS 232 RS 485 CAN GPS Bi directional GPIO High Voltage Isolated GPIO and ADC s RoadWarrior is ideal for many remote or mobile application environments including transportation and military applications Product Features Specification Details Cellular Cellular Networks o HSPA EV DO UMTS EDGE GPRS CDMA e Frequency Bands o 3G 3 5G 850 1900 2100 MHz o 26 2 56 850 900 1800 1900 MHz o Drop in replacement for future mobile telephony o standards networks and frequency band GPS NMEA 0183 V3 01 compliant GPS message Satellite e Optional satellite communication capabilities via Low Earth Orbit LEO Satellites Serial 2x RS232 2 x RS 485 CAN 2xCAN2 0b GPIO e 16 bits 3 3V or 5V bi direction GPIO e 3 bits optically isolated outputs 0 40V DC 3 bits optically isolated inputs 0 40V DC Connectors 25mmrpitch terminal block heade
11. d Valid values are in range 0x0 Ox3FFFF unsigned EID 18 Identifier bit If 0 means that message is SID If 1 means that message is EID type unsigned IDE 1 Susbtitute Remote request bit This bit should always be clear for an EID message It is ignored for an SID message unsigned SRR 1 unsigned 2 CAN MSG EID typedef union struct This is SID portion of the CAN TX message CAN_TX_MSG_SID msgSID This is EID portion of the CAN TX message CAN MSG EID msgEID This is the data portion of the CAN TX message BYTE data 8 5 This is CAN TX message organized as a set of 32 bit words UINT32 messageWord 4 CANTxMessageBuffer 18 Revision 0 02 Connect Tech RoadWarrior User Manual The following sequence will send a CAN packet CANTxMessageBuffer tx message Initialize the structure tx message messageWord 0 tx message messageWord 1 tx message messageWord 2 tx message messageWord 3 v E E tx message msgSID SID tx message msgEID IDE 0 standard ID tx message msgEID DLC 1 data length tx message data 0 0x55 data 0x202 ID code The following command will send the CAN packets CANIW tx message tx message will be sent by CANI CAN2W tx message tx message will be sent by CAN2 The successful completion of the command will provide the following response C
12. econds through UARTI while the firmware scans for a password as login authentication Once the password is entered from the application hyperterminal putty etc the login prompt gt will appear From this point forward any character entered will be sent to the cell modem and any character received from cell modem will sent to the application by UARTI To configure the cell use commands Please refer to the following three documents to configure the modem Universal Ref Guide S0004571I pdf 2 HSPA AT Command Ref Guide 5000483 3 GPRS AT Command Ref Guide S000463C pdf For the latest manuals please visit www multitech com Once the configuration is complete enter Ctrl q 0x11 This command will exit the cell modem configuration mode and the normal firmware booting will continue Revision 0 02 11 Connect Tech RoadWarrior User Manual TCP Socket Configuration You will need to assign IP address for the modem that you get from the carrier service provider and a valid TCP port Use TCPSERV for setting IP address and TCPPORT for setting TCP port See Chapter 5 TCP Commands for Universal IP Devices of Universal Ref Guide S0004571I pdf Once the modem is configured for TCP server the socket application can connect to the modem and send commands to the firmware to perform various operations on GPIO ADC RS 232 485 UARTs CAN and GPS Packet and Command Response
13. hen the response will be as following UARTI UARTIR FAIL lt 16 Revision 0 02 Connect Tech RoadWarrior User Manual CAN The following structure describes configuration structure pack 1 typedef struct can cfg unsigned long speed baudrate unsigned char extended extended standard frame unsigned long code 11 bit or 29 bit acceptance code unsigned long mask 11 bit or 29 bit acceptance mask config pack can config cfg 250000 0 0 0j The following commands will configure a CAN port CANIC cfg it will configure CANI port CAN2C cfg it will configure CAN2 port The successful completion of the command will provide the following response CANIC DONE Revision 0 02 17 Connect Tech RoadWarrior User Manual The CAN transmission packet has the following structure typedef struct CAN TX Message Standard ID This value should be between 0x0 7 unsigned SID 11 unsigned 21 JCAN TX MSG SID typedef struct Data Length Control Specifies the size of the data payload section of the CAN packet Valid values are 0x0 0x8 unsigned DLC 4 Reserved bit Should be always 0 unsigned RB 1 unsigned 3 Reserved bit Should be always unsigned RB1 1 Remote Transmit Request bit Should be set for RTR messages clear otherwise unsigned RTR 1 CAN TX and RX Extended ID fiel
14. ls These include the MPLAB ICD3 device or the MPLAB REAL ICE device information on these products can be found below With PIC devices the main programming interface is done through MicroChip s own propretary two wire interface The programming tools will connect via an RJ 6 Pin connector on the Road Warrior labeled ICD Programming at location P1 MPLAB ICD3 Recommended Device List Price 200 Website Link http www microchip com stellent idcplg IdcService SS_GET_PAGE amp nodeld 1406 amp dDocName en537580 MPLAB REAL ICE Se e wor Device List Price 500 Website Link http www microchip com stellent idcplg IdcService SS_GET_PAGE amp nodeld 1406 amp dDocName en028120 Revision 0 02 9 Connect Tech RoadWarrior User Manual Microcontroller Mappings Below is a complete listing of all of the peripheral interconnect to the microcontroller PIC32 Name _ Signal Name Notes 3 3V or 5V GPIO porTa3 6 03 GPIO4 1 High GPIOS 1 High GPIO6 1 High 2 GPIO10 1 High PORTD3 GPIO11 1 High 4 GPIO12 1 High PORTB8 GPIOO 7 Direction 0 sets GPIO Pins 0 7 as INPUTS 1 sets GPIO Pins 0 7 as OUTPUTS PORTB9 GPIO8 15 Direction 0 sets GPIO Pins 8 15 as INPUTS 1 sets GPIO Pins 8 15 as OUTPUTS USER LEDs USER LEDO Located at front at edge of board USER LED1 Located at front at edge of board USER LED2 Located on PCB ORTD11 US
15. ponents are available Should the product prove to be irreparable Connect Tech Inc reserves the right to substitute an equivalent product if available or to retract lifetime warranty if no replacement is available The above warranty is the only warranty authorized by Connect Tech Inc Under no circumstances will Connect Tech Inc be liable in any way for any damages including any lost profits lost savings or other incidental or consequential damages arising out of the use of or inability to use such product Copyright Notice The information contained in this document is subject to change without notice Connect Tech Inc shall not be liable for errors contained herein or for incidental consequential damages in connection with the furnishing performance or use of this material This document contains proprietary information that is protected by copyright rights are reserved No part of this document may be photocopied reproduced or translated to another language without the prior written consent of Connect Tech Inc Copyright 2012 by Connect Tech Inc Trademark Acknowledgment Connect Tech Inc acknowledges all trademarks registered trademarks and or copyrights referred to in this document as the property of their respective owners Not listing all possible trademarks or copyright acknowledgments does not constitute a lack of acknowledgment to the rightful owners of the trademarks and copyrights mentioned in this documen
16. r Main Control Unit Microchip PIC32 Microcontroller PIC32MX775 which can be optionally configured end users application code Enclosure Rugged extruded aluminum enclosure with mounting flanges 5 275 width x 2 000 height x 6 000 length Input Power e 49to 30V DC ability to handle standard vehicle power Operating e Industrial Temperature 40 C to 85 40 F to 185 F Environment Revision 0 02 5 Connect Tech RoadWarrior User Manual Block Diagram Connector I O Cellular Module wi GPS Computer Various Devices GPS Data motors gages etc sensors vehicle parts Cell a cm pe B C 3 4 RoadWarrior Other Mobile Device 6 Revision 0 02 Part Number Information Connect Tech RoadWarrior User Manual Part Number Features Board Image RDG001 GSM GPRS Model RDG002 HSPA Model RDG003 EV DO Model RDG004 CDMA Model To order any of these part numbers or to inquire about the other available ordering options please contact sales connecttech com for further information Revision 0 02 Connect Tech RoadWarrior User Manual Connector Pinouts I O Connectors P6 P7 P4 P6 Left Connector M A2 A4 A5 A7 A8 A9 A11 6 100 GPIO1 GPIO2 GPIO3 GPIO4 GPIO6 GPIO7 GPIO8 GPIO10 B1 B2 B3 B4 B5 B7 B8 B9 B11 GPIO11 GPIO12 GPIO13 GPIO14 GPIO15 ANALOG ANALOG 1
17. remaining bits Following is a response ADCIR 0a2000000 Therefore the ADCI reads the value will have to be multiplied with the proper voltage multiplier to get the voltage reading Revision 0 02 15 Connect Tech RoadWarrior User Manual UART RS 232 and RS 485 All UARTs are configured with 8 data bits 1 stop bit and no parity The default baudrate of the firmware is 115200 The baudrate is settable and the command to set the baudrate to 9600 is as following Baudrate 0x25800000 4 bytes UARTIC baudrate lt it will set baudrate for UARTI UART2C baudrate lt it will set baudrate for UART2 UART3C baudrate lt it will set baudrate for UART3 UARTAC baudrate it will set baudrate for UART4 The maximum packet length for UART read write is 128 bytes The following command will write data to UART Data 5 abcde UART1W Data 5 lt it sends data abcde to UARTI UART2W Data 5 lt it sends data abcde to UART2 UART3W Data 5 lt it sends data abcde to UART3 UARTAW Data 5 it sends data abcde to UART4 The following command will request data from UART UARTIR read data from UARTI UART2R read data from UART2 UART3R read data from UART3 UARTAR read data from UART4 If there is any data the response will be as following for UARTI UARTIR ABCDE returned data is ABCDE If there is no data t
18. t 2 Revision 0 02 Connect Tech RoadWarrior User Manual Table of Contents Limited Lifetime Warranty Copyright Notice Trademark Acknowledgment Table of Contents cre recon avem Rev ratu diet uin 3 Revision History Customer Support Overview Contact Information IitroductOno eR eU geste A YE Product Features Block Diagram Usage Diagram Connector Pinouts Custom Firmware Development and Programming i e Lite e e LU dee Programming Microcontroller Mappings Revision History Revision Author s Change s 0 00 01 03 2012 PD Initial Manual Revision Created 0 01 02 28 2012 HJ Firmware configuration and description added 0 02 08 17 2012 PD Added Dimensioned Drawings and Power Consumption Details Revision 0 02 3 Connect Tech RoadWarrior User Manual Customer Support Overview If you experience difficulties after reading the manual and or using the product contact the Connect Tech Inc reseller from which you purchased the product In most cases the reseller can help you with product installation and difficulties In the event that the reseller is unable to resolve your problem our highly qualified support staff can assist you Our support section is available 24 hours a day 7 days a week on our website at www connecttech com sub support support

Download Pdf Manuals

image

Related Search

Related Contents

GAS DETECTION: PORTABLES    Supplier User Manual Release 4.11  Frigidaire FHWC3060LS Wiring diagram  PROSPECTO YACUTIN EMULSIÓN Yacutín es un  GEL ANTISARRO: USO MODO DE EMPLEO    Fostex E-2 User's Manual  Protalker 1016  GV-IP Speed Dome User Manual(ISD220V10-A-EN).  

Copyright © All rights reserved.
Failed to retrieve file