1WIO User Guide Version 1.7

1WIO User Guide Version 1.7
midon design
A 1-Wire Multi-purpose Sensor
1WIO
Figure 1 MD2083 As-Shipped
August 23, 2009
1WIO User Guide Version 1.7
Page 1 of 14
midon design
1WIO User Guide Version 1.7
1. Table of Contents
1. Table of Contents................................................................................................2
1.1. List of Figures...............................................................................................2
1.2. List of Tables................................................................................................2
2. Introduction.........................................................................................................3
2.1. 1WIO Features.............................................................................................3
3. Ordering the 1WIO..............................................................................................6
4. J9 & 10 Usage....................................................................................................8
5. Using the Inputs................................................................................................10
6. 1WIO Parts List (complete)...............................................................................12
7. 1WIO Schematic...............................................................................................13
8. Specifications....................................................................................................14
9. Conclusion........................................................................................................14
10. Legal Disclaimer.............................................................................................14
1.1.
List of Figures
Figure 1 MD2083 As-Shipped................................................................................1
Figure 2 Parts Placement.......................................................................................5
Figure 3 MD2084 As Shipped.................................................................................6
Figure 4 MD2083 Mounted in TEMP08 Case.........................................................7
Figure 5 Connector J9/10 RJ-12 Pin-out................................................................8
Figure 6 Input Examples.......................................................................................10
Figure 7 1WIO Schematic.....................................................................................13
1.2.
List of Tables
Table 1 Connector Pinouts.....................................................................................4
Table 2 1WIO Ordering Options.............................................................................6
Table 3 1-Wire Connector Pinouts..........................................................................9
Table 4 1WIO Parts List – all Types.....................................................................12
1WIO User Guide Version 1.7
Page 2 of 14
midon design
2. Introduction
Thank you for your purchase of the Midon Design 1WIO Multi-Purpose Sensor.
The following instructions will assist you in configuring and operating the product.
2.1.
1WIO Features
The 1WIO sensor is based on the Dallas/Maxim 1-Wire technology and uses
the DS2408 1-Wire port expander to interface between the 1-Wire bus master
and the “real world”. Options are available for:
•
•
•
•
4 SPDT relay outputs
4 Opto-Isolator inputs
up to 8 LED displays
Standard LCD displays
When used with the Midon Design TEMP08 1-Wire Serial interface, the 1WIO
sensor can be used instead of the Midon Design RELAY05 relay interface
device. Up to forty 1WIO relay units (MD2083) can be used in this manner with
V2.02 and higher software on TEMP08. V2.01 is limited to only 1 1WIO Relay or
LED unit.
An on-board option is available for mounting a DS18S20 temperature sensor as
well. Simply add MD3003 to your order when ordering 1WIO.
Connections to TEMP08 are made via a 6-wire connector J9 or J10. When used
in this manner, power and signals are all available via this connector. When
used with other 1-Wire bus masters, care should be taken to properly connect
using these connectors. Alternative connections to a bus master may be made
via connector J12.
Table 1 shows the details of all the connectors available with 1WIO. Figure 2
shows the locations of the connectors on the board.
LED’s 1 to 4 are connected in parallel with relays K1 to K4 and are used as
indicator lights for these relays. LED’s 5 to 8 are connected to bits 4 to 7 of the
DS2408 and can be used with the TEMP08 LED command as auxiliary
indicators. The LED command is only available with TEMP08 V2.11 or higher.
Use the RLY command to control all 8 LED’s in TEMP08 V2.01 only. These
LED’s are not available when the input function is used. 1WIO is fully compatible
with 1WSwitch.
1WIO User Guide Version 1.7
Page 3 of 14
midon design
Table 1 Connector Pinouts
Connector
J1
J1
J1
J2
J2
J2
J3
J3
J3
J4
J4
J4
J5
J5
J6
J6
J7
J7
J8
J8
J9
J9
J9
J9
J9
J9
J10
J10
J10
J10
J10
J10
J11
J11
J11
J11
J11
J11
J11
J11
J11
J11
Pin
1
2
3
1
2
3
1
2
3
1
2
3
1
2
1
2
1
2
1
2
1
2
3
4
5
6
1
2
3
4
5
6
1
2
3
4
5
6
7
8
9
10
Description
NC Relay output for K1
Common Relay output for K1
NO Relay output for K1
NC Relay output for K2
Common Relay output for K2
NO Relay output for K2
NC Relay output for K3
Common Relay output for K3
NO Relay output for K3
NC Relay output for K4
Common Relay output for K4
NO Relay output for K4
Opto-isolator 1 negative input
Opto-isolator 1 positive input
Opto-isolator 2 negative input
Opto-isolator 2 positive input
Opto-isolator 3 negative input
Opto-isolator 3 positive input
Opto-isolator 4 negative input
Opto-isolator 4 positive input
+12VDC
+5VDC
DQ 1-Wire
Ground
No connection
No connection
+12VDC
+5VDC
DQ 1-Wire
Ground
No connection
No connection
LCD Ground (Note 1)
LCD VCC
LCD Contrast (Note 3)
LCD D/C
LCD R/W
LCD STB
LCD Ground
LCD Ground
LCD Ground
LCD Ground
1WIO User Guide Version 1.7
Type
Relay
Relay
Relay
Relay
Relay
Relay
Relay
Relay
Relay
Relay
Relay
Relay
Input
Input
Input
Input
Input
Input
Input
Input
Input
Input
Input/output
Ground
Input
Input
Input/output
Ground
Ground
Power
Input
Input
Input
Input
Ground
Ground
Ground
Ground
Page 4 of 14
midon design
J11
J11
J11
J11
J11
J11
J12
J12
J12
J13
J13
11
12
13
14
15
16
1
2
3
1
2
LCD D4
LCD D5
LCD D6
LCD D7
LCD LED A (Note 2)
LCD LED K
Ground
DQ 1-Wire
+12VDC
To pin 2 of J9 and J10 (Note 4)
+5VDC from on-board voltage regulator
Input
Input
Input
Input
Input
Input
Ground
Input/output
Input
Notes:
1. J11 is wired in reverse to permit mounting of the LCD connections via the
rear of the PCB.
2. J11 LED connections are pre-wired to resistor R7 on board the 1WIO.
3. J11 contrast connection is pre-wired to variable resistor R6 on the 1WIO
and contrast adjustments are provided via that resistor.
4. J13 is a shorting connection on board – it is the 2 PCB pads between U9
and U4.
Figure 2 Parts Placement
1WIO User Guide Version 1.7
Page 5 of 14
midon design
3. Ordering the 1WIO
1WIO is available with several different board options. All are orderable from
Midon Design via the following part numbers:
Table 2 1WIO Ordering Options
Part Number
MD2082
MD2083
MD2084
MD2088
MD3003
Description
Bare PCB – no parts included
4 Relay DS2408 version only. LED’s 1-4 only equipped
4 Input version only. No LED’s
8 LED display only. No relays or inputs provided.
Add an on-board DS18S20 by adding this part when ordering a
1WIO.
Please also see the 1WIO parts list for details of what is provided with each
option.
Figure 3 MD2084 As Shipped
1WIO User Guide Version 1.7
Page 6 of 14
midon design
Figure 4 MD2083 Mounted in TEMP08 Case
Referring to Figure 4 above, you can see that the PCB for 1WIO has been
designed to fit within the optional case for Midon Design’s TEMP08 unit. It is not
practical to use the RJ-12 connectors when used in this manner, so J12 should
be used to connect to J3 on TEMP08. Note that the connectors for 1WIO
intentionally extend beyond the end of the case for ease of connection.
1WIO User Guide Version 1.7
Page 7 of 14
midon design
4. J9 & 10 Usage
J9 and J10 are RJ-12 connectors, which is equivalent to a phone connector,
except that they have 6 pins instead of just 4 (or 2). J9/10 are connected to the
One Wire bus and can be used for adding connectivity to One Wire busses
configured for RJ-11/12 connection.
The pin-out of the J9/10 connectors is shown in Figure 3.
Figure 5 Connector J9/10 RJ-12 Pin-out
Pin 1 is required to power the 1WIO and is expected to be about 9 to 30 Volts
DC. Alternatively, this voltage can be supplied via J12.
Please note that this pin-out may be different than that of your 1-Wire bus
master. Up until recently, there was no established standard pin-out for the RJ12 wiring and, as a result, different manufacturers have chosen to use the pins in
various ways. The common pins (DQ and Ground) have remained the same for
all manufacturers, however, as of the time of writing this manual. These pins are
shown in color in Table 3 below. Some of the published pin-outs available today
are shown in the table below. Please take caution in connecting up your 1-Wire
sensor to your master 1-Wire bus driver to avoid damaging the sensor or the
driver.
If your bus master does not conform to this pin-out, we suggest that you use 2
wire cables to connect the RJ-12 jacks and power 1WIO via J12.
1WIO is fully compatible with the RJ-12 wiring provided on the Midon Design
TEMP08 serial 1-Wire interface device. Note that the +5VDC input on the RJ-12
connectors is not used on the 1WIO PCB since 1WIO generates it’s own 5VDC
from the 12VDC input. The 5VDC pins on the connectors J9 and J10 are bussed
through for convenience when using other sensors on the 1-Wire network. If you
want to power the 1-Wire bus from 5VDC on the 1WIO, add a jumper to J13.
1WIO User Guide Version 1.7
Page 8 of 14
midon design
Table 3 1-Wire Connector Pinouts
Device
Pin 1
Pin 2
Pin 1
Pin 3
Pin 2
Pin 1
N/C
Pin 4
Pin 3
Pin 2
DQ
Pin 5
Pin 4
Pin 3
GND
Original Dallas
Weather Station
AAG RJ-11
GND
DQ
GND
Sensors/Interfaces
Dallas/Maxim RJ+5VDC GND
DQ
GND
12 wiring standard
(published Oct
2001)
Midon Design
DC +5VDC DQ
GND
MD2104
Supply
TEMP08/LOG08II/1WSwitch
Midon Design
DC +5VDC DQ
GND
Sensors
Supply
AAG RJ-12
+5VDC GND
DQ
GND
Sensors
Texas Weather
N/C
GND
DQ
GND
Instruments
sensors
Simon Atkins’ Hub +5VDC +5VDC DC
DQ
GND
Supply
AAG RJ-45
DQ
GND +5VDC +12VDC +12VDC
Sensors
Hobby-Boards
GND +5VDC GND
DQ
GND
Sensors
1Wire.org draft
GND +5VDC GND
DQ
GND
standard for RJ45
1WIO User Guide Version 1.7
Pin 6
Pin 5
Pin 4
N/C
Pin 7
Pin 6
Pin 8
+5VDC
RJ-45
RJ-12
RJ-11
RJ-11
RJ-11
N/C
DC
Supply
RJ-12
N/C
N/C
RJ-12
N/C
N/C
RJ-12
N/C
N/C
RJ-12
N/C
DC
Supply
RJ-12
DC
Supply
+5VDC
GND
GND
RJ-45
GND
GND
RJ-45
+12VDC GND
RJ-45
Analog +12VDC GND
Signal
RJ-45
N/C
Page 9 of 14
midon design
5. Using the Inputs
~
J5,6,7 or 8
AC Source – less than 30VAC
~
DC Source – less than 30VDC
+
J5,6,7 or 8
J5,6,7 or 8
Switch or Relay contact
J12
1
2
3
GND
+12VDC
Figure 6 Input Examples
1WIO User Guide Version 1.7
Page 10 of 14
midon design
Three different methods of using the Opto-isolator inputs are shown above in
Figure 4. The first, at the top, shows how to connect an input to an AC voltage
source. The diode and capacitor are required to rectify the AC waveform to DC
so that recurrent changes do not occur as the AC switches from negative to
positive to negative voltage.
The second, simplest, interface is to a DC source. Simply connect the voltage
directly to J5, 6,7 or 8, ensuring that the polarity is correct. Whenever the voltage
is present, the input will show an “on” state.
Lastly, connecting to a switch or relay contact is shown. This may be useful for
monitoring alarm sensor switches, for example. Connect the switch in series with
a source of voltage. In this example, the voltage is provided by the 1WIO sensor
itself from J12.
1WIO User Guide Version 1.7
Page 11 of 14
midon design
6. 1WIO Parts List (complete)
C1
C2
1
4
4
4
4
2
1
1
4
4
1
1
1
1
1
1
C3
DS1,2,3,4
DS5,6,7,8
J1,2,3,4
J5,6,7,8
J9,10
J11
J12
K1,2,3,4
R1
R5
R6
R7
R8
U1
U2
1
U3
1
U4
1
U9
1
PCB
0.01uFd capacitor
100uFd capacitor
electrolytic
0.01uFd capacitor
LED Red
LED Red
3 Term
2 Term
RJ-12 connector
Connector 16P
3 Term
5V SPDT
1.5K resistor ¼ watt
SIP 10Kx9 resistor
10K Trimmer
1K resistor ¼ watt
SIP 330x9 resistor
ULN2803 driver
DS2408 1-Wire port
expander
P2501 4 input optoisolator
LM78M05 voltage
regulator
DS1820 1-Wire
temperature sensor
MD2082 PCB
MD2088
1
1
MD2084
Description
MD2083
Qty Designation
s
MD2082
Table 4 1WIO Parts List – all Types
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
U9 is available as a separately ordered option via part number MD3003.
1WIO User Guide Version 1.7
Page 12 of 14
midon design
7. 1WIO Schematic
Figure 7 1WIO Schematic
1WIO User Guide Version 1.7
Page 13 of 14
midon design
8. Specifications
Unit Size: 4.080” x 2.650” (10.36 cm x 6.73 cm) (fits standard TEMP08 case)
Relay Contact rating:
Opto-Isolator Input rating:
Power Requirements:
1.25A at 100VDC, 0.5A at 120VAC
5 to 30 Volts (AC or DC) current limited to 20mA
12VDC at 180mA (MD2083 – all relays on)
12VDC at 9mA (MD2083 – all relays off)
12VDC at 4mA (MD2084 – no inputs)
9. Conclusion
Your comments are appreciated. If you would like to submit feature requests or
product recommendations, please e-mail us.
10.
Legal Disclaimer
YOUR USE OF THIS PRODUCT IS AT YOUR OWN RISK. YOU ASSUME
FULL RESPONSIBILITY AND RISK OF LOSS RESULTING FROM THE USE
OF THIS PRODUCT. MIDON DESIGN WILL NOT BE LIABLE FOR ANY
DIRECT, SPECIAL, INDIRECT, INCIDENTAL, CONSEQUENTIAL OR
PUNITIVE DAMAGES OR ANY OTHER DAMAGES WHATSOEVER,
WHETHER IN AN ACTION BASED UPON A STATUTE, CONTRACT, TORT
(INCLUDING, WITHOUT LIMITATION NEGLIGENCE) OR OTHERWISE,
RELATING TO THE USE OF THIS PRODUCT.
1-Wire is a trademark of Dallas Semiconductor/Maxim.
Thank you!
[email protected]
© Copyright 2004-2007 Midon Design. All rights reserved. No part of this
document may be reproduced, recorded, transmitted or distributed in any form or
by any means without the written consent of Midon Design.
End of Document
1WIO User Guide Version 1.7
Page 14 of 14
Was this manual useful for you? yes no
Thank you for your participation!

* Your assessment is very important for improving the work of artificial intelligence, which forms the content of this project

Download PDF

advertisement