Chengdu Vantron Technology VTM2M-TCVM M2M Gateway User Manual
Chengdu Vantron Technology, Ltd. M2M Gateway Users Manual
Contents
- 1. User Manual
- 2. Users Manual
Users Manual
VT-M2M-TC VM VT‐M2M‐TC VM User’s Manual Chengdu Vantron Technology, Ltd. www.vantrontech.com.cn All Rights Reserved VT-M2M-TC VM Revision History: No. Version Description V1.0 V2.1 V2.2 V2.3 V2.4 Update product picture Jan. 2, 2014 V2.5 Update the order information Jan.17,2014 V2.6 Jan 23,2014 V2.7 Add 802.11a mode Add install requirements Update product picture First release Change SmartDisplay Audio to mono line‐out( left channel) Add FCC warning statement Change power in to DC6‐36V(default 12V) All Rights Reserved Date Aug.30, 2013 Oct.10, 2013 Dec. 11, 2013 Dec. 16, 2013 Feb 20,2014 VT-M2M-TC VM Table of Contents Part I:Hardware Platform......................................................................................................... 5 Foreword ................................................................................................................................ 6 1.1 Copyright Notice ....................................................................................................................6 1.2 Notes......................................................................................................................................6 1.3 Statement ..............................................................................................................................6 1.4 Disclaimer ..............................................................................................................................6 1.5 Limitation of Liability/Non‐warranty .....................................................................................7 1.6 Safety Instructions .................................................................................................................7 1.7 Precautions ............................................................................................................................7 1.8 Safety Instructions for Power Cables and Accessories ...........................................................7 Overview ................................................................................................................................ 9 2.1 Introduction ...........................................................................................................................9 2.2 Product Series ..................................................................................................................... 10 M2M‐TC VM Hardware Instructions ...................................................................................... 11 3.1 Product Appearance ........................................................................................................... 11 3.2 Specifications ...................................................................................................................... 12 3.3 Interface Instructions .......................................................................................................... 14 3.4 Dimension ........................................................................................................................... 15 3.5 Interface Description .......................................................................................................... 16 3.6 3.5.1 Wide‐Range Power Interface ............................................................................... 16 3.5.2 Smart Display Connector ...................................................................................... 18 3.5.3 Ethernet Interface .................................................................................................20 3.5.4 D Sub‐9 RS232 Connector .................................................................................... 21 3.5.5 RS232/485,CAN,External IO Connector ................................................................. 22 3.5.6 VGA Interface ....................................................................................................... 23 3.5.7 USB Host Connector ............................................................................................. 24 3.5.8 LED ....................................................................................................................... 24 Operation Notice .................................................................................................................25 3.6.1 Change SIM Card .................................................................................................25 Tips ...................................................................................................................................... 26 Part II:Software Reference ..................................................................................................... 28 1 Introduction.......................................................................................................................... 28 1.1 About This Manual ................................................................................................. 28 1.2 Linux OS Support .................................................................................................... 28 1.3 Sample Programs .................................................................................................... 28 1.4 Functionalities layout .............................................................................................. 29 Base Control ......................................................................................................................... 30 2.1 Power Control.......................................................................................................... 30 2.2 Can Control .............................................................................................................. 30 2.3 GPIO Control............................................................................................................ 30 2.4 Serial COM Control .................................................................................................. 31 2.5 Audio And Video Control ........................................................................................ 32 2.6 SD card Control........................................................................................................ 32 2.7 ADXL345 Control ..................................................................................................... 32 All Rights Reserved VT-M2M-TC VM 2.8 Watchdog ................................................................................................................ 32 2.9 Pnl7 Control ............................................................................................................. 33 2.10 MCU Power Control .............................................................................................. 33 2.11 Touch Screen ......................................................................................................... 34 2.12 Host AP .................................................................................................................. 35 2.13 OnBorad................................................................................................................. 38 Network Module ................................................................................................................... 39 3.1 WIFI Control ............................................................................................................ 39 3.2 3G Control ............................................................................................................... 40 3.3 Bluetooth Control.................................................................................................... 43 GPS Module ........................................................................................................................... 48 4.1 Get GPS Data ........................................................................................................... 48 4.2 GPS Data Format.................................................................................................. 48 Update System ...................................................................................................................... 52 5.1 Make USB boot Stick and Copy Image to USB stick ................................................52 5.2 Update steps ........................................................................................................ 54 All Rights Reserved VT-M2M-TC VM Part I:Hardware Platform All Rights Reserved VT-M2M-TC VM 1 Foreword 1.1 Copyright Notice While all information contained herein have been carefully checked to assure its accuracy in technical details and printing, Vantron assumes no responsibility resulting from any error or features of this manual, or from improper uses of this manual or the software. Please contact our technical department for relevant operation solutions if there is any problem that cannot be solved according to this manual. Vantron reserves all rights of this manual, including the right to change the content, form, product features, and specifications contained herein at any time without prior notice. The latest version of this manual is at www.vantrontech.com.cn. Please contact Vantron for further information: Vantron Technology Vantron E‐mail: sales@vantrontech.com The trademarks and registered trademarks in this manual are properties of their respective owners. No part of this manual may be copied, reproduced, translated or sold. No changes or other purposes are permitted without the prior written consent of Vantron. Vantron reserves the right of all publicly‐released copies of this manual. 1.2 Notes Applicable notes are listed in the following table: Sign Notice Type Description Notice Important information and regulations Caution Caution for latent damage to system or harm to personnel 1.3 Statement It is recommended to read and comply with this manual before operating VT‐M2M TC which provides important guidance and helps decreasing the danger of injury, electric shock, fire, or any damage to the device. 1.4 Disclaimer Vantron assumes no legal liability of accidents resulting from failure of conforming to the safety instructions. All Rights Reserved VT-M2M-TC VM 1.5 Limitation of Liability/Non‐warranty For direct or indirect damage to this device or other devices of Vantron caused by failure of conforming to this manual or the safety instructions on device label, Vantron assumes neither warranty nor legal liability even if the device is still under warranty. The VT‐M2M‐TC VM should be installed, debugged and maintained by professional people. The outside antennas are not permitted to be installed or to be changed by non‐professional people. To run the device normally, only specify antennas are approved to be assembled together by professional people. Unit shall be used with indoor‐use antenna only. No antenna for this unit can be installed outdoor. 1.6 Safety Instructions Keep and comply with all operation instructions, warnings, and information. Pay attention to warnings on this device. Read the following precautions so as to decrease the danger of injury, electric shock, fire, or any damage to the device. 1.7 Precautions Pay attention to the product labels/safety instructions printed on silk screens. Do not try repairing this product unless declared in this manual. Keep away from heat source, such as heater, heat dissipater, or engine casing. Do not insert other items into the slot (if any) of this device. • Keep the ventilation slot ventilated for cooling. •System fault may arise if other items are inserted into this device. Installation: ensure correct installation according to instructions from the manufacturer with recommended installation tools. Ensure ventilation and smoothness according to relevant ventilation standard. 1.8 Safety Instructions for Power Cables and Accessories Proper power source only Start only with power source that satisfies voltage label and the voltage necessary according to this manual. Please contact technical support personnel of Vantron for any uncertainty about the requirements of necessary power source. Use tested power source This product still contains a button lithium battery as a real‐time clock after its external power source is removed and therefore should not be short‐circuited All Rights Reserved VT-M2M-TC VM during transportation or placed under high temperature. Place cables properly: Do not place cables at any place with extrusion danger. Cleaning Instructions Please power off before cleaning the device. Do not use spray detergent. Clean with a damp cloth. Do not try cleaning exposed electronic components unless with a dust collector. Support for special fault: Power off and contact technical support personnel of Vantron in case of the following faults: ¾ The device is damaged. ¾ The temperature is excessively high. ¾ Fault is still not solved after the operation according to the manual. All Rights Reserved VT-M2M-TC VM 2 Overview 2.1 Introduction Thank you for choosing Vantron. It is our commitment to provide our valued customers with the embedded devices equipped with the state‐of‐the‐art technology and the best product services. Vantron’s M2M products are based on the most advanced ARM and Intel Atom processors and have low‐power consumption and high integration. The products are designed for applications of M2M in industrials, medicals, financial, retail, vehicle, and transportations etc. All Rights Reserved VT-M2M-TC VM 2.2 Product Series Order Code VT-M2M-TC VM-4-1GM-8GF-GW2P-V Version: I: Extended Temperature Blank:Commercial temperature Wireless Module Option: 2G: 2G, 3G: 3G, W:WiFi,Z:Bluetooth,P:GPS SSD Memory Size:8G:8GB,16G:16GB DDR Memory Size:5:512MB,1G:1GB,2G:2GB CPU Speed:2:600MHZ,4:1GHZ,6:1.3GHZ:8:1.6GHZ Order Examples: VT-M2M-TC VM-4-1GM-8GF ATOM E640 Processor, 1GHz CPU, 1GB DDR2 VT-M2M-TC VM-6-1GM-8GF-W ATOM E660 Processor, 1.3GHz CPU, 1GB DDR2, 8G Flash, WLAN VT-M2M-TC VM-8-1GM-8GF-3GW ATOM E680 Processor, 1.6GHz CPU, 1GB DDR2, 8G Flash , 3G,WLAN Accessories: Install Mechanical tools,1pc IO Terminal (12x3.81mm) (Optional),1pc 3G Antenna(Optional),1pc WiFi Antenna(Optional),1pc Bluetooth Antenna(Optional),1pc GPS Antenna(Optional),1pc Smart Display Cable All Rights Reserved VT-M2M-TC VM 3 M2M‐TC VM Hardware Instructions 3.1 Product Appearance Front Side View Back Side View Bottom View for optional embedded modules All Rights Reserved VT-M2M-TC VM 3.2 Specifications Spe cifica t ion s CPU Processor I nt el® ATOM™, E620( T) 0.6GHz E640( T) 1GHz, E660( T) 1.3GHz, E680( T) ,1.6GHz 32KB I nst ruct ion cache + 23KB L1 cache, 512KB L2 cache M e m or y On Board RAM DDR2 512MB ( up t o 2GB) @800MHz ROM I nt ernal Half SATA SSD Module I nt ernal ( 8GB or ot hers) Chipset I nt el® Plat form Cont roller Hub EG20T. Support LCD/ SDVO, Sim ult aneous/ dual view display Resolut ion Up t o 1280 x 1024 @ 85Hz for VGA Decode: H.264,MPEG4, MPEG2,VC1,WMV- 9, Div- X Encode: H.264,MPEG4 I nt erface 1xVGA ( DB15) 1xLVDS ( Opt ional I nt ernal) WLAN Opt ional 1X ( Mini PCI E or USB2.0) 802.11a/ b/ g/ n Wireless Module, ext ernal ant enna Opt ional 1x m ini PCI E 3G Broad Band Module wit h SI M slot D ispla y W ir e le ss Com m u n ica t i on 3G Module Bluet oot h GPS Bluet oot h Class1. Wireless Transm it Module Opt ional 1X GPS m odule, ext ernal ant enna Et hernet 1x10/ 100/ 1000- BaseT( RJ45) USB 2xUSB2.0 Host ( Type A) Audio Alarm HD Audio, 1xMI C in 3.5m m , 1xst ereo Headphone 3.5m m ,Sm art Display m ono line- out ( left channel) 1xDB9 Ext ernal, 1xRS232/ 485 I nt ernal 1xCAN 2.0b up t o 1Mbit / s Buzzer Out SD card 1xSD card Slot ( Opt ional ) RTC Support ed Cont rol Power But t on on t he back GPI O Reserved GPI O X6( Term inal) UART 1x full funct ion UART use DB9,MAX: 1.0M Baud Se cu r it y Securit y( Opt io nal) On board Regist rat ion Serial Num ber, and SHA- 1 Encrypt / Decrypt Chip DS28E01 Soft w a r e OS Linux Pow e r Applicat ions I nput SDK Available DC6- 36V( default 12V) , Locked Power Jack Consum pt ion Dim ensions 8W ( Pulse15W) , Sleep 2W. ( wit hout 3G,GPS,Zigbee,WLAN) 170x102x52m m ( Box) I nst all Bracket s 192x102x52m m Weight 0.6Kg ( 1.2KKg package Kit ) Enclosure Alum inum Alloy wit h Black Color Tem per at ure Operat ing: - 0° C ~ + 60° C ( ETR: - 40° C ~ + 80° C Opt ional) Pe r iph e r a l I nt e r fa ce s COM Port M e cha nica l En vir onm e n t Condit ion All Rights Reserved VT-M2M-TC VM St orage: - 20° C ~ + 70° C, ( ETR: - 40° C ~ + 85° C Opt ional) Hum idit y 5- 95% RH at 25- 35 ( Non- Condensat ion) Cooling Mode Fan less, Heat Sink Approvals UL, FCC Class B, and CE All Rights Reserved VT-M2M-TC VM 3.3 Interface Instructions Front Side View Back Side View All Rights Reserved VT-M2M-TC VM 3.4 Dimension All Rights Reserved VT-M2M-TC VM 3.5 Interface Description 3.5.1 Wide‐Range Power Interface Power connector outlook Pin Description Chassis Ground Ground Ground N/C(Not Connect) N/C(Not Connect) N/C(Not Connect) Power Input (6 ~ 36 VDC) Power Input (6 ~ 36 VDC) Acc Ignition Input 10 Ground 11 N/C(Not Connect) 12 Power button Input All Rights Reserved optional VT-M2M-TC VM Power connector photo Pin Definition of Power Cord Pin Definition Color 7,8 Red 2,3 Black ‐ Chassis Ground Ignition White All Rights Reserved Blue VT-M2M-TC VM 3.5.2 Smart Display Connector Smart Display Connector Photo Pin Definition of Smart Display Connector Pin Description Pin LCD_BL_EN( Backlight Enable output) Panel_PWR_EN(Panel Power Enable output) Description 19 USB_D-(USB Data Negative Output Pin) 20 USB_D+(USB Data Positive Output Pin) LVDS Ground(ground pin) 21 USB Ground(ground pin) Reset_BTN#(Reset Signal Input) 22 USB Ground(ground pin) 23 +12 VDC output(+/- 10%, max 1.5A) 24 +12 VDC output(+/- 10%, max 1.5A) LVDS_CLKP(Positive Clock Signal Input Pin) LVDS_CLKN( Negative Clock Signal Input Pin) LVDS Ground(ground pin) 25 +12 VDC output(+/- 10%, max 1.5A) LVDS Ground(ground pin) 26 +12 VDC output(+/- 10%, max 1.5A) 27 Power Ground(ground pin) 28 Power Ground(ground pin) 10 LVDS_DATAP2(LVDS Data2 Positive Input Pin) LVDS_DATAN2(LVDS Data2 Negative Input Pin) 11 RS232_TXD1(RS232 Data output Pin) 29 Power Ground(ground pin) 12 RS232_RXD1(RS232 Data input Pin) 30 Power Ground(ground pin) 31 N/C(Not Connect) 32 N/C(Not Connect) 13 14 LVDS_DATAP1(LVDS Data1 Positive Input Pin) VDS_DATAN1(LVDS Data1 Negative Input Pin) 15 LVDS Ground(ground pin) 33 N/C(Not Connect) 16 LVDS Ground(ground pin) 34 Power Button Input # 35 Audio Ground 36 Mono. Line-out( left channel) 17 18 VDS_DATAP0(LVDS Data0 Positive Input Pin) VDS_DATAN0(LVDS Data0 Input Pin) Negative All Rights Reserved VT-M2M-TC VM Optional Smart Display Cable. All Rights Reserved VT-M2M-TC VM 3.5.3 Ethernet Interface Standard RJ45 interface, supporting 10M/100M/1000M self‐adaptation, this is a standard RJ45 Ethernet port Pin 10 Description L_MDI_0P L_MDI_0N L_MDI_1P L_MDI_1N L_MDI_2P L_MDI_2N L_MDI_3P L_MDI_3N All Rights Reserved Remarks IO IO IO IO IO IO IO IO VT-M2M-TC VM 3.5.4 D Sub‐9 RS232 Connector Standard vertical DB‐9 male connector ,Th e Pin bit r a t e 4 6 0 K Description DCD1/422TX+/485_A RXD1/422TX‐/485_B TXD1/422RX+ DTR1/422RX‐ DGND (ground pin) DSR1 RTS1 CTS1 RI1 All Rights Reserved Remarks BIOS set BIOS set BIOS set BIOS set VT-M2M-TC VM 3.5.5 RS232/485,CAN,External IO Connector 12pins 3.81 pitch terminal with screw lock Load capacity: more than 128 nodes/RS485 channel ‐‐ bit r a t e :1 1 5 2 0 0 CAN : Th e bit r a t e ca n be pr ogr a m m e d t o a m a x im u m of 1 M bit / s Pin 10 11 12 Description TXD2/485_2_A RXD2/485_2_B DGND CANH CANL DGND EXTIO0 EXTIO1 EXTIO2 EXTIO3 EXTIO4 EXTIO5 All Rights Reserved Remarks BIOS set BIOS set 3.3V Level 3.3V Level 3.3V Level 3.3V Level 3.3V Level 3.3V Level VT-M2M-TC VM 3.5.6 VGA Interface Standard vertical DB‐15 Female VGA connector bit r a t e :4 6 0 K Pin 10 11 12 13 14 15 Description RED GREEN BLUE N.C. GND GND GND GND +5VDC GND N.C. SD_DDC HSYNC VHYNC SC_DDC All Rights Reserved VT-M2M-TC VM 3.5.7 USB Host Connector Dual vertical USB A type interface, USB2.0 Pin A1 A2 A3 A4 B1 B2 B3 B4 3.5.8 Description USB1_VCC(+5VDC) USB1_D‐ USB1_D+ USB1_DGND(ground pin) USB2_VCC(+5VDC) USB2_D‐ USB2_D+ USB2_DGND(ground pin) LED PWR LED: light system power OK(main power up);off system power turn off Status LED:Blink SATA HDD active. All Rights Reserved VT-M2M-TC VM 3.6 Operation Notice 3.6.1 Change SIM Card Push the small button on the left of SIM Card Holder, and install the SIM card to the holder. Then push the holder into the Slot. All Rights Reserved VT-M2M-TC VM 4 Tips Waste Disposal It is recommended to disassemble the device before abandoning it in conformity with local regulations. Please ensure that the abandoned batteries are disposed according to local regulations on waste disposal. Do not throw batteries into fire (explosive) or put in common waste canister. Products or product packages with the sign of “explosive” should not be disposed like household waste but delivered to specialized electrical & electronic waste recycling/disposal center. Proper disposal of this sort of waste helps avoiding harm and adverse effect upon surroundings and people’s health. Please contact local organizations or recycling/disposal center for more recycling/disposal methods of related products. Comply with the following safety tips: Do not use in combustible and explosive environment Keep away from combustible and explosive environment for fear of danger. Keep away from all energized circuits. Operators should not remove enclosure from the device. Only the group or person with factory certification is permitted to open the enclosure to adjust and replace the structure and components of the device. Do not change components unless the power cord is removed. In some cases, the device may still have residual voltage even if the power cord is removed. Therefore, it is a must to remove and fully discharge the device before contact so as to avoid injury. Unauthorized changes to this product or its components are prohibited. In the aim of avoiding accidents as far as possible, it is not allowed to replace the system or change components unless with permission and certification. Please contact the technical department of Vantron or local branches for help. Pay attention to caution signs. Caution signs in this manual remind of possible danger. Please comply with relevant safety tips below each sign. Meanwhile, you should strictly conform to all safety tips for operation environment. Notice Considering that reasonable efforts have been made to assure accuracy of this manual, Vantron assumes no responsibility of possible missing contents and information, errors in contents, citations, examples, and source programs. Vantron reserves the right to make necessary changes to this manual without prior notice. No part of this manual may be reprinted or publicly released in for All Rights Reserved VT-M2M-TC VM FCC Warning: This device complies with FCC class B Rules. Operation is subject to the following conditions. (1) This device may not cause harmful interference. (2) This device must accept any interference received, including interference that may cause undesired operation. Note: This equipment has been tested and found to comply with the limits for a Class B digital device, pursuant to part 15 of the FCC Rules. These limits are designed to provide reasonable protection against harmful interference in a residential installation. This equipment generates, uses and can radiate radio frequency energy and, if not installed and used in accordance with the instructions, may cause harmful interference to radio communications. However, there is no guarantee that interference will not occur in a particular installation. If this equipment does cause harmful interference to radio or television reception, which can be determined by turning the equipment off and on, the user is encouraged to try to correct the interference by one or more of the following measures: —Reorient or relocate the receiving antenna. —Consult the dealer or an experienced radio/TV technician for help. Modifications not authorized by the manufacturer may void users authority to operate this device. In the aim of avoiding accidents as far as possible, it is not allowed to replace the system or change components unless with permission and certification. Please contact the technical department of Vantron or local branches for help. RF exposure warning This equipment must be installed and operated in accordance with provide instructions and the antenna used for this transmitter must be installed to provide a separation distance of at least 20 cm from all persons and must not be co‐located or operation in conjunction with any other antenna or transmitter. End‐users and installers must be provide with antenna installation instructions and transmitter operating conditions for satisfying RF exposure compliance. All Rights Reserved VT-M2M-TC VM Part II:Software Reference Introduction Thank you for choosing Vantron. It is our commitment to provide our valued customers with the embedded devices equipped with the state of the art technology and the best product services. Vantron’s M2M products are based on the most advanced ARM and Intel Atom processors and have low power consumption and high integration. The products are designed for applications of M2M in industrials, medicals, financial, retail, vehicle, and transportations etc. 1.1 About This Manual This manual is for user how to use sample programs in Linux system and how to use device in Linux system. 1.2 Linux OS Support The TV‐M2M‐TC VM supports the following Linux operating systems. Ubuntu 12.04.2 LTS The Ubuntu 12.04.2 LTS default normal user is vantron, password is vantron. 1.3 Sample Programs Vantron supports many sample programs for TV‐M2M‐TV VM. You can test device modules through these sample programs, and can be the reference that you develop. z client CAN data send program z loopback CAN data receive program z gpioctl GPIO test program z power Power control for modules in the set z serialdemo Serial testing and send AT Command program z gps Get the gps information All Rights Reserved VT-M2M-TC VM mcupower mcupowerui adxl pnl hostapdup hostapdoff 1.4 Power control configure Power control configure UI Digital Accelerometer Pnl7 control Host AP up Host AP off Functionalities layout The below table lists VT‐M2M‐TC VM features. Chips or Interfaces Details UART VT‐M2M‐TC has 4 UART ports: /dev/ttyS0 :RS232 DB9 COM Port /dev/ttyS1 : Green Terminal Pin 1,2 /dev/ttyS2 :GPS /dev/ttyS3 : Pnl7 button control USB Host portx2 1xEthernet $sudo ifconfig eth0 192.168.16.143 Audio MIC IN ALSA audio device $ arecord –t wav test.wav Audio Out ALSA audio device $aplay test.wav Video player $mplayer /programs/tmp/1.mp4 Green Terminal 1 :TXD2 2 :RXD2 3 :GND 4 :CANH 5 :CANL 6 :GND 7 :EXTIO0 8 :EXTIO1 9 :EXTIO2 10 :EXTIO3 11 :EXTIO4 1.1 EXTIO5 All Rights Reserved VT-M2M-TC VM Base Control Open the terminal (CTRL+ALT+T), then get into the demo directory. The directory patch is /programs/demo. ex: $cd /programs/demo 2.1 Power Control power can|gps|3g] [on|off] can: Power control of CAN Module gps: Power control of GPS Module 3g: Power control of 3G Module ex1: Turn on power of can module $sudo ./power can on ex2: Turn off power of can module $sudo ./power can off 2.2 Can Control a. Close can device $sudo ifconfig can0 down b. Configure can, set can’s baud rate to 1Mbps, or 100000(100kbps) $sudo ip link set can0 type can bitrate 100000 $sudo ifconfig can0 up c. Receive can data, it will receive can data which from other side $sudo ./loopback d. Send can data, it will send can package with ID of 0x02 $sudo ./client 2.3 GPIO Control gpioctldirin: Set specified GPIO as input type dirout: Set specified GPIO as output get: Read GPIO input level. Need set the GPIO as input first. set: Set GPIO as high level. Nee set the GPIO as output first. All Rights Reserved VT-M2M-TC VM clear: Clear GPIO to low level, need set the GPIO as output first. gpionum: The GPIO be operated. 0 to 5 is EXTIO, 10 is back light power ex1: Set EXTIO2 to high. $sudo ./gpioctl dirout 2 $sudo ./gpioctl set 2 ex2: Read level of EXTIO2. $sudo ./gpioctl dirin 2 $sudo./gpioctl get 2 ex3: Set EXTIO2 to low. $sudo ./gpioctl dirout 2 $sudo ./gpioctl clear 2 2.4 Serial COM Control a. RS232 DB9 COM : Open the Cutecom, this software get from “Ubuntu Software Center”. $sudo cutecom Select Device, Baudrate, Data bits, Stop bits, Parity , Handshake, then press “Open device” button. b. COM port on green terminal: Short Pin 1, 2 of green terminal $sudo ./serialdemo –d /dev/ttyS1 –b 9600 –r –w “hello” Can display some “hello” outputs All Rights Reserved VT-M2M-TC VM 2.5 Audio And Video Control a. Audio arecord: $sudo arecord –t wav test.wav b. Audio aplay: $sudo aplay test.wav c. Video player, the test video in “/programs/tmp “: $sudo mplayer /programs/tmp/1.mp4 2.6 SD card Control a. Insert SD card ,then look over device: $sudo fdisk –l b. mount SD card device: $sudo mount /dev/mmcblk0 /mnt 2.7 ADXL345 Control Get Digital Accelerometer: $sudo ./adxl X: 233 Y: Z: 3ed 2.8 Watchdog a. Configure watchdog driver: $sudo vim /etc/default/watchdog #Start watchdog at boot time? 0 or 1 run_watchdog=1 #Load module before starting watchdog watchdog_module=”sch311x_wdt” #Specify additional watchdog options here (see manpage). b. Configure watchdog: $sudo vim /etc/watchdog.conf All Rights Reserved VT-M2M-TC VM c. Start watchdog or reboot system: $sudo watchdog 2.9 Pnl7 Control The communication protocol in the PNL CD/DVD 740P56‐5KxxxxxxVT_PNL7_xxx/SW/CommunicationProtocol MCU with PC V1.x.pdf. Control pnl7 and get button event from pnl7. $sudo ./pnl 1.Get pnl version 2. Get pnl back light value ………… ………… 25. Exit Input Select: 2.10 MCU Power Control The communication protocol in this CD/DVD SW/doc/vm‐smbus‐protocol_xx.pdf. a. Get the MCU power value (D‐Dec H‐Hex): $sudo ./mcupower get 1 MCU on delay:(Dec)5 (Hex)5 b. Set the MCU power value , set value is Dec: $sudo ./mcupower set 1 200 MCU on delay OK c. Set and get MCU power value form UI: $sudo ./mcupowerui First, press “read” button to get the MCU power value. Second, set the MCU power value, then press “write” button. The value range need refer to the communication protocol. d. Example of the method of changing the low DC input voltage detection value: All Rights Reserved VT-M2M-TC VM 1. Use power supply equal or more than 12V output. 2. "Read" all values 3. Change this value to 10.8V, to settle long cable with voltage drop issue. 4. "Write" settings to save the ACC power management parameter. 2.11 a. Start Touch Screen “penMount Utility” following diagram: All Rights Reserved VT-M2M-TC VM b. Then calibrate and set touch screen: 2.12 Host AP First of all, disconnect all network. a. Open the WIFIAP software: All Rights Reserved VT-M2M-TC VM b. Input the pass word and you will into the following interface: c. Open Options‐>Settings, set the host AP and DNSMASQ: Note: When you changed the setting, you need click “Save”. d. Connect Ethernet (eth0) or cell (ppp0), then activate the host AP: e. The active host AP: All Rights Reserved VT-M2M-TC VM When activate the host AP, you can scan and connect the hot port, and access to the other network which you configure. f. Close the activation state: All Rights Reserved VT-M2M-TC VM 2.13 OnBorad a. Open onboard b. Preferences or Quit All Rights Reserved VT-M2M-TC VM Network Module The network be managed by the network connections, can use network connections tool from system tools. 3.1 a. WIFI Control Connect the WIFI hotspot: All Rights Reserved VT-M2M-TC VM 3.2 3G Control Note: When you disconnected the 3G or connected error, you must restart the device: $sudo power 3g off $sudo power 3g on a. Open network connections. b. Select mobile Broadband and press “add” button to add device: All Rights Reserved VT-M2M-TC VM c. Select the telit wireless device. d. Select country, we are in China, so we select China. e. Select provider from list: All Rights Reserved VT-M2M-TC VM f. g. Apply the config: Set phone number , user and password: h. Connect the internet: All Rights Reserved VT-M2M-TC VM 3.3 Bluetooth Control Bluetooth is a wireless protocol that allows you to connect many different types of devices to your computer. Bluetooth is commonly used for headsets and input devices like mice and keyboards. You can also use Bluetooth to send files between devices, such as from your computer to your cell phone. Turn Bluetooth on or off Enable or disable the Bluetooth device on your computer. Connect your computer to a Bluetooth device Pair Bluetooth devices. Remove a connection between Bluetooth devices Remove a device from the list of Bluetooth devices. Send a file to a Bluetooth device Share files to Bluetooth devices such as your phone. What is Bluetooth visibility? Whether or not other devices can discover your computer. Detailed contents make reference to a following: https://help.ubuntu.com/lts/ubuntu‐help/bluetooth.html 3.3.1 Pair Bluetooth devices a. Looking at the top panel of your desktop and if you see a small icon that resembles the standard Bluetooth logo near the clock (to the right edge of the top panel) as shown below. b. Make sure you’ve enabled Bluetooth on your device. If it’s a mobile phone, then you’ll have to manually enable it and also make sure it’s ‘visible’ (discover mode) to other devices. All Rights Reserved VT-M2M-TC VM c. Then locate that small Bluetooth icon on the top panel and click on it. Then from the menu that you get, click on that which says ‘Bluetooth Settings…’ . d. This should open the default configuration window and you’ll see a button that lets you turn on/off Bluetooth as shown below. Now simply click and drag it to the right‐side until it says ‘ON’ to turn it on. Then click on the ‘+’ sign at the bottom of the ‘Bluetooth Settings’ window to add the device (shown in the above screenshot). e. Click ‘Continue’ button and then Ubuntu will scan and connect any ‘visible’ Bluetooth device. As you can see in below screenshots, it detected Samsung mobile phone and if you have more than one, then they’ll be listed, one by one. All Rights Reserved VT-M2M-TC VM f. Now when you’re ready, click on the device that you want a connection to be established and click ‘Continue’. g. This PIN number is only displayed for a few seconds so you should better hurry up . If it’s a phone, then your phone will ask for this PIN code automatically. h. If you successfully entered the PIN number then you should see a message saying that the set up was successful as shown below. If you failed entered the PIN number, you can close the window and restart the Bluetooth setting again. All Rights Reserved VT-M2M-TC VM 3.3.2 Send File You can use the Bluetooth device, if you’ve connected a mobile phone then you can use ‘Bluetooth Settings’ window. Click on the Bluetooth icon on the top panel for sending or browsing files etc as shown below. All Rights Reserved VT-M2M-TC VM 3.3.3 Accept File a. First of all, make sure the Bluetooth devices are ‘visible’, pair the Bluetooth devices. b. Open file sharing. c. Configure Bluetooth. d. Send file from others Bluetooth device, the file will be saved in /home/vantron/Download. All Rights Reserved VT-M2M-TC VM GPS Module 4.1 Get GPS Data Open /dev/ttyS2 , read GPS data $sudo ./gps 38400 /dev/ttyS2 4.2 GPS Data Format 4.2.1 GPGGA Global Positioning System Fix Data Name Example Data Description Sentence Identifier $GPGGA Global Positioning System Fix Data Time 170834 17:08:34 Z Latitude 4124.8963, N 41d 24.8963' N or 41d 24' 54" N Longitude 08151.6838, 81d 51.6838' W or 81d 51' 41" W Fix Quality: ‐ 0 = Invalid ‐ 1 = GPS fix ‐ 2 = DGPS fix Data is from a GPS fix Number of Satellites 05 5 Satellites are in view Horizontal Dilution of Precision (HDOP) 1.5 Relative accuracy of horizontal position Altitude 280.2, M 280.2 meters above mean sea level Height of geoid above WGS84 ellipsoid ‐34.0, M ‐34.0 meters Time since last DGPS update blank No last update DGPS reference station id blank No station id Checksum *75 Used by program to check for transmission errors ex: $GPGGA,hhmmss.ss,llll.ll,a,yyyyy.yy,a,x,xx,x.x,x.x,M,x.x,M,x.x,xxxx hhmmss.ss = UTC of position llll.ll = latitude of position All Rights Reserved VT-M2M-TC VM a = N or S yyyyy.yy = Longitude of position a = E or W x = GPS Quality indicator (0=no fix, 1=GPS fix, 2=Dif. GPS fix) xx = number of satellites in use x.x = horizontal dilution of precision x.x = Antenna altitude above mean‐sea‐level M = units of antenna altitude, meters x.x = Geoidal separation M = units of geoidal separation, meters x.x = Age of Differential GPS data (seconds) xxxx = Differential reference station ID 4.2.2 GPGSA GPS DOP and active satellites ex1: $GPGSA,A,3,,,,,,16,18,,22,24,,,3.6,2.1,2.2*3C ex2: $GPGSA,A,3,19,28,14,18,27,22,31,39,,,,,1.7,1.0,1.3*35 ex3: $GPGSA,<1>,<2>,<3>,<4>,,,,,<11>,<12>,<13>,<14>,<15>,<16>,<17> *<18> = Mode: M=Manual, forced to operate in 2D or 3D A=Automatic, 3D/2D = Mode: 1=Fix not available 2=2D 3=3D 3‐14 = IDs of SVs used in position fix (null for unused fields) 15 = PDOP 16 = HDOP 17 = VDOP 18 = cheaksum 4.2.3 GPGSV GPS Satellites in view ex: $GPGSV,3,1,11,03,03,111,00,04,15,270,00,06,01,010,00,13,06,292,00*74 $GPGSV,3,2,11,14,25,170,00,16,57,208,39,18,67,296,40,19,40,246,00*74 $GPGSV,3,3,11,22,42,067,42,24,14,311,43,27,05,244,00,,,,*4D $GPGSV,1,1,13,02,02,213,,03,‐3,000,,11,00,121,,14,13,172,05*67 = Total number of messages of this type in this cycle All Rights Reserved VT-M2M-TC VM = Message number = Total number of SVs in view = SV PRN number = Elevation in degrees, 90 maximum = Azimuth, degrees from true north, 000 to 359 = SNR, 00‐99 dB (null when not tracking) 8‐11 = Information about second SV, same as field 4‐7 12‐15= Information about third SV, same as field 4‐7 16‐19= Information about fourth SV, same as field 4‐7 4.2.4 GPRMC Recommended minimum specific GPS/Transit data ex1: $GPRMC,081836,A,3751.65,S,14507.36,E,000.0,360.0,130998,011.3,E*62 ex2: $GPRMC,225446,A,4916.45,N,12311.12,W,000.5,054.7,191194,020.3,E*68 225446 4916.45,N 12311.12,W 000.5 054.7 191194 020.3,E *68 Time of fix 22:54:46 UTC Navigation receiver warning A = OK, V = warning Latitude 49 deg. 16.45 min North Longitude 123 deg. 11.12 min West Speed over ground, Knots Course Made Good, True Date of fix 19 November 1994 Magnetic variation 20.3 deg East mandatory checksum ex3: $GPRMC,220516,A,5133.82,N,00042.24,W,173.8,231.8,130694,004.2,W*70 3 4 6 7 10 11 12 10 11 12 220516 5133.82 00042.24 173.8 231.8 130694 004.2 *70 Time Stamp validity ‐ A‐ok, V‐invalid current Latitude North/South current Longitude East/West Speed in knots True course Date Stamp Variation East/West checksum ex4: $GPRMC,hhmmss.ss,A,llll.ll,a,yyyyy.yy,a,x.x,x.x,ddmmyy,x.x,a*hh All Rights Reserved VT-M2M-TC VM 10 11 12 = UTC of position fix = Data status (V=navigation receiver warning) = Latitude of fix = N or S = Longitude of fix = E or W = Speed over ground in knots = Track made good in degrees True = UT date = Magnetic variation degrees (Easterly var. subtracts from true course) = E or W = Checksum 4.2.5 GPVTG Track Made Good and Ground Speed. ex1: $GPVTG,360.0,T,348.7,M,000.0,N,000.0,K*43 ex2: $GPVTG,054.7,T,034.4,M,005.5,N,010.2,K 054.7,T 034.4,M 005.5,N 010.2,K True track made good Magnetic track made good Ground speed, knots Ground speed, Kilometers per hour ex3: $GPVTG,t,T,,,s.ss,N,s.ss,K*hh = Track made good = Fixed text 'T' indicates that track made good is relative to true north = not used = not used = Speed over ground in knots = Fixed text 'N' indicates that speed over ground in in knots = Speed over ground in kilometers/hour = Fixed text 'K' indicates that speed over ground is in kilometers/hour = Checksum The actual track made good and speed relative to the ground. $GPVTG,x.x,T,x.x,M,x.x,N,x.x,K x.x,T = Track, degrees True x.x,M = Track, degrees Magnetic x.x,N = Speed, knots x.x,K = Speed, Km/hr All Rights Reserved VT-M2M-TC VM Update System 5.1 Make USB boot Stick and Copy Image to USB stick Create PC condition: Create a bootable USB stick on Windows XP/ Win7, the first thing you need to do is insert a USB stick with at least 2GB of free space into your PC. Here use an USB installer tool to write the image ISO to USB stick. Please copy the file SW/tools/Universal‐USB‐Installer‐1.9.3.5.exe to your PC anywhere. USB stick making steps in detail as follows: a. Copy SW/image/xxx.iso image into your PC. b. Select the “Try Unlisted Linux ISO” from the dropdown list. c. Click 'Browse' and select the image ISO file. All Rights Reserved VT-M2M-TC VM d. Choose the USB drive and click 'Create'. All Rights Reserved VT-M2M-TC VM 5.2 Update steps a. When the bootable USB stick create over, insert the USB stick into VT‐M2M‐TC. And connect a USB keyboard on the M2M‐TC. b. Power ON the VT‐M2M‐TC, and step into BIOS by press the “Delete” key on the keyboard. In the BIOS, set the first boot option for boot up by USB stick. The user guidance of the BIOS is in the package of HW/ 700N16‐6Bxxxxxx_VT‐M2M‐TC_VM_xxx.zip. c. Select the first option “clonezilla live with img 700Pxxxxxx”. All Rights Reserved VT-M2M-TC VM d. When ask “Are you sure want to continue??” or “Let me ask you again, Are you sure you want to continue??” , please input ‘y’ all. e. The system is updating. f. When update over, the system will power off. Re‐power VT‐M2M‐TC, and step into the BIOS, and restore the first boot option to hard disk. All Rights Reserved VT-M2M-TC VM US Office: Vantron Technology, Inc. Address: 1292 Kifer Road #807, Sunnyvale, CA 94086 Tel: 510-304-7666 Email: sales@vantrontech.com China Office: Chengdu Vantron Technology, Ltd. Address: 3rd floor, 3rd building, No.9, 3rd WuKe East Street, WuHou District, Chengdu, P.R. China 610045 Tel: 86-28-8512-3930/3931, 8515-7572/6320 Email: sales@vantrontech.com.cn All Rights Reserved
Source Exif Data:
File Type : PDF File Type Extension : pdf MIME Type : application/pdf PDF Version : 1.6 Linearized : Yes Encryption : Standard V4.4 (128-bit) User Access : Print, Extract, Print high-res Author : x.fu Create Date : 2014:02:24 17:15:06+08:00 Modify Date : 2014:02:25 15:56:38-08:00 XMP Toolkit : Adobe XMP Core 5.2-c001 63.139439, 2010/09/27-13:37:26 Producer : Acrobat Distiller 7.0.5 (Windows) Creator Tool : PScript5.dll Version 5.2 Metadata Date : 2014:02:25 15:56:38-08:00 Format : application/pdf Title : Microsoft Word - 411P56-6000R1 VT-M2M-TC VM User's Manual V2.7 02242014.doc Creator : x.fu Document ID : uuid:e80322bd-af07-42bb-9a1a-36afaa64e178 Instance ID : uuid:e706da99-709f-4175-9d16-b230e61cca10 Page Count : 56EXIF Metadata provided by EXIF.tools