SDM-CD16D 16 Channel Digital Control Port Expansion Module Revision: 8/07 C o p y r i g h t © 2 0 0 0 - 2 0 0 7 C a m p b e l l S c i e n t i f i c , I n c .
Warranty and Assistance The SDM-CD16D 16 CHANNEL DIGITAL CONTROL PORT EXPANSION MODULE is warranted by CAMPBELL SCIENTIFIC, INC. to be free from defects in materials and workmanship under normal use and service for twelve (12) months from date of shipment unless specified otherwise. Batteries have no warranty. CAMPBELL SCIENTIFIC, INC.'s obligation under this warranty is limited to repairing or replacing (at CAMPBELL SCIENTIFIC, INC.'s option) defective products.
SDM-CD16D Table of Contents PDF viewers note: These page numbers refer to the printed version of this document. Use the Adobe Acrobat® bookmarks tab for links to specific sections. 1. Introduction..................................................................1 2. Control Specifications.................................................2 2.1 General......................................................................................................2 2.2 Output Specifications...............................
This is a blank page.
SDM-CD16D 16 Channel Digital Control Port Expansion Module The SDM-CD16D (see Figure 1) is a synchronously addressed peripheral. It has 16 control ports. FIGURE 1. SDM-CD16D 1. Introduction The SDM-CD16D expands the digital output capability of Campbell Scientific dataloggers. The outputs can be set to 0 or 5 V by the datalogger.
SDM-CD16D 16 Channel Digital Control Port Expansion Module 2. Control Specifications 2.1 General Compatible dataloggers: CR800, CR850, CR1000, CR3000, CR5000, CR10(X), CR23X, CR7 and 21X Operating voltage: 12 VDC nominal (9 to 18 V) Current drain at 12V DC: 100 µA typical (All ports HI, no load) Total cable length: 6 m (CR10/10X, CR23X, 21X), 180 m (CR7) 2.2 Output Specifications Output Voltage (no load): Output ON/HI, Nominal 5 V (Minimum 4.5 V) Output OFF/LO, Nominal 0 V (Maximum 0.
SDM-CD16D 16 Channel Digital Control Port Expansion Module 3. Power Considerations The SDM-CD16D power requirements are large compared to most Campbell Scientific products when driving significant loads. For many applications an external power supply, as shown in Figure 3, is recommended to power the SDM-CD16D. For some applications it may be convenient to use the datalogger supply to power the SDM-CD16D, as shown in Figure 3.
SDM-CD16D 16 Channel Digital Control Port Expansion Module 4. Installation For correct operation the SDM-CD16D must be installed where there is no risk of water ingress or condensation. The order in which connections are made is critical. Always connect 12 V first, followed by ground, then the control ports. CAUTION For datalogger connections, see Table 1, below. Please refer to Figure 4 for details of how to use the spring-loaded terminals. TABLE 1.
SDM-CD16D 16 Channel Digital Control Port Expansion Module Use a screwdriver in either the top or front slot, as appropriate, to open the terminal spring. Strip any insulation from the wire to give 7 to 9 mm bare wire. Push the wire into the opening, and, while holding it in position, withdraw the screwdriver to release the spring. The wire will now be firmly held in place. See Figure 4, below.
SDM-CD16D 16 Channel Digital Control Port Expansion Module TABLE 2. Switch Position and Addresses Switch Setting Base 4 Address 0 1 2 3 4 5 6 7 8 9 A B C D E F 00 01 02 03 10 11 12 13 20 21 22 23 30 31 32 33 Use a screwdriver to select address FIGURE 5.
SDM-CD16D 16 Channel Digital Control Port Expansion Module 6. Datalogger Instructions 6.1 CRBasic The SDMCD16AC instruction in CRBasic is used by our CR800, CR850, CR1000, CR3000, and CR5000 dataloggers. With this instruction, a port on an SDM-CD16D is enabled/disabled (turned on or off) by sending a value to it. A non-zero value will enable the port; a zero value disables it. The values to be sent to the SDM-CD16D are held in the Source array.
SDM-CD16D 16 Channel Digital Control Port Expansion Module Instruction 104 – SDM-CD16D used with CR10/10X, CR23X, CR7and 21X dataloggers Parameter 1 2 3 Type 2 2 4 Execution Time = Description Reps (No. of modules sequentially addressed) Starting Address (base 4: 00..33) Starting Input Location 2 ms per Rep for the CR10/10X and CR23X 3.5 ms per Rep for the 21X and CR7 Instruction 29 – SDM-CD16D used with older CR7s Parameter 1 2 3 4 5 Type 2 2 2 2 4 Execution Time = Description Reps (No.
SDM-CD16D 16 Channel Digital Control Port Expansion Module a data bit on C1 (LSB first) on the falling edge of the C2 clock. The SDMCD16D shifts in the C1 data bit on the rising edge of the C2 clock. The first eight bits clocked out represent the SDM-CD16D address. If the address matches the SDM-CD16D’s address, the SDM-CD16D is enabled. If enabled, the next 16 bits are shifted into the SDM-CD16D, each bit controlling one port, the first of which controls output 1.
SDM-CD16D 16 Channel Digital Control Port Expansion Module Cooling unit: Activate when temperature >27.5°C. Deactivate when temperature <24.5°C. Mixing fan: Activate whenever the heating or cooling units are activated. Activate for 5 minutes out of every 15 minutes. The program assumes that the temperature measurements have been made, and that the average temperature for each greenhouse is computed and stored in input locations 1 to 5.
SDM-CD16D 16 Channel Digital Control Port Expansion Module 5: If (X<=>F) (P89) 1: 10 -- X Loc [ Heat_1 ] 2: 2 <> 3: 0 F 4: 30 Then Do if the heater is on (heater control location <>0) 6: If (X<=>F) (P89) 1: 1 -- X Loc [ Temp_1 ] 2: 3 >= 3: 25.
SDM-CD16D 16 Channel Digital Control Port Expansion Module 16: If (X<=>F) (P89) 1: 1 -- X Loc [ Temp_1 ] 2: 4 < 3: 24.
SDM-CD16D 16 Channel Digital Control Port Expansion Module 28: End (P95) 29: Do (P86) 1: 21 end ‘then do/else’ reset flag 1 Set Flag 1 Low 30: End (P95) end master loop End fan control logic based on heater/cooler Start fan control logic based on time 31: If time is (P92) 1: 10 Minutes (Seconds --) into a 2: 15 Interval (same units as above) 3: 12 Set Flag 2 High if 5 minutes remain out of 15 minute interval set flag 2 32: If Flag/Port (P91) 1: 12 Do if Flag 2 is High 2: 30 Then Do if flag 2 is set
SDM-CD16D 16 Channel Digital Control Port Expansion Module *Table 3 Subroutines End Program -Input Locations-1 Temp_1 7 4 0 2 Temp_2 10 0 0 3 Temp_3 10 0 0 4 Temp_4 10 0 0 5 Temp_5 18 0 0 6 _________ 0 0 0 7 _________ 0 0 0 8 _________ 0 0 0 9 _________ 0 0 0 10 Heat_1 7 3 3 11 Heat_2 11 1 0 12 Heat_3 11 1 0 13 Heat_4 11 1 0 14 Heat_5 19 1 0 15 Cool_1 7 3 3 16 Cool_2 11 1 0 17 Cool_3 11 1 0 18 Cool_4 11 1 0 19 Cool_5 19 1 0 20 Fan_1 7 1 3 21 Fan_2 11 1 0 22 Fan_3 11 1 0 23 Fan_4 11 1 0 24 Fan_5 19 1 0 25 _
This is a blank page.
Campbell Scientific Companies Campbell Scientific, Inc. (CSI) 815 West 1800 North Logan, Utah 84321 UNITED STATES www.campbellsci.com info@campbellsci.com Campbell Scientific Africa Pty. Ltd. (CSAf) PO Box 2450 Somerset West 7129 SOUTH AFRICA www.csafrica.co.za cleroux@csafrica.co.za Campbell Scientific Australia Pty. Ltd. (CSA) PO Box 444 Thuringowa Central QLD 4812 AUSTRALIA www.campbellsci.com.au info@campbellsci.com.au Campbell Scientific do Brazil Ltda.