~ubuntu-branches/debian/jessie/digitemp/jessie

« back to all changes in this revision

Viewing changes to FAQ

  • Committer: Bazaar Package Importer
  • Author(s): Jesus Roncero
  • Date: 2004-09-01 01:34:37 UTC
  • Revision ID: james.westby@ubuntu.com-20040901013437-eicsrrd40dr371u0
Tags: upstream-3.3.2
ImportĀ upstreamĀ versionĀ 3.3.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
DigiTemp v3.3.0 Frequently Asked Questions
 
2
Copyright 2004 by Brian C. Lane <bcl@brianlane.com> www.brianlane.com
 
3
 
 
4
Q. Where Do I buy Parts?
 
5
 
 
6
   From www.ibuttonlink.com
 
7
   I have discontinued my hardware products so that I can spend more time on
 
8
   software. ibuttonLink makes a great serial adapter, and they have picked
 
9
   up production of my DT1A sensors.
 
10
   
 
11
   www.aagelectronica.com produces a full line of 1-wire products at a 
 
12
   very reasonable proce, including temperature sensors, humidity and pressure,
 
13
   weather stations, hubs, etc.
 
14
   
 
15
   Places to avoid are www.buffalorun.com, all I see are numerous complaints
 
16
   on the mailing lists about how he doesn't deliver and doesn't communicate.
 
17
   
 
18
   If you want to build them yourself you can get parts from either 
 
19
   www.maximic.com or www.digikey.com for sensors. For serial port adapters 
 
20
   I now recommend using iButtonLink instead of DS9097U's -- Maxim raised
 
21
   the proce so much that the little extra you spend for the Link is well
 
22
   worth it.
 
23
 
 
24
   I order my temperature sensors directly from Dallas Semiconductor
 
25
   at 1-800-336-6933 (http://www.dalsemi.com/sales/credit_card.html)
 
26
 
 
27
   DigiKey (http://www.digikey.com) now has DS18S20 sensors in stock as
 
28
   well.
 
29
 
 
30
Q. How do I connect it to the RJ-11 of the DS9097U
 
31
 
 
32
   Take a look at the DS9097U data sheet at
 
33
     http://pdfserv.maxim-ic.com/arpdf/DS9097U-009-DS9097U-S09.pdf
 
34
 
 
35
   Ground is the pin on the right and data is the pin on the left (using
 
36
   the two center pins of the RJ-11).
 
37
 
 
38
   Even with this information you will probably get it backwards the first
 
39
   time so make a temporary connection the first time and confirm that 
 
40
   you have the correct polarity.
 
41
 
 
42
   Holding the RJ-11 plug so that it is facing you (as if you were going to
 
43
   plug it into your mouth), with the clip on the top.
 
44
             ____
 
45
           --|  |--
 
46
           | 4321 |
 
47
           --------
 
48
 
 
49
   1 = NC
 
50
   2 = Ground
 
51
   3 = Data
 
52
   4 = NC
 
53
 
 
54
   The same applies for the RJ-45 connectors.
 
55
 
 
56
 
 
57
Q. How many can I connect?
 
58
 
 
59
   Read the Dallas Semiconductor Tech. Brief on the One Wire Network.
 
60
     http://www.maxim-ic.com/appnotes.cfm/appnote_number/570
 
61
 
 
62
   It covers everything you want to know and more. The limit comes down to
 
63
   wiring, how much you have and how good it is. Other than that you can
 
64
   connect as many as you need.
 
65
 
 
66
   www.pointsix.com also has some very good app notes on network length
 
67
   and ringing problems.
 
68
 
 
69
   Having a 1-wire hub for complicated netowrks and supplying +5v instead
 
70
   of using the sensors in parasite mode will also help you create larger
 
71
   and more reliable networks.
 
72
 
 
73
Q. How long can the wire be?
 
74
 
 
75
   Again, read the Tech. Brief above. This depends on the cable. Using
 
76
   better cable will allow you to extend the cable longer distances. CAT5
 
77
   is the recommended cable for networks of almost any length. You can get
 
78
   away with other cable but be prepared to rip it all up and replace it 
 
79
   with CAT5 if it doesn't work.
 
80
   
 
81
   Having a hub and supplying +5v to the sensors will increase the liklihood
 
82
   of your long network operating properly. I have had reports of people using
 
83
   CAT5 and a passive network up to 200m long.
 
84
 
 
85
Q. I get a result of 85C when reading temperatures
 
86
 
 
87
   85C is the error state of the DS18S20 sensor, and it usually indicates that
 
88
   one of 2 things are wrong:
 
89
 
 
90
   1. If you are using parasite powered sensors you forgot to ground the +5v
 
91
      pin to put the sensor into parasite mode.
 
92
 
 
93
   2. You are trying to read the sensor too quickly. The DS18S20 needs about
 
94
      750mS of delay in order to properly convert the temperature.
 
95
         
 
96
 
 
97
Q. I have glitches in my data, what do I do?
 
98
 
 
99
   The first solution is to check all of your connections to make sure
 
100
   they are soldered or well connected.
 
101
 
 
102
   Next, is your cable decent quality? Cat-5 is the best, with twisted
 
103
   telephone cable coming in second.
 
104
 
 
105
   If you are still having problems you should try Using a Schottky
 
106
   diode across the cable's end. Connect the diode reverse-biased with
 
107
   the cathode (the stripe) on the data line and anode on the return. 
 
108
 
 
109
   I used a 1N5818 across my attic sensor -- before adding this I was
 
110
   getting multiple glitches per hour. Now I have seen 1 glitch in
 
111
   about 2 weeks. 
 
112
 
 
113
   You can also buy pre-assembled sensors that include a 1N5817 diode from
 
114
   my DigiTemp Hardware page at http://www.brianlane.com/dthardware.php
 
115
 
 
116
Q. What is the difference between the DS9097-U and the App. Note 74 type
 
117
   of adapter.
 
118
 
 
119
   The DS9097-U adapter uses a serial port to 1-wire conversion chip that
 
120
   makes talking to the 1-wire network easier. DigiTemp v2.x uses this
 
121
   type of adapter (the DS9097U-009 and -S09 both work fine).
 
122
 
 
123
   The old style of adapter (sometimes called passive or App. Note #74)
 
124
   used only diodes and resistors to convert the serial port voltages to
 
125
   the one-wire voltages. Dallas still sells adapters of this type, part
 
126
   number DS9097 and DS9097E that is built on this design. DigiTemp v1.x
 
127
   supports this type of adapter, and include a HOWTO document with
 
128
   instructions for building your own.
 
129
 
 
130
   As of DigiTemp v3.0.0 support for both style adapters has been integrated
 
131
   into the same code tree. You no longer need to use v1.x for the DS9097 passive
 
132
   adapter and v2.x for the DS9097U adapter.
 
133
 
 
134
Q. When will digitemp support the one-wire hub?
 
135
 
 
136
   It does! As of v2.3 it scand for the DS2409 couplers used in the hubs
 
137
   and keeps track of which branch it finds the sensors on. It doesn't
 
138
   support cascaded hubs (hubs connected behind a hub), only multiple hubs
 
139
   on the main 1-wire lan.
 
140
   
 
141
Q. When will Digitemp support the one-wire Weather Station?
 
142
 
 
143
   Probably never. DigiTemp has 1 purpose - to read temperatures. Weather
 
144
   station support is more complicated and requires a dedicated program to
 
145
   be watching the station and recording events like weather vane movement
 
146
   and wind-speed calculations. I may add support for humidity and
 
147
   barometric pressure, especially if someone were to donate a unit for me
 
148
   to use.
 
149
 
 
150
   I have found a possible source for Humidity, Barometer and Lightning 
 
151
   sensors at http://www.jjware.com/index2.htm
 
152
   
 
153
   I do have plans to write my own weather station software though. No release
 
154
   date as of yet, but it is being worked on.
 
155
 
 
156
Q. When will it support 1-wire device X?
 
157
 
 
158
   The quick answer is "When someone sends me one". DigiTemp v3.3.0 now has
 
159
   support for the DS2438 battery monitor which is used in many of the more
 
160
   complicated sensors, like humidity and pressure. It also has native
 
161
   support for humidity using the AAD TI-8540 humidity sensor.
 
162
   
 
163