VTM2MTC UsersManual VantronTechnology www.vantrontech.com.cn All Rights Reserved VT-M2M-TC RevisionHistory:
Version Description Firstrelease AddGPIOInformation V1.0 V1.1 V1.2 Modifyorderinformation V1.3 Modifyorderinformation Updatethelogoofcover V1.4 Add1xHalfPCIeslot V1.5 AddFCCandICwarning V1.6 statement Change descriptionas DC936V(default 12V) Appended contents of how to dosoftwaresetup power input V1.7 V1.8 Date May 10,2011 Dec. 22,2011 Nov. 18,2011 Jan. 10,2012 May 16,2012 July 20,2012 Dec. 2, 2013 Dec.16,2013 Jan16,2014 No. 1 2 3 4 5 6 7 8 9 VT-M2M-TC TableofContents 2 PartIHardwarePlatform..............................................................4 Foreword.....................................................................................5 1 1.1 CopyrightNotice......................................................................5 1.2 Notes........................................................................................6 1.3 Statement................................................................................6 1.4 Disclaimer................................................................................6 1.5 LimitationofLiability/Nonwarranty........................................7 SafetyInstructions...................................................................7 1.6 Precautions..............................................................................8 1.7 1.8 SafetyInstructionsforPowerCablesandAccessories.............9 Overview....................................................................................11 Introduction...........................................................................11 2.1 ProductSeries........................................................................12 2.2 2.2.1 ProductOrderCodingRule......................................12 2.2.2 OrderingInformation..............................................12 3 M2MTCHardwareInstructions..................................................13 ProductAppearance..............................................................13 Specifications.........................................................................16 InterfaceInstructions.............................................................18 3.3.1 FrontView...............................................................18 3.3.2 BackView................................................................18 3.4 Dimension..............................................................................19 InterfaceDescription..............................................................20 3.5 3.5.1 WideRangePowerInterface..................................20 3.5.2 EthernetInterface...................................................20 3.1 3.2 3.3 VT-M2M-TC 3.5.3 DSub9RS232Connector........................................21 3.5.4 RS232/485,CAN,ExternalIOConnector...................22 3.5.5 VGAInterface..........................................................23 3.5.6 USBHostConnector................................................24 3.6 OperationNotice....................................................................25 3.6.1 ChangeSIMCard.....................................................25 3.6.2 PowerSupply...........................................................25 4 Tips.............................................................................................26 PartIISoftwarePlatform.............................................................30 1 Introduction.............................................................................30 1.1 AboutThisManual.....................................................30 1.2 SamplePrograms........................................................31 1.3 Functionalitieslayout.................................................31 1.4 LinuxOSSupport........................................................33 2 BaseControl.............................................................................34 2.1 PowerControl.............................................................34 2.2 CanControl.................................................................35 2.3 GpioControl...............................................................36 2.4 SerialCOMControl.....................................................36 2.5AudioControl.................................................................37 2.6SDcardControl..............................................................37 2.7 ADXL345Control.........................................................38 3 WIFIModule.............................................................................39 3.1 BaseConfig..................................................................39 3.2 OpenConfig.................................................................40 3.3 WPAPSK/WPA2_PSKConfig......................................40 VT-M2M-TC 4 3GModule.................................................................................42 4.1 BaseConfig..................................................................42 4.2 ScriptConfig................................................................43 5ZigBeeModule.............................................................................45 5.1DigiXbeeModule............................................................45 6 GPSModule..............................................................................48 6.1 GetGPSData..............................................................48 6.2 GPSDataFormat........................................................48 7UpdateSystem............................................................................56 7.1 MakeUSBbootStickandCopyImagetoUSBstick..56 7.2 Updatesteps...............................................................59 VT-M2M-TC PartIHardwarePlatform VT-M2M-TC 1 Foreword 1.1 CopyrightNotice Whileallinformationcontainedhereinhavebeencarefullycheckedto assureitsaccuracyintechnicaldetailsandprinting,Vantronassumesno responsibility resulting from any error or features of this manual, or fromimproperusesofthismanualorthesoftware.Pleasecontactour technical department for relevant operation solutions if there is any problemthatcannotbesolvedaccordingtothismanual. Vantron reserves all rights of this manual, including the right to change the content, form, product features, and specifications containedhereinatanytimewithoutpriornotice.Thelatestversionof thismanualisatwww.vantrontech.com.cn.PleasecontactVantronfor furtherinformation:
VantronTechnologyVantron Email:sales@vantrontech.com VT-M2M-TC 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 arepermittedwithoutthepriorwrittenconsentofVantron. Vantron reserves the right of all publiclyreleased copies of this manual. 1.2 Notes Applicablenotesarelistedinthefollowingtable:
Sign NoticeType Description Notice Importantinformationandregulations Caution Cautionforlatentdamagetosystemorharm topersonnel 1.3 Statement It is recommended to read and comply with this manual before operating VTM2M TC which provides important guidance and helps decreasing the danger of injury, electric shock, fire, or any damage to thedevice. 1.4 Disclaimer Vantronassumesnolegalliabilityofaccidentsresultingfromfailureof conformingtothesafetyinstructions. VT-M2M-TC 1.5 LimitationofLiability/Nonwarranty For direct or indirect damage to this device or other devices of Vantron caused by failure of conforming to this manual or the safety instructionsondevicelabel,Vantronassumesneitherwarrantynorlegal liabilityevenifthedeviceisstillunderwarranty. The VTM2MTC should be installed, debugged and maintained by professionalpeople. 1.6 SafetyInstructions
Keep and comply with all operation instructions, warnings, and information.
Payattentiontowarningsonthisdevice.
Read the following precautions so as to decrease the danger of injury,electricshock,fire,oranydamagetothedevice. VT-M2M-TC 1.7 Precautions
Pay attention to the product labels/safety instructions printed on silkscreens.
Donottryrepairingthisproductunlessdeclaredinthismanual.
Keep away from heat source, such as heater, heat dissipater, or enginecasing.
Donotinsertotheritemsintotheslot(ifany)ofthisdevice.
Keeptheventilationslotventilatedforcooling. Systemfaultmayariseifotheritemsareinsertedintothisdevice. Installation: ensure correct installation according to instructions fromthemanufacturerwithrecommendedinstallationtools.
Ensureventilationandsmoothnessaccordingtorelevantventilation standard. VT-M2M-TC 1.8 SafetyInstructionsforPowerCablesandAccessories Properpowersourceonly 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 requirementsofnecessarypowersource. Usetestedpowersource Thisproductstillcontainsabuttonlithiumbatteryasarealtimeclock afteritsexternalpowersourceisremovedandthereforeshouldnotbe shortcircuitedduringtransportationorplacedunderhightemperature. Placecablesproperly:
Donotplacecablesatanyplacewithextrusiondanger. VT-M2M-TC CleaningInstructions
Pleasepoweroffbeforecleaningthedevice.
Donotusespraydetergent.
Cleanwithadampcloth.
Do not try cleaning exposed electronic components unless with a
dustcollector. Support for special fault: Power off and contact technical support personnelofVantronincaseofthefollowingfaults:
Thedeviceisdamaged. Thetemperatureisexcessivelyhigh. Fault is still not solved after the operation according to the manual. VT-M2M-TC 2 Overview 2.1 Introduction ThankyouforchoosingVantron.Itisourcommitmenttoprovideour valued customers with the embedded devices equipped with the stateofthearttechnologyandthebestproductservices. Vantrons M2Mproducts are based on the most advanced ARM and Intel Atom processors and have lowpower consumption and high integration. The products are designed for applications of M2M in industrials,medicals,financial,retail,vehicle,andtransportationsetc. VT-M2M-TC 2.2 ProductSeries 2.2.1 ProductOrderCodingRule Order Code VT-M2M-TC-4-1GM-8GF-GWZP-V Version:
I: Extended Temperature Blank:Commercial temperature Wireless Module Option: 2G: 2G, 3G: 3G, W:
WiFi, Z: Zigbee, 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 2.2.2 OrderingInformation Order Examples:
VT-M2M-TC-4-1GM-8GF VT-M2M-TC-6-1GM-8GF-W VT-M2M-TC-8-1GM-8GF-3GW ATOM E640 Processor, 1.6GHz CPU, 1GB DDR2, 8G Flash , 3G,WLAN ATOM E640 Processor, 1.3GHz CPU, 1GB DDR2, 8G Flash, WLAN ATOM E640 Processor, 1GHz CPU, 1GB DDR2 Accessories:
InstallMechanicaltools,1pc PowerAdapterwithlockedconnector(Optional),1pc IOTerminal(12x3.81mm)(Optional),1pc 3GAntenna(Optional),1pc WiFiAntenna(Optional),1pc ZigbeeAntenna(Optional),1pc GPSAntenna(Optional),1pc VT-M2M-TC 3 M2MTCHardwareInstructions 3.1 ProductAppearance FrontSideView BackSideView VT-M2M-TC Viewforalloptionalembeddedmodulesandantennas VT-M2M-TC BottomViewforoptionalembeddedmodules
(1xHalfPCIeslotunderthe1xPCIeslot) BottomViewforoptionalembeddedmodules VT-M2M-TC 3.2 Specifications Specifications CPU Processor Intel ATOM, E640(T)1GHz, E660(T)1.3GHz, E680(T),1.6GHz 32KB Instruction cache +23KB L1 cache, 512KB L2 cache Memory Display Wireless Communication Peripheral Interfaces On Board DDR 1GB ( up to 2GB), 533MHz ROM Internal 1.8SATA SSD Module Internal (8GB, or others) Chipset Resolution Interface WLAN 3G Module ZigBee GPS Ethernet USB Audio Intel Platform Controller Hub EG20T. Support LCD/SDVO, Simultaneous/dual view display Up to 1280 x 1024 @ 60Hz for VGA Decode:H.264,MPEG4, MPEG2,VC1,WMV-9, Div-X Encode:H.264,MPEG4, 1xVGA (DB15) 1xLVDS (Optional Internal) Optional 802.11 b/g/n Wireless Module, external antenna , Support 1x Half PCIe Wireless card Optional1x mini PCIe 3G Broad Band Module with SIM slot Optional low power Zigbee Module, external antenna Optional GPS module, external antenna 1x10/100/1000-BaseT(RJ45) 2xUSB2.0 Host (Type A) HD Audio, 1xMIC in 3.5mm, 1xline Out 3.5mm VT-M2M-TC COM Port Alarm SD card RTC Control GPIO UART security OS Applications Input Consumption Dimensions Install Weight Enclosure Temperature 1xDB9 External, 1xRS232 Internal 1xCAN 2.0b Buzzer Out 1xSD card Slot (Optional ) Supported Reset Button on the top Reserved GPIO (Terminal) 1x full function UART use DB9 On board Registration Serial Number, and SHA-1 Encrypt/Decrypt Chip DS28E01 (Optional) Linux SDK Available DC9-36V(default 12V), Locked Power Jack 6W (Pulse8W), Sleep 2W. (without 3G,GPS,Zigbee,WLAN) 138x102x52mm (Box) 160x102x52mm 0.6Kg (1.2KKg package Kit) Aluminum Alloy with Black Color Operating:-0C ~ +60C
( ETR:-40C ~ +80C Optional) Storage: -20C ~ +70C,
(ETR:-40C ~ +85C Optional) Humidity Cooling Mode Approvals 5-95%RH at 25-35 (Non-Condensation) Fan less, Heat Sink UL, FCC Class A, and CE Security Software Power Mechanical Environment Condition VT-M2M-TC 3.3 InterfaceInstructions 3.3.1 FrontView 3.3.2 BackView VT-M2M-TC 3.4 Dimension VT-M2M-TC 3.5 InterfaceDescription 3.5.1 WideRangePowerInterface PowerJACKwithlock Description DGND(groundpin) Power(+12DC,UPto36V) Pin 1,3 2 3.5.2 EthernetInterface StandardRJ45interface,supporting10M/100M/1000M selfadaptation,thisisastandardRJ45ethernetport VT-M2M-TC 3.5.3 DSub9RS232Connector StandardverticalDB9maleconnector Pin 1 2 3 4 5 6 7 8 9 Remarks BIOSset BIOSset BIOSset BIOSset Description DCD1/422TX+/485_A RXD1/422TX/485_B TXD1/422RX+
DTR1/422RX DGND(groundpin) DSR1 RTS1 CTS1 RI1 VT-M2M-TC 3.5.4 RS232/485,CAN,ExternalIOConnector 12pins3.81pitchterminalwithscrewlock Loadcapacity: morethan128nodes/RS485channel Pin 1 2 3 4 5 6 7 8 9 10 11 12 Description TXD2/485_2_A RXD2/485_2_B Remarks BIOSset BIOSset DGND CANH CANL DGND EXTIO0 EXTIO1 EXTIO2 EXTIO3 EXTIO4 EXTIO5 3.3VLevel 3.3VLevel 3.3VLevel 3.3VLevel 3.3VLevel 3.3VLevel VT-M2M-TC 3.5.5 VGAInterface StandardverticalDB15FemaleVGAconnector Pin 1 2 3 4 5 6 7 8 9 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 VT-M2M-TC 3.5.6 USBHostConnector DualverticalUSBAtypeinterface,USB2.0 Pin A1 A2 A3 A4 B1 B2 B3 B4 Description USB1_VCC(+5VDC) USB1_D USB1_D+
USB1_DGND(groundpin) USB2_VCC(+5VDC) USB2_D USB2_D+
USB2_DGND(groundpin) VT-M2M-TC 3.6 OperationNotice 3.6.1 ChangeSIMCard PushthesmallbuttonontheleftofSIMCardHolder,andinstalltheSIM cardtotheholder.ThenpushtheholderintotheSlot. 3.6.2 PowerSupply Please make sure using adapter in the accessory, or the power is not reversedwhenpoweredbyotheradapter. VT-M2M-TC 4 Tips WasteDisposal Itisrecommendedtodisassemblethedevicebeforeabandoningitin conformity with local regulations. Please ensure that the abandoned batteriesaredisposedaccordingtolocalregulationsonwastedisposal. 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 peoples health. Please contact local organizations or recycling/disposal center for more recycling/disposal methodsofrelatedproducts. Complywiththefollowingsafetytips:
Donotuseincombustibleandexplosiveenvironment Keep away from combustible and explosive environment for fear of danger. VT-M2M-TC Keepawayfromallenergizedcircuits. 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.Donotchangecomponentsunlessthepowercordisremoved. 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 dischargethedevicebeforecontactsoastoavoidinjury. Unauthorized changes to this product or its components are prohibited. Intheaimofavoidingaccidentsasfaraspossible,itisnotallowedto replace the system or change components unless with permission and certification. Please contact the technical department of Vantron or localbranchesforhelp. Payattentiontocautionsigns. Cautionsignsinthismanualremindofpossibledanger.Pleasecomply withrelevantsafetytipsbeloweachsign.Meanwhile,youshouldstrictly conformtoallsafetytipsforoperationenvironment. VT-M2M-TC Notice Considering that reasonable efforts have been made to assure accuracyofthismanual,Vantronassumesnoresponsibilityofpossible missing contents and in contents, citations, examples,andsourceprograms. information, errors Vantronreservestherighttomakenecessarychangestothismanual withoutpriornotice.Nopartofthismanualmaybereprintedorpublicly releasedinformsofphotocopy,tape,broadcast,edocument,etc. FCCWarning This device complies with FCC class A Rules. Operation is subject to theFollowingconditions. Thisdevicemaynotcauseharmfulinterference. This device must accept any interference received, including interferencethatmaycauseundesiredoperation. Note:Thisequipmenthasbeentestedandfoundtocomplywiththe limitsforaClassAdigitaldevice,pursuanttopart15oftheFCCRules. These limits are designed to provide reasonable protection against harmfulinterferencewhentheequipmentisoperatedinacommercial environment. This equipment generates, uses and can radiate radio frequencyenergyand,ifnotinstalledandusedinaccordancewiththe instruction manual, may cause harmful radio communications. Operation of this equipment in a residential area is likely to cause harmful interference in which case the user will be requiredtocorrecttheinterferenceathisownexpense. interference to Reorientorrelocatethereceivingantenna. Consultthedealeroranexperiencedradio/TVtechnicianforhelp. VT-M2M-TC Anymodificationtotheproductisnotpermittedunlessauthorizedby Vantron.Itsnotallowedtodisassembletheproduct,itisnotallowedto replace the system or change components unless with permission and certification. Please contact the technical support department of Vantronorlocalbranchesforhelp. ICstatement ThisdevicecomplieswithICclassARules. Disclaimer:
Operationissubjecttothefollowingtwoconditions:
(1)Thisdevicemaynotcauseinterference,and
(2) This device must accept any interference, including interference thatmaycauseundesiredoperationofthedevice. Le prsent appareil est conforme aux CNR d'Industrie Canada applicables aux appareils radio exempts de licence. L'exploitation est autorise aux deux conditions suivantes : (1) l'appareil ne doit pas produiredebrouillage,et(2)l'utilisateurdel'appareildoitacceptertout brouillage radiolectrique subi, mme si le brouillage est susceptible d'encompromettrelefonctionnement. RFexposurewarning This equipment must be installed and operated in accordance with provideinstructionsandtheantennausedforthistransmittermustbe installed to provide a separation distance of at least 20 cm from all persons and must not be colocated or operation in conjunction with any other antenna or transmitter. Endusers and installers must be providewithantennainstallationinstructionsandtransmitteroperating conditionsforsatisfyingRFexposurecompliance. VT-M2M-TC PartIISoftwareReference 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. Vantrons 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. We support three kinds of Linux system, and they have same sample programs, but each system has different, so when they have different we will specially note. This manual is protected by copyright. All rights are reserved by VT-M2M-TC CAN data send program CAN data receive program GPIO test program Power control for modules in the set Serial testing and send AT Command program Get the gps information Zigbee testing program(zigbee module) Vantron. 1.2 Sample Programs Vantron supports many sample programs for TV-M2M-TC. You can test device modules through these sample programs, and can be the reference that you develop. client loopback gpioctl power serialdemo gps zigbee Digixbee testing programs notices:
The directory that sample programs isnt fixed. The directory path of place is different under the different operating system, and concretely please according to 2 Starting The System. 1.3 Functionalities layout The below table lists VT-M2M-TC features. Chips or Interfaces Details VT-M2M-TC UART USB Host portx2 1xEthernet Audio MIC IN Audio Out Green Terminal VT-M2M-TC has 4 UART ports:
/dev/ttyS0 :DB9 COM Port (only Wind River is DEBUG SERIAL)
/dev/ttyS1 :Green Terminal Pin 1,2
/dev/ttyS2 :GPS
/dev/ttyS3 : ZIGBEE
# ifconfig eth0 192.168.16.143 ALSA audio device
#arecordt wav test.wav ALSA audio device
#aplay test.wav 1 :TXD2 2 :RXD2 3 :GND 4 :CANH 5 :CANL 6 :GND 7 :EXTIO0 8 :EXTIO1 9 :EXTIO2 10 :EXTIO3 11 :EXTIO4 VT-M2M-TC EXTIO5 The TV-M2M-TC supports 1.4 Linux OS Support systems. Timesys* Fedora Remix 14 Ubuntu 12.04 the following Linux operating Starting The System The all Linux systems have the same sample programs. There different will be explained in each module. The systems version file:
Linux System Timesys*
Remix 14 Ubuntu Fedora Version file
/home/vantron/version
/home/vantron/version The systems user and password:
Linux System Timesys*
Remix 14 Ubuntu Fedora User name vantron root vantron The sample programs path:
Passwd vantron vantron vantron VT-M2M-TC Linux System Timesys*
Fedora Remix 14 Ubuntu Path name
/home/vantron/demo Digi
/home/vantron/xbee_driver/samples/posix/
/home/vantron/demo Digixbee:
/home/vantron/xbee_driver/samples/posix/
bee:
Parts of programs need root level, if you are not that please changing, example:
$sudosu
[sudo] password for vantron:
#
2 BaseControl Theallprogramsinthesampleprogramspath. 2.1 PowerControl power[usb_wifi|can|gps|zigbee|3g] [on|off]
wifi: PowercontrolofusbWiFiModule can: PowercontrolofCANModule gps: PowercontrolofGPSModule zigbee: PowercontrolofZigBeeModule VT-M2M-TC 3g: Powercontrolof3GModule ex1:TurnonPowerofZigBeeModule
#./powerzigbeeon ex2:TurnoffPowerofZigBeeModule
#./powerzigbeeoff 2.2 CanControl a. Closedevice
#ifconfigcan0down b. Configure CAN, set CANs baud rate to 1Mbps, or 100000(100kbps)
#iplinksetcan0typecanbitrate100000
#ifconfigcan0up c. ReceiveCANdata,itwillreceiveCANdatawhichfromother
#./loopback d. SendCANdata,itwillsendCANpackagewithIDof0x02
#./client side VT-M2M-TC 2.3 GpioControl gpioctl<dirin|dirout|get|set|clear><gpionum>
dirin: SetspecifiedGPIOasinputtype dirout: SetspecifiedGPIOasoutput get ReadGPIOinputlevel.NeedsettheGPIOasinputfirst. set: SetGPIOashighlevel.NeesettheGPIOasoutputfirst. clear: Clear GPIO to low level, need set the GPIO as output first. gpionum: The GPIO be operated. 0 to 5 is EXTIO, 6 is zigbee burning signal, 9 is 3G internal power, 10 is intrnalpcie power, 11 is DIGIXbeeburningsignal ex1: SetEXTIO1 tohigh
#./gpioctldirout1
#./gpioctlset1 ex2: ReadlevelofEXTIO1
#./gpioctldirin1
#./gpioctlget1 2.4 SerialCOMControl a. DB9COMPort(WindRiverisDEBUGserial):
VT-M2M-TC ShortPin2,3ofDB9.
#./serialdemod/dev/ttyS0b9600rwhello Candisplaysomehellooutputs b. COMportongreenterminal ShortPin1,2ofgreenterminal
#./serialdemod/dev/ttyS1b9600rwhello Candisplaysomehellooutputs 2.5AudioControl a. Audioarecord
#arecordtwavtest.wav b. Audioaplay
#aplaytest.wav 2.6SDcardControl a. InsertSDcard,thenlookoverdevice:
#fdiskl b. mountSDcarddevice:
#mount/dev/mmcblk0/mnt VT-M2M-TC 2.7 ADXL345Control a. Thetestprogrampath:/home/vantron/ADXL345_test/
InitADXL345:
#./adxinit b. Getthex,y,zdrictionoutput:
#./adxtest X: 233 Y: 2 Z: 3ed VT-M2M-TC 3 WIFIModule 3.1 BaseConfig The Timesys and ubuntu system can through GUI connecting WIFI network. TheWindRiverhasnotGUI,somustthroughcommand:
OpenWIFInetwork:
>ifupwlan0 CloseWIFInetwork:
>ifdownwlan0 TheWIFIconfigfile:
>cat/etc/sysconfig/networkscripts/ifcfgwlan0 MODE=Managed DEVICE=wlan0 BOOTPROTO=dhcp ONBOOT=yes NM_CONTROLLED=no TYPE=Wireless ESSID=kkk #Changeitintoyouressid,thisisPublicnetwork VT-M2M-TC 3.2 OpenConfig a. Stop service networkmanager, Ubuntu service name is networkmanager, Fedora service name is NetworkManager, Wind Rivercanskip.
#servicenetworkmanagerstop b. Openwlan0 Lookovertheconfig
#ifconfigwlan0up Setessidandkey
#iwconfigwlan0essidKKK d.
#iwconfigwlan0 e. GetipthroughDHCP
#dhclientwlan0 f. CancelDHCP
#dhclientrwlan0 g.
#servicenetworknamagerstart Startnetworkmanager c. 3.3 WPAPSK/WPA2_PSKConfig a. Stop service networkmanager, Ubuntu service name is VT-M2M-TC networkmanager, Fedora service name is NetworkManager, Wind Rivercanskip.
#servicenetworkmanagerstop b. Openwlan0
#ifconfigwlan0up c. Setessidandpasswd Lookovertheconfig
#wpa_passphraseESSIDPWD>wpa_supplicant.conf d. Connectthenetwork
#wpa_supplicantBiwlan0Dwextc./wpa_supplicant.conf e.
#iwconfigwlan0 f. GetipthroughDHCP
#dhclientwlan0 g. CancelDHCP
#dhclientrwlan0 h.
#servicenetworknamagerstart Startnetworkmanager VT-M2M-TC 4 3GModule 4.1 BaseConfig The Timesys and ubuntu system can through GUI connecting 3G network. isppp1,TelitDE910isppp2.SierraAirPrimeSL8082isppp3. TheWindRiverdoesnthaveGUI,somustthroughcommand. Lookingoverthedevice, HUAWEIem770wisppp0,TelitHE910 Open3Gnetwork:
>ifupppp0 Close3Gnetwork:
>ifdownppp0 The3Gconfigfile:
>cat/etc/sysconfig/networkscripts/ifcfgppp0 DEVICE=ppp0 NAME=test MODEMPORT=/dev/ttyUSB0 LINESPEED=115200 PAPNAME=test USERCTL=true ONBOOT=no VT-M2M-TC PERSIST=no DEFROUTE=yes PEERDNS=yes DEMAND=no IDLETIMEOUT=600 The other
/etc/sysconfig/networkscripts/ifcfgppp*. devices configuration file, see 4.2 ScriptConfig 4.2.1WCDMAScript The pppd scripts default in /etc/ppp/peers/. Create the a. wcdmascript.
>vimwcdma b. Add the following content in wcmda file, if you want to knowmore,pleasemanpppd:
#/etc/ppp/peers/wcdma
#Thisispppdscript,usedHuaweiEM770W(Union)
/dev/ttyUSB0 #TelitHE910is/dev/ttyACM0 115200 crtscts modem debug VT-M2M-TC f s v
'/usr/sbin/chat
#nodetach usepeerdns defaultroute user"3gnet"
0.0.0.0:0.0.0.0 connect
/etc/ppp/peers/wcdmaconnectchat'
Createthechatscript
>vimwcdmaconnectchat d. Addthefollowingcontentinwcdmaconnectchatfile:
#/etc/ppp/peers/wcdmaconnectchat TIMEOUT5 ABORT"DELAYED"
ABORT"BUSY"
ABORT"ERROR"
ABORT"NODIALTONE"
ABORT"NOCARRIER"
#"AT
#'OK+++\cOK'ATH0 TIMEOUT5
'' AT OK AT+CGDCONT=1,"IP","3gnet",,0,0 OK ATDT*99#
CONNECT ''
Startpppdprogram
>pppdcallwcdma c. e. VT-M2M-TC 5ZigBeeModule 5.1DigiXbeeModule DigixbeemodulesampleprogramsareDigisupply,pleaselooking intoreadme.txt.Therehasdetaildescription.Hereisbasicoperation. Openzigbeepower(defaultopen).
#./powerzigbeeon Config and communication, more AT command. Please looking intoDigixbeeS2Cusersmanual:
Theonedevicewillsetcoordinator(defaultisroute):
#./at 9600 /dev/ttyS3
+++OK atce1 atnd
.. (the route information , if return error add into network fail) atdh0 OK atdlffff OK VT-M2M-TC atcn OK Helloworld!
Thisdeviceisroute:
#./at 9600 /dev/ttyS3
+++OK atnd
.. (the route information , if return error add into network fail) atdh0 OK atdlffff OK atcn OK Helloworld!
TheATcommand intoATmodel seenetworkaddress
+++
atmy atce1 0route,1coordinator atdh0 atdlffff atnd atcnexitATmodel Helloworld!isinputworldtheotherXbeewillget. setdestinationhighaddress0x00000000 setdestinationlowaddress0x0000ffff seeroutetables VT-M2M-TC cmoduleupdate:
#./install_ebl XB24S2C_401E.ebl /dev/ttyS3 firmwareupdatecompletedsuccessfully VT-M2M-TC 6 GPSModule 6.1 GetGPSData Open/dev/ttyS2,readGPSdata
#./gps38400/dev/ttyS2 6.2 GPSDataFormat 6.2.1 GPGGA GlobalPositioningSystemFixData Name SentenceIdentifier Example Data
$GPGGA Description GlobalPositioningSystem FixData 17:08:34Z 170834 4124.8963,N 41d24.8963'Nor41d24'
Time Latitude VT-M2M-TC Longitude FixQuality:
0=Invalid 1=GPSfix 2=DGPSfix NumberofSatellites HorizontalDilutionof Precision(HDOP) Altitude Heightofgeoidabove WGS84ellipsoid TimesincelastDGPS update DGPSreference stationid Checksum 08151.6838, W 1 54"N 81d51.6838'Wor81d51'
41"W DataisfromaGPSfix 05 1.5 280.2,M 34.0,M blank blank
*75 5Satellitesareinview Relativeaccuracyof horizontalposition 280.2metersabovemean sealevel 34.0meters Nolastupdate Nostationid Usedbyprogramtocheck fortransmissionerrors 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=UTCofposition llll.ll=latitudeofposition a=NorS VT-M2M-TC yyyyy.yy=Longitudeofposition a=EorW x=GPSQualityindicator(0=nofix,1=GPSfix,2=Dif.GPSfix) xx=numberofsatellitesinuse x.x=horizontaldilutionofprecision x.x=Antennaaltitudeabovemeansealevel M=unitsofantennaaltitude,meters x.x=Geoidalseparation M=unitsofgeoidalseparation,meters x.x=AgeofDifferentialGPSdata(seconds) xxxx=DifferentialreferencestationID 6.2.2 GPGSA GPSDOPandactivesatellites 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>
1 =Mode:
M=Manual,forcedtooperatein2Dor3D A=Automatic,3D/2D 2 =Mode:
VT-M2M-TC 1=Fixnotavailable 2=2D 3=3D 314=IDsofSVsusedinpositionfix(nullforunusedfields) 15 =PDOP 16 =HDOP 17 =VDOP 18 =cheaksum 6.2.3 GPGSV GPSSatellitesinview 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 1 =Totalnumberofmessagesofthistypeinthiscycle 2 =Messagenumber 3 =TotalnumberofSVsinview VT-M2M-TC 4 =SVPRNnumber 5 =Elevationindegrees,90maximum 6 =Azimuth,degreesfromtruenorth,000to359 7 =SNR,0099dB(nullwhennottracking) 811=InformationaboutsecondSV,sameasfield47 1215=InformationaboutthirdSV,sameasfield47 1619=InformationaboutfourthSV,sameasfield47 6.2.4 GPRMC RecommendedminimumspecificGPS/Transitdata 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 Timeoffix22:54:46UTC A NavigationreceiverwarningA=OK,V=
warning 4916.45,N Latitude49deg.16.45minNorth 12311.12,W Longitude123deg.11.12minWest 000.5 Speedoverground,Knots VT-M2M-TC 054.7 CourseMadeGood,True 191194 Dateoffix 19November1994 020.3,E Magneticvariation20.3degEast
*68 mandatorychecksum ex3:
$GPRMC,220516,A,5133.82,N,00042.24,W,173.8,231.8,130694,004.2, W*70 1 2 3 4 5 6 7 8 9 10 1112 1 220516 TimeStamp 2 A validityAok,Vinvalid 3 5133.82 currentLatitude 4 N North/South 5 00042.24 currentLongitude 6 W East/West 7 173.8 Speedinknots 8 231.8 Truecourse 9 130694 DateStamp 10 004.2 Variation 11 W East/West 12 *70 checksum ex4:$GPRMC,hhmmss.ss,A,llll.ll,a,yyyyy.yy,a,x.x,x.x,ddmmyy,x.x,a*hh 1 =UTCofpositionfix VT-M2M-TC 2 =Datastatus(V=navigationreceiverwarning) 3 =Latitudeoffix 4 =NorS 5 =Longitudeoffix 6 =EorW 7 =Speedovergroundinknots 8 =TrackmadegoodindegreesTrue 9 =UTdate 10 =Magneticvariationdegrees(Easterlyvar.subtractsfromtrue course) 11 =EorW 12 =Checksum 6.2.5 GPVTG TrackMadeGoodandGroundSpeed. 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 Truetrackmadegood 034.4,M Magnetictrackmadegood 005.5,N Groundspeed,knots 010.2,K Groundspeed,Kilometersperhour VT-M2M-TC ex3:$GPVTG,t,T,,,s.ss,N,s.ss,K*hh 1 =Trackmadegood 2 =Fixedtext'T'indicatesthattrackmadegoodisrelativetotrue north 3 =notused 4 =notused 5 =Speedovergroundinknots 6 =Fixedtext'N'indicatesthatspeedovergroundininknots 7 =Speedovergroundinkilometers/hour 8 =Fixedtext'K'indicatesthatspeedovergroundisin kilometers/hour 9 =Checksum Theactualtrackmadegoodandspeedrelativetotheground.
$GPVTG,x.x,T,x.x,M,x.x,N,x.x,K x.x,T=Track,degreesTrue x.x,M=Track,degreesMagnetic x.x,N=Speed,knots x.x,K=Speed,Km/hr VT-M2M-TC 7UpdateSystem 7.1 Make USB boot Stick and Copy Image toUSBstick CreatePCcondition:
CreateabootableUSBstickonWindowsXP/Win7,thefirstthingyou needtodoisinsertaUSBstickwithatleast2GBoffreespaceinto yourPC. HereuseanUSBinstallertooltowritetheimageISOtoUSBstick. PleasecopythefileSW/tools/UniversalUSBInstaller1.9.3.5.exeto yourPCanywhere. USBstickmakingstepsindetailasfollows:
CopySW/image/xxx.isoimageintoyourPC. SelecttheTryUnlistedLinuxISOfrom the dropdown list. VT-M2M-TC Click 'Browse' and select the image ISO file. VT-M2M-TC Choose the USB drive and click 'Create'. VT-M2M-TC 7.2 Updatesteps When the bootable USBstick create over, insert the USB stick into VTM2MTC.AndconnectaUSBkeyboardontheM2MTC. VT-M2M-TC PowerONtheVTM2MTC,andstepintoBIOSbypresstheDelete keyonthekeyboard. IntheBIOS,setthefirstbootoptionforbootupbyUSBstick.Theuser the guidance of HW/700N166Bxxxxxx_VTM2MTC_VM_xxx.zip. package BIOS the of in is Selectthefirstoptionclonezillalivewithimg700Pxxxxxx. VT-M2M-TC WhenaskAreyousurewanttocontinue??orLetmeaskyouagain, Areyousureyouwanttocontinue??,pleaseinputyall. VT-M2M-TC Thesystemisupdating. VT-M2M-TC Whenupdateover,thesystemwillpoweroff. Repower VTM2MTC, and step into the BIOS, and restore the first bootoptiontoharddisk. VT-M2M-TC 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