background image

C-1 

Appendix C.  EmailSend Using the 
Gmail Outgoing SMTP Server 

The   datalogger   has   a   mail   client   in   it   similar   to   a   mail   client   on   a   computer.      

For   the   datalogger   to   send   an   email,   it   needs   an   SMTP   server   to   send   
through   like   any   other   mail   client.      The   Telus   Wireless   SMTP   server   can   be   
used   for   sending   outgoing   email   from   the   datalogger.      Contact   your   service   
provider   for   more   information.   

In    order    for    the    datalogger    to    send    email,    a    PPP    connection   
between   the   datalogger   and   modem   is   required.      Please   refer   
to   Appendix   B   for   details   on   this   configuration.   

C.1  Setting up a Gmail Account 

First   you   need   to   create   a   Gmail   account   if   you   do   not   already   have   one.      To   
create   an   account,   go   to   

www.gmail.com

.   Gmail   accounts   are   free   of   

charge.   

The   credentials   to   access   the   mail   server   will   be   the   user   name   and   
password   used   when   creating   the   Gmail   account.      

In   the   following   example   program   you   will   see:   

 

ServerAddr   set   to   smtp.gmail.com      

 

UserName   set   to   (the   gmail   account   user   name)   

 

Password   (the   one   you   established   at   Gmail)   

C.2  Sending to Multiple Addresses 

Sending   to   multiple   email   address   can   be   done   by   using   a   comma   to   
separate   the   email   addresses   (

dataloggers@campbellsci.ca

   ,   

customer@emailaddress.com

).   

C.3  Sending a Text Message to a Phone 

The   datalogger   can   only   send   email   messages.      To   send   a   text   message   to   a   
phone   the   email   needs   to   be   converted   to   a   text   message   via   an   email   to   
text   message   gateway.      Most   cellular   providers   have   an   email   to   text   
message   service   for   their   phone   subscribers.         

Telus's   max   text   message   size   is   132   characters,   any   email   messages   
greater   than   132   characters   will   be   sent   as   a   second   message.      Contact   
your   service   provider   for   information   about   their   email   to   text   message   

gateway   server   address.   

NOTE 

Summary of Contents for Raven XT-Telus

Page 1: ...INSTRUCTION MANUAL Raven XT Telus Sierra Wireless Cellular Modem Dec 2011 Copyright 2011 Campbell Scientific Canada Corp...

Page 2: ...glect accidents of nature or shipping damage This warranty is in lieu of all other warranties expressed or implied including warranties of merchantability or fitness for a particular purpose CSC is no...

Page 3: ...elus 4 4 2 Datalogger Site Equipment 4 4 3 Power Considerations 9 5 Program the Raven XT Telus Modem 10 5 1 Indicator Lights 10 5 2 Using AceManager to Configure the Modem 11 5 3 Configuring the Raven...

Page 4: ...late domain name to a dynamic IP address so that the Raven can be contacted by name as if it had a static IP A Static IP address is permanently assigned to a particular account and will always be used...

Page 5: ...849 MHz Transmit Power 1 0 W for 1900 MHz 0 8 W for 850 MHz Receiver Frequency 1930 to 1990 MHz and 869 to 894 MHz CDMA Throughput up to 80 kbps RS 232 Data Rates 300 bps to 115 2 kbps Serial Interfac...

Page 6: ...port The SC105 must be configured for use with the modem using the Device Configuration Utility Settings should be CS I O Mode SDC Address 7 RS 232 Mode Modem Baud Rate 115 2K or 9600 baud depending o...

Page 7: ...lar Modem Wiring Red 12V or switched 12V Black G White Not Used PN L18663 PN L18663 Null Modem Cable connects the modem to the CR23X CR3000 CR800 CR2XX CR1000 or CR5000 RS 232 port not compatible with...

Page 8: ...rial cable provided with the SC105 SC105 Settings CS I O Mode SDC Address 7 RS 232 Mode Modem Baud Rate 115 2K or 9600 baud depending on datalogger model 8 data bits 1 stop bit no parity SC105 interfa...

Page 9: ...ng Red 12V or switched 12V Black G White Not Used L10873 serial cable provided with the SC932A SC932A interface connects the modem to the CS I O port recommended for dataloggers with the Mixed Array O...

Page 10: ...ngly recommended where cellular coverage is strong The L18285 includes a mount u bolt assembly for attaching the antenna to a mast post or crossarm up to 1 5 3 8 cm in diameter o The C2445 9dBd Yagi A...

Page 11: ...rations Environmental Enclosure ENC 10 12 ENC 12 14 or ENC 16 18 4 3 Power Considerations A power cable included with the modem connects to the datalogger s 12 V or switched 12 V terminal Connection t...

Page 12: ...ort The CD that ships with the modem includes the utilities and manuals Campbell Scientific s Raven XT Template 115200 file is for dataloggers that support 115200 baud e g CR1000 the Raven XT Template...

Page 13: ...ty LEDs blink every 3 seconds 5 2 Using AceManager to Configure the Modem After the Raven XT has been provisioned certain settings have to be changed for the modem to be compatible with CSI datalogger...

Page 14: ...con in the Configuration Panel to open the connection options dialogue box Select PPP and the COM port the modem is connected to Do not change the Password the default password is 12345 Click OK to co...

Page 15: ...show the settings for the Miscellaneous and Serial settings after the template file has been loaded Change AT Verbose Mode to Numeric for use with CR10 X CR510 and CR23X dataloggers Click the Write ic...

Page 16: ...P address to a fully qualified domain name so you can contact your Raven XT by name as if it had a static IP If the Raven XT is configured for Dynamic IP when the Raven XT first connects to the Intern...

Page 17: ...number Can include a hyphen Cannot contain spaces Must be no longer than 20 characters total Click the Write icon to save the changes Click the Reset icon to restart the modem Click the Disconnect ic...

Page 18: ...g 070 218 074 247 is entered as 70 218 74 247 For a Dynamic IP using Sierra Wireless s IP Manager enter the internet IP address as xxxx yyyy 6785 where xxxx is the modem name yyyy is the Domain name...

Page 19: ...Raven XT Telus CDMA Sierra Wireless Cellular Modem Enter PakBus address that has been set in the datalogger default is 1 change the address using DevConfig 17...

Page 20: ...XT Telus this should be a CDMA 1xRTT EVDO account f If you have a Static IP account verify the Static IP Address Preceding zeros in the IP address are not entered in LoggerNet PC400W g If you have a D...

Page 21: ...her dataloggers e g CR1000 If the modem answers but you do not get a connection to the datalogger 1 Check your connection to the datalogger a a An SC932A or SC105 interface is required to connect the...

Page 22: ...232 Mode Modem Baud Rate 115 2K or 9600 baud depending on datalogger model 8 data bits 1 stop bit no parity b Make sure the modem is connected to the DCE Device connector on the SC932A or the Modem c...

Page 23: ...and click OK Go to the Status group and note the Host Serial Bytes Sent and Host Serial Bytes Received values Figure 7 2 Try connecting with the datalogger using LoggerNet PC400W If a connection canno...

Page 24: ...Raven XT Telus CDMA Sierra Wireless Cellular Modem FIGURE 7 2 AceManager status page showing communications with modem 22...

Page 25: ...www campbellsci ca download The procedure for sending the template files is described in Section 5 2 When the template files are not available AceManager can be used to change the settings described b...

Page 26: ...For a CR10X 9600 8N1 and for a CR1000 115200 8N1 Q Serial Port Flow Control This should be set to None V AT Verbose Mode Set this to Verbose for CR800 CR1000 CR3000 Numeric for CR10 X CR510 CR23X D D...

Page 27: ...ceManager Setup without Template File S0 TCP Auto Answer Set to ON TCPT TCP Idle Timeout Set to a reasonable value like 2 min See Section 5 3 for information on configuring the modem for use with a Dy...

Page 28: ...Appendix A AceManager Setup without Template File A 4 This is a blank page...

Page 29: ...r PPP enables the datalogger to send receive messages via email HTTP FTP to and from the datalogger and allows concurrent communications between networked dataloggers and LoggerNet The default datalog...

Page 30: ...TCP IP tab Config Port Used RS232 IP Address 0 0 0 0 Modem Dial String PPP Modem Dial Response CONNECT User Name and Password are blank Using the Device Configuation Utility select the Net Services ta...

Page 31: ...B 3 Using the Device Configuration Utility fix the RS232 Baud Rate to 115200 Fixed from the Port Settings tab Loggernet Settings Enter the IP address of the Raven XT and the PakBus TCP Service Port nu...

Page 32: ...Appendix B Configuring the Raven XT Modem for PPP B 4...

Page 33: ...ail server will be the user name and password used when creating the Gmail account In the following example program you will see ServerAddr set to smtp gmail com UserName set to the gmail account user...

Page 34: ...F CHR 13 CHR 10 Public Result as String 100 Public AlarmTrigger As Boolean Public Message As String 250 Public EmailSuccess As Boolean DataTable TenSecData True 1 DataInterval 0 10 Sec 10 Sample 1 Bat...

Reviews: