1mCM001(3) One-Wire File System mCM001(3)
2
3
4
6 mCM001 - AC Current Monitor
7
9 AC Amp meter.
10 A2 [.]XXXXXXXXXXXX[XX][/[ current | address | crc8 | id | locator |
11 r_address | r_id | r_locator | type ]]
12
14 A2
15
17 current
18 read-write, floating point
19 Reads the current.
20
21 Range 0-5A
22
23 Resolution
24 0.01A
25
26 Units A (amperes)
27
28 Frequency
29 AC (alternating current 50-60Hz)
30
32 address
33 r_address
34 read-only, ascii
35 The entire 64-bit unique ID. Given as upper case hexidecimal digits
36 (0-9A-F).
37 address starts with the family code
38 r address is the address in reverse order, which is often used in other
39 applications and labeling.
40
41 crc8
42 read-only, ascii
43 The 8-bit error correction portion. Uses cyclic redundancy check. Com‐
44 puted from the preceding 56 bits of the unique ID number. Given as
45 upper case hexidecimal digits (0-9A-F).
46
47 family
48 read-only, ascii
49 The 8-bit family code. Unique to each type of device. Given as upper
50 case hexidecimal digits (0-9A-F).
51
52 id
53 r_id
54 read-only, ascii
55 The 48-bit middle portion of the unique ID number. Does not include the
56 family code or CRC. Given as upper case hexidecimal digits (0-9A-F).
57 r id is the id in reverse order, which is often used in other applica‐
58 tions and labeling.
59
60 locator
61 r_locator
62 read-only, ascii
63 Uses an extension of the 1-wire design from iButtonLink company that
64 associated 1-wire physical connections with a unique 1-wire code. If
65 the connection is behind a Link Locator the locator will show a unique
66 8-byte number (16 character hexidecimal) starting with family code FE.
67 If no Link Locator is between the device and the master, the locator
68 field will be all FF.
69 r locator is the locator in reverse order.
70
71 present (DEPRECATED)
72 read-only, yes-no
73 Is the device currently present on the 1-wire bus?
74
75 type
76 read-only, ascii
77 Part name assigned by Dallas Semi. E.g. DS2401 Alternative packaging
78 (iButton vs chip) will not be distiguished.
79
81 None.
82
84 1-Wire
85 1-wire is a wiring protocol and series of devices designed and manufac‐
86 tured by Dallas Semiconductor, Inc. The bus is a low-power low-speed
87 low-connector scheme where the data line can also provide power.
88
89 Each device is uniquely and unalterably numbered during manufacture.
90 There are a wide variety of devices, including memory, sensors (humid‐
91 ity, temperature, voltage, contact, current), switches, timers and data
92 loggers. More complex devices (like thermocouple sensors) can be built
93 with these basic devices. There are also 1-wire devices that have
94 encryption included.
95
96 The 1-wire scheme uses a single bus master and multiple slaves on the
97 same wire. The bus master initiates all communication. The slaves can
98 be individually discovered and addressed using their unique ID.
99
100 Bus masters come in a variety of configurations including serial, par‐
101 allel, i2c, network or USB adapters.
102
103 OWFS design
104 OWFS is a suite of programs that designed to make the 1-wire bus and
105 its devices easily accessible. The underlying principle is to create a
106 virtual filesystem, with the unique ID being the directory, and the
107 individual properties of the device are represented as simple files
108 that can be read and written.
109
110 Details of the individual slave or master design are hidden behind a
111 consistent interface. The goal is to provide an easy set of tools for a
112 software designer to create monitoring or control applications. There
113 are some performance enhancements in the implementation, including data
114 caching, parallel access to bus masters, and aggregation of device com‐
115 munication. Still the fundemental goal has been ease of use, flexibil‐
116 ity and correctness rather than speed.
117
118 mCM001
119 The mCM001 (3) is a Current meter from CMC Industrial Electronics. It
120 is packaged for industrial use.
121
123 All 1-wire devices are factory assigned a unique 64-bit address. This
124 address is of the form:
125
126 Family Code
127 8 bits
128
129 Address
130 48 bits
131
132 CRC 8 bits
133
134 Addressing under OWFS is in hexidecimal, of form:
135
136 01.123456789ABC
137
138 where 01 is an example 8-bit family code, and 12345678ABC is an example
139 48 bit address.
140
141 The dot is optional, and the CRC code can included. If included, it
142 must be correct.
143
145 http://www.cmciel.com/products-solutions/individual-products/ac-cur‐
146 rent-sensor-mcm001/
147
149 Programs
150 owfs (1) owhttpd (1) owftpd (1) owserver (1) owdir (1) owread (1)
151 owwrite (1) owpresent (1) owtap (1)
152
153 Configuration and testing
154 owfs (5) owtap (1) owmon (1)
155
156 Language bindings
157 owtcl (3) owperl (3) owcapi (3)
158
159 Clocks
160 DS1427 (3) DS1904 (3) DS1994 (3) DS2404 (3) DS2404S (3) DS2415 (3)
161 DS2417 (3)
162
163 ID
164 DS2401 (3) DS2411 (3) DS1990A (3)
165
166 Memory
167 DS1982 (3) DS1985 (3) DS1986 (3) DS1991 (3) DS1992 (3) DS1993 (3)
168 DS1995 (3) DS1996 (3) DS2430A (3) DS2431 (3) DS2433 (3) DS2502 (3)
169 DS2506 (3) DS28E04 (3) DS28EC20 (3)
170
171 Switches
172 DS2405 (3) DS2406 (3) DS2408 (3) DS2409 (3) DS2413 (3) DS28EA00 (3)
173
174 Temperature
175 DS1822 (3) DS1825 (3) DS1820 (3) DS18B20 (3) DS18S20 (3) DS1920 (3)
176 DS1921 (3) DS1821 (3) DS28EA00 (3) DS28E04 (3) EDS0064 (3) EDS0065 (3)
177 EDS0066 (3) EDS0067 (3) EDS0068 (3) EDS0071 (3) EDS0072 (3) MAX31826
178 [1m(3)
179
180 Humidity
181 DS1922 (3) DS2438 (3) EDS0065 (3) EDS0068 (3)
182
183 Voltage
184 DS2450 (3)
185
186 Resistance
187 DS2890 (3)
188
189 Multifunction (current, voltage, temperature)
190 DS2436 (3) DS2437 (3) DS2438 (3) DS2751 (3) DS2755 (3) DS2756 (3)
191 DS2760 (3) DS2770 (3) DS2780 (3) DS2781 (3) DS2788 (3) DS2784 (3)
192
193 Counter
194 DS2423 (3)
195
196 LCD Screen
197 LCD (3) DS2408 (3)
198
199 Crypto
200 DS1977 (3)
201
202 Pressure
203 DS2406 (3) TAI8570 (3) EDS0066 (3) EDS0068 (3)
204
205 Moisture
206 EEEF (3) DS2438 (3)
207
209 http://www.owfs.org
210
212 Paul Alfille (paul.alfille@gmail.com)
213
214
215
216OWFS Manpage 2003 mCM001(3)