Appendix A. Configure cellular settings and retrieve status information with
SetSetting()197
Appendix B. Cellular module regulatory information201
B.1 Important information for Australian users201
B.2 RF exposure201
B.3 EU202
B.4 Declaration of conformity202
Appendix C. Glossary203
Table of Contents - xii
1. CR300 series data acquisition
system components
A basic data acquisition system consists of sensors, measurement hardware, and a computer with
programmable software. The objective of a data acquisition system should be high accuracy,
high precision, and resolution as high as appropriate for a given application.
The components of a basic data acquisition system are shown in the following figure.
Following is a list of typical data acquisition system components:
l Sensors - Electronic sensors convert the state of a phenomenon to an electrical signal (see
Sensors (p. 3) for more information).
l Data logger - The data logger measures electrical signals or reads serial characters. It
converts the measurement or reading to engineering units, performs calculations, and
reduces data to statistical values. Data is stored in memory to await transfer to a computer
by way of an external storage device or a communications link.
l Data Retrieval and Communications - Data is copied (not moved) from the data logger,
usually to a computer, by one or more methods using data logger support software. Most
communications options are bi-directional, which allows programs and settings to be sent
1. CR300 series data acquisition system components1
to the data logger. For more information, see Sending a program to the data logger (p.
54).
l Datalogger Support Software - Software retrieves data, sends programs, and sets settings.
The software manages the communications link and has options for data display.
l Programmable Logic Control - Some data acquisition systems require the control of
external devices to facilitate a measurement or to control a device based on measurements.
This data logger is adept at programmable logic control. See Programmable logic control
(p. 13) for more information.
1.1 The CR300 Series Datalogger
CR300 series dataloggers are multi-purpose, compact, measurement and control dataloggers.
These small, low-cost, high-value dataloggers offer fast communications, low power
requirements, built-in USB, and excellent analog input accuracy and resolution. They can
measure most hydrological, meteorological, environmental, and industrial sensors. They
concentrate data, make it available over varied networks, and deliver it using your preferred
protocol. They also perform automated on-site or remote decision making for control and M2M
communications. CR300 series dataloggers are ideal for small applications requiring long-term
remote monitoring and control.
1.1.1 CR300 Series Product Line
The CR300 series product line consists of the CR300 and the CR310. The primary differences
between the CR300 and CR310 are that the CR310 offers removable terminals and a 10/100
Ethernet connection.
The CR300 series can include Wi-Fi, cellular, or the following radio options for different regions:
l RF407: US and Canada
l RF412: Australia and New Zealand
l RF422: Europe
NOTE:
Throughout this document CR300 series refers to all of the models unless specified otherwise.
1. CR300 series data acquisition system components2
1.1.2 Overview
The CR300 series data logger is the main part of a data acquisition system (see CR300 series data
acquisition system components (p. 1) for more information). It has a central-processing unit
(CPU), analog and digital measurement inputs, analog and digital outputs, and memory. An
operating system (firmware) coordinates the functions of these parts in conjunction with the
onboard clock and the CRBasic application program.
The CR300 series can simultaneously provide measurement and communications functions. Low
power consumption allows the data logger to operate for extended time on a battery recharged
with a solar panel, eliminating the need for ac power. The CR300 series temporarily suspends
operations when primary power drops below 9.6 V, reducing the possibility of inaccurate
measurements.
1.1.3 Operations
The CR300 series measures almost any sensor with an electrical response, drives direct
communications and telecommunications, reduces data to statistical values, performs
calculations, and controls external devices. After measurements are made, data is stored in
onboard, nonvolatile memory. Because most applications do not require that every measurement
be recorded, the program usually combines several measurements into computational or
statistical summaries, such as averages and standard deviations.
1.1.4 Programs
A program directs the data logger on how and when sensors are measured, calculations are
made, data is stored, and devices are controlled. The application program for the CR300 series is
written in CRBasic, a programming language that includes measurement, data processing, and
analysis routines, as well as the standard BASIC instruction set. For simple applications, Short Cut,
a user-friendly program generator, can be used to generate the program. For more demanding
programs, use the full featured CRBasic Editor.
If you are programming with CRBasic, you can use the extensive help available within the
CRBasic Editor (also see https://help.campbellsci.com/CRBasic/CR300/ for searchable, CRBasic
online help).
1.2 Sensors
Sensors transduce phenomena into measurable electrical forms by modulating voltage, current,
resistance, status, or pulse output signals. Suitable sensors do this with accuracy and precision.
Smart sensors have internal measurement and processing components and simply output a
digital value in binary, hexadecimal, or ASCII character form.
1. CR300 series data acquisition system components3
Most electronic sensors, regardless of manufacturer, will interface with the data logger. Some
sensors require external signal conditioning. The performance of some sensors is enhanced with
specialized input modules. The data logger, sometimes with the assistance of various peripheral
devices, can measure or read nearly all electronic sensor output types.
The following list may not be comprehensive. A library of sensor manuals and application notes
is available at www.campbellsci.com/support to assist in measuring many sensor types.
l Analog
o
Voltage
o
Current
o
Strain
o
Thermocouple
o
Resistive bridge
l Pulse
o
High frequency
o
Switch-closure
o
Low-level ac
o
Quadrature
l Period average
l Vibrating wire (through interface modules)
l Smart sensors
o
SDI-12
o
RS-232
o
Modbus
o
DNP3
o
TCP/IP (CR310 only)
1. CR300 series data acquisition system components4
2. Wiring panel and terminal
functions
The CR300 series wiring panel provides ports and removable terminals for connecting sensors,
power, and communications devices. It is protected against surge, over-voltage, over-current,
and reverse power. The wiring panel is the interface to most data logger functions so studying it
is a good way to get acquainted with the data logger. Functions of the terminals are broken
down into the following categories:
l Analog input
l Pulse counting
l Analog output
l Communications
l Digital I/O
l Power input
l Power output
l Power ground
l Signal ground
2. Wiring panel and terminal functions5
Table 2-1: Analog input terminal functions
12
34
56
SE
┌1┐
┌2┐
┌3┐
DIFF
HL
HL
HL
Single-Ended Voltage✓✓✓✓✓✓
Differential VoltageHLHLHL
Ratiometric/Bridge✓✓✓✓✓✓
Thermocouple✓✓✓✓✓✓
Current Loop✓✓
Table 2-2: Pulse counting terminal functions
Pulse CountingC1C2P_SWP_LLSE1SE2SE3SE4SE5SE6
Switch-Closure✓✓✓
High Frequency✓✓✓✓✓✓✓✓
Low-level AC✓
Quadrature✓✓✓✓
Period Average✓✓✓✓
Table 2-3: Analog output terminal functions
VX1VX2
Switched Voltage
✓✓
Excitation
Table 2-4: Voltage output terminal functions
C1C2SE1-4VX1VX2P_SWSW12V
3.3 VDC✓✓✓✓
5 VDC✓✓✓✓
BAT +✓
2. Wiring panel and terminal functions6
Table 2-5: Communications terminal functions
C1C2SE1-3RS-232
SDI-12✓✓
RS-232✓
RS-232 0-5V✓✓
GPS Time Sync✓✓✓
GPS NMEA SentencesRxRxRx
Communications functions also include Ethernet (CR310 only) and USB
Table 2-6: Digital I/O terminal functions
C1C2P_SWSE1SE2SE3SE4SE5SE6
General I/O✓✓✓✓✓✓✓
Pulse-Width Modulation
✓✓✓✓
Output
Interrupt✓✓✓✓✓
2.1 Power input
The data logger requires a power supply. It can receive power from a variety of sources, operate
for several months on non-rechargeable batteries, and supply power to many sensors and
devices. The data logger operates with external power connected to the green BAT and/or CHG
terminals on the face of the wiring panel. The positive power wire connects to +. The negative
wire connects to -. The power terminals are internally protected against polarity reversal and high
voltage transients.
In the field, the data logger can be powered in any of the following ways:
l 10 to 18 VDC applied to the BAT + and – terminals
l 16 to 32 VDC applied to the CHG + and – terminals
To establish an uninterruptible power supply (UPS), connect the primary power source (often a
transformer, power converter, or solar panel) to the CHG terminals and connect a nominal 12
VDC sealed rechargeable lead-acid battery to the BAT terminals. See Power budgeting (p. 113) for
more information.
2. Wiring panel and terminal functions7
WARNING:
Sustained input voltages in excess of 32 VDC on CHGor BAT terminals can damage the
transient voltage suppression.
Ensure that power supply components match the specifications of the device to which they are
connected. When connecting power, switch off the power supply, insert the connector, then turn
the power supply on. See Troubleshooting power supplies (p. 127) for more information.
Following is a list of CR300 series power input terminals and the respective power types
supported.
l BAT terminals: Voltage input is 10 to 18 VDC. This connection uses the least current since
the internal data logger charging circuit is bypassed. If the voltage on the BAT terminals
exceeds 19 VDC, power is shut off to certain parts of the data logger to prevent damaging
connected sensors or peripherals.
l CHG terminals: Voltage input range is 16 to 32 VDC. Connect a primary power source, such
as a solar panel or VAC-to-VDC transformer, to CHG. The voltage applied to CHG terminals
must be at least 0.3 V higher than that needed to charge a connected battery. When within
the 16 to 32 VDC range, it will be regulated to the optimal charge voltage for a lead acid
battery at the current data logger temperature, with a maximum voltage of approximately
15 VDC. A battery need not be connected to the BAT terminals to supply power to the data
logger through the CHG terminals. The onboard charging regulator is designed for
efficiently charging lead-acid batteries. It will not charge lithium or alkaline batteries.
l USB port: 5 VDC via USB connection. If power is also provided with BAT or CHG, power will
be supplied by whichever has the highest voltage. If USB is the only power source, then the
SW12 terminal will not be operational. When powered by USB (no other power supplies
connected) Status field Battery = 0. Functions that will be active with a 5 VDC source
include sending programs, adjusting data logger settings, and making some
measurements. The maximum excitation on VX1 and VX2 is reduced to 2500 mV.
NOTE:
The Status field Battery value and the destination variable from the Battery() instruction
(often called batt_volt or BattV) in the Public table reference the external battery
voltage. For information about the internal battery, see Internal battery (p. 109).
2. Wiring panel and terminal functions8
2.1.1 Power LED indicator
When the data logger is powered, the Power LED will turn on according to power and program
states:
l Off: No power, no program running.
l 1 flash every 10 seconds: Powered from BAT, program running.
l 2 flashes every 10 seconds: Powered from CHG, program running.
l 3 flashes every 10 seconds: Powered via USB, program running.
l Always on: Powered, no program running.
2.2 Power output
The data logger can be used as a power source for communications devices, sensors and
peripherals. Take precautions to prevent damage to these external devices due to over- or undervoltage conditions, and to minimize errors. Additionally, exceeding current limits causes voltage
output to become unstable. Voltage should stabilize once current is again reduced to within
stated limits. The following are available:
lContinuous 12 V: BAT + and – provide a connection to the unregulated, nominal 12 VDC
battery. It may rise above or drop below the power requirement of the sensor or peripheral.
l SW12: program-controlled, switched 12 VDC terminal. It is often used to power devices
such as sensors that require 12 VDC during measurement. Voltage on a SW12 terminal will
change with data logger supply voltage. CRBasic instruction SW12() controls the SW12
terminal. See the CRBasic Editor help for detailed instruction information and program
examples: https://help.campbellsci.com/crbasic/cr300/.
l VX terminals: supply precise output voltage used by analog sensors to generate high
resolution and accurate signals. In this case, these terminals are regularly used with
resistive-bridge measurements (see Resistance measurements (p. 72) for more information).
Using the SWVX() instruction, VX terminals can also supply a selectable, switched,
regulated 3.3 or 5 VDC power source to power digital sensors and toggle control lines.
l C, SE 1-4, and P_SW terminals: can be set low or high as output terminals (SE 1-4 and P_SW
to 3.3 V, and C to 5 V). With limited drive capacity, digital output terminals are normally
used to operate external relay-driver circuits. Drive current and high-state voltage levels
vary between terminals. See also Digital input/output specifications (p. 192).
See also Power requirements (p. 184).
2. Wiring panel and terminal functions9
2.3 Grounds
Proper grounding lends stability and protection to a data acquisition system. Grounding the data
logger with its peripheral devices and sensors is critical in all applications. Proper grounding will
ensure maximum ESD protection and measurement accuracy. It is the easiest and least expensive
insurance against data loss, and often the most neglected. The following terminals are provided
for connection of sensor and data logger grounds:
l Signal Ground () - reference for single-ended analog inputs, excitation returns, and a
ground for sensor shield wires.
o
5 common terminals
l Power Ground (G) - return for 3.3 V, 5 V, 12 V, current loops, and digital sensors. Use of G
grounds for these outputs minimizes potentially large current flow through the analogvoltage-measurement section of the wiring panel, which can cause single-ended voltage
measurement errors.
o
6 common terminals
l Earth Ground Lug () - connection point for heavy-gage earth-ground wire. A good earth
connection is necessary to secure the ground potential of the data logger and shunt
transients away from electronics. Campbell Scientific recommends 14 AWG wire, minimum.
NOTE:
Several ground wires can be connected to the same ground terminal.
A good earth (chassis) ground will minimize damage to the data logger and sensors by providing
a low-resistance path around the system to a point of low potential. Campbell Scientific
recommends that all data loggers be earth grounded. All components of the system (data
loggers, sensors, external power supplies, mounts, housings) should be referenced to one
common earth ground.
In the field, at a minimum, a proper earth ground will consist of a 5-foot copper-sheathed
grounding rod driven into the earth and connected to the large brass ground lug on the wiring
panel with a 14 AWG wire. In low-conductive substrates, such as sand, very dry soil, ice, or rock, a
single ground rod will probably not provide an adequate earth ground. For these situations,
search for published literature on lightning protection or contact a qualified lightning-protection
consultant.
In laboratory applications, locating a stable earth ground is challenging, but still necessary. In
older buildings, new VAC receptacles on older VAC wiring may indicate that a safety ground
exists when, in fact, the socket is not grounded. If a safety ground does exist, good practice
dictates to verify that it carries no current. If the integrity of the VAC power ground is in doubt,
2. Wiring panel and terminal functions10
also ground the system through the building plumbing, or use another verified connection to
earth ground.
See also:
l Ground loops (p. 133)
l Minimizing ground potential differences (p. 139)
2.4 Communications ports
The data logger is equipped with ports that allow communications with other devices and
networks, such as:
l Computers
l Smart sensors
l Modbus and DNP3 networks
l Ethernet (CR310)
l Modems
l Campbell Scientific PakBus® networks
l Other Campbell Scientific data loggers
Campbell Scientific data logger communications ports include:
l RS-232
l USB Device
l Ethernet
l C terminals
2.4.1 USB device port
One USB device port supports communicating with a computer through data logger support
software or through virtual Ethernet (RNDIS), and provides 5 VDC power to the data logger
(powering through the USB port has limitations - details are available in the specifications). The
data logger USB device port does not support USBflash or thumb drives. Although the USB
connection supplies 5 V power, a 12 VDC battery will be needed for field deployment.
2.4.2 Ethernet port
The RJ45 10/100 Ethernet port is used for IP communications.(CR310 only.)
2. Wiring panel and terminal functions11
2.4.3 C terminals for communications
C terminals are configurable for the following communications types:
l SDI-12
l RS-232 (0 to 5 V)
Some communications types require more than one terminal, and some are only available on
specific terminals. This is shown in the data logger specifications.
2.4.3.1 SDI-12 ports
SDI-12 is a 1200 baud protocol that supports many smart sensors. C1 and C2 can each be
configured as an SDI-12 communications port. Maximum cable lengths depend on the number
of sensors connected, the type of cable used, and the environment of the application. Refer to
the sensor manual for guidance.
For more information, see SDI-12 communications (p. 98).
See also Communications specifications (p. 193).
2.4.4 RS-232 Port
RS-232 represents a loose standard defining how two computing devices can communicate with
each other. For instruction on setting up RS-232 communications with a computer, see USB or
RS-232 communications (p. 17).
One nine-pin DCE port, labeled RS-232, normally is used to communicate with a computer
running data logger support software, to connect a modem, or to read a smart sensor. The RS232 port functions as either a DCE or DTE device. The most common use of the RS-232 port is as
a connection to a computer DTE device (using a standard DB9-to-DB9 cable). Pins 1, 4, 6, and 9
function differently than a standard DCE device to accommodate a connection to a modem or
other DCE device via a null modem cable. For the RS-232 port to function as a DTE device, a null
modem adapter is required.
RS-232 communications normally operate well up to a transmission cable capacitance of 2500
picofarads, or approximately 50 feet of commonly available serial cable.
2.4.4.1 RS-232 Power States
Under normal operation, the RS-232 port is powered down waiting for input. Upon receiving
input, there is a 40-second software timeout before shutting down. The 40-second timeout is
generally circumvented when communicating with data logger support software because it sends
information as part of the protocol that lets the data logger know it can shut down the port.
2. Wiring panel and terminal functions12
When in sleep mode, hardware is configured to detect activity and wake up. Sleep mode may
lose the first character of the incoming data stream. PakBus takes this into consideration in the
"ring packets" that are preceded with extra sync bytes at the start of the packet. SerialOpen()
leaves the interface powered-up, so no incoming bytes are lost. See the CRBasic Editor help for
detailed instruction information and program examples:
https://help.campbellsci.com/crbasic/cr300/.
When the data logger has data to send via RS-232, if the data is not a response to a received
packet, such as sending a beacon, it will power up the interface, send the data, and return to
sleep mode without a 40 second timeout.
See also Wiring panel and terminal functions (p. 5).
2.5 Programmable logic control
The data logger can control instruments and devices such as:
l Controlling cellular modem or GPS receiver to conserve power.
l Triggering a water sampler to collect a sample.
l Triggering a camera to take a picture.
l Activating an audio or visual alarm.
l Moving a head gate to regulate water flows in a canal system.
l Controlling pH dosing and aeration for water quality purposes.
l Controlling a gas analyzer to stop operation when temperature is too low.
l Controlling irrigation scheduling.
Control decisions can be based on time, an event, or a measured condition. Controlled devices
can be physically connected to C, VX, SE1 -SE4, P_SW, or SW12 terminals. Short Cut has
provisions for simple on/off control. Control modules and relay drivers are available to expand
and augment data logger control capacity.
l C terminals are selectable as binary inputs, control outputs, or communication ports. These
terminals can be set low (0 VDC) or high (5 VDC) using the PortSet() or WriteIO()
instructions. See the CRBasic Editor help for detailed instruction information and program
examples: https://help.campbellsci.com/crbasic/cr300/. Other functions include device-
driven interrupts, asynchronous communications and SDI-12 communications. A C terminal
configured for digital I/O is normally used to operate an external relay-driver circuit
because the terminal itself has limited drive capacity.
l VX terminals can be set low or high using the PortSet() or SWVX() instruction. For
more information on these instructions, see the CRBasic help.
l SW12 terminals can be set low (0 V) or high (12 V) using the SW12() instruction (see the
CRBasic help for more information).
2. Wiring panel and terminal functions13
The following image illustrates a simple application wherein a C terminal configured for digital
input, and another configured for control output are used to control a device (turn it on or off)
and monitor the state of the device (whether the device is on or off).
In the case of a cell modem, control is based on time. The modem requires 12 VDC power, so
connect its power wire to a data logger SW12 terminal. The following code snip turns the modem
on for the first ten minutes of every hour using the TimeIsBetween() instruction embedded
in an If/Then logic statement:
If TimeIsBetween (0,10,60,Min)Then
SW12(1) 'Turn phone on.
Else
SW12(0) 'Turn phone off.
EndIf
2. Wiring panel and terminal functions14
3. Setting up the CR300 series
The basic steps for setting up your data logger to take measurements and store data are included
in the following sections:
l Setting up communications with the data logger (p. 16)
l Virtual Ethernet over USB (RNDIS) (p. 19)
l Ethernet communications option (p. 21)
l Wi-Fi communications option (p. 25)
l Cellular communications option (p. 29)
l Radio communications option (p. 42)
l Testing communications with EZSetup (p. 50)
l Creating a Short Cut data logger program (p. 52)
3. Setting up the CR300 series15
4. Setting up communications
with the data logger
The first step in setting up and communicating with your data logger is to configure your
connection. Communications peripherals, data loggers, and software must all be configured for
communications. Additional information is found in your specific peripheral manual, and the
data logger support software manual and help.
The default settings for the data logger allow it to communicate with a computer via USB, RS232, or Ethernet (on CR310 models). For other communications methods or more complex
applications, some settings may need adjustment. Settings can be changed through Device
Configuration Utility or through data logger support software.
You can configure your connection using any of the following options. The simplest is via USB.
For detailed instruction, see:
l USB or RS-232 communications (p. 17)
l Virtual Ethernet over USB (RNDIS) (p. 19)
l Ethernet communications option (p. 21) (CR310 models only)
l Wi-Fi communications option (p. 25) (WIFI models only)
l Cellular communications option (p. 29) (CELLmodels only)
l Radio communications option (p. 42) (RF models only)
For other configurations, see the LoggerNet EZSetup Wizard help. Context-specific help is given
in each step of the wizard by clicking the Help button in the bottom right corner of the window.
For complex data logger networks, use Network Planner. For more information on using the
Network Planner, watch a video at https://www.campbellsci.com/videos/loggernet-software-
network-planner.
4. Setting up communications with the data logger16
4. USB or RS-232
communications
Setting up a USB or RS-232 connection is a good way to begin communicating with your data
logger. Because these connections do not require configuration (like an IPaddress), you need
only set up the communications between your computer and the data logger. Use the following
instructions or watch the Quickstart videos at https://www.campbellsci.com.au/videos.
Follow these steps to get started. These settings can be revisited using the data logger support
software Edit Datalogger Setup option.
1. Using data logger support software, launch the EZSetup Wizard.
l
LoggerNet users, click Setup, click the View menu to ensure you are in the EZ
(Simplified) view, then click Add Datalogger.
l
PC400 and PC200W users, click Add Datalogger.
2. Click Next.
3. Select your data logger from the list, type a name for your data logger (for example, a site
or project name), and click Next.
4. If prompted, select the Direct Connect connection type and click Next.
5. If this is the first time connecting this computer to a CR300 series via USB, click Install
USBDriver, select your data logger, click Install, and follow the prompts to install the
USBdrivers.
6. Plug the data logger into your computer using a USBor RS-232 cable. The USB connection
supplies 5 V power as well as a communications link, which is adequate for setup, but a 12V
power source is necessary to power cellular functions of CR300-CELL models. A 12V battery
will be needed for field deployment. If using RS-232, external power must be provided to
the data logger.
NOTE:
The Power LED on the data logger indicates the program and power state. Because the
data logger ships with a program set to run on power-up, the Power LED flashes 3 times
every 10 seconds when powered over USB. When powered with a 12 V battery, it flashes
1 time every 10 seconds.
7. From the COM Port list, select the COMport used for your data logger.
4. USB or RS-232 communications17
Loading...
+ 228 hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.