summaryrefslogtreecommitdiffstats
path: root/zarb-ml/mageia-discuss/2012-July/008273.html
blob: af143d2dee67e47ff6d6fe71dc75165f184c5299 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
 <HEAD>
   <TITLE> [Mageia-discuss] One-Wire Home Temperature Network with Linux
   </TITLE>
   <LINK REL="Index" HREF="index.html" >
   <LINK REL="made" HREF="mailto:mageia-discuss%40mageia.org?Subject=Re%3A%20%5BMageia-discuss%5D%20One-Wire%20Home%20Temperature%20Network%20with%20Linux&In-Reply-To=%3C6431465.joz8N7Zta5%40localhost%3E">
   <META NAME="robots" CONTENT="index,nofollow">
   <META http-equiv="Content-Type" content="text/html; charset=us-ascii">
   <LINK REL="Previous"  HREF="008272.html">
   <LINK REL="Next"  HREF="008276.html">
 </HEAD>
 <BODY BGCOLOR="#ffffff">
   <H1>[Mageia-discuss] One-Wire Home Temperature Network with Linux</H1>
    <B>AL13N</B> 
    <A HREF="mailto:mageia-discuss%40mageia.org?Subject=Re%3A%20%5BMageia-discuss%5D%20One-Wire%20Home%20Temperature%20Network%20with%20Linux&In-Reply-To=%3C6431465.joz8N7Zta5%40localhost%3E"
       TITLE="[Mageia-discuss] One-Wire Home Temperature Network with Linux">alien at rmail.be
       </A><BR>
    <I>Sun Jul 15 17:25:18 CEST 2012</I>
    <P><UL>
        <LI>Previous message: <A HREF="008272.html">[Mageia-discuss] One-Wire Home Temperature Network with Linux
</A></li>
        <LI>Next message: <A HREF="008276.html">[Mageia-discuss] FrOSCon 2012
</A></li>
         <LI> <B>Messages sorted by:</B> 
              <a href="date.html#8273">[ date ]</a>
              <a href="thread.html#8273">[ thread ]</a>
              <a href="subject.html#8273">[ subject ]</a>
              <a href="author.html#8273">[ author ]</a>
         </LI>
       </UL>
    <HR>  
<!--beginarticle-->
<PRE>Op zondag 15 juli 2012 16:21:06 schreef Juergen Harms:
&gt;<i> On 07/15/2012 03:13 PM, Doug Lytle wrote:
</I>&gt;<i> &gt; I've just started to play with a 1 wire temperature sensor, under Mageia
</I>&gt;<i> &gt; 1. I've been following a couple of blog on how to get things setup (1 &amp;
</I>&gt;<i> &gt; 2).
</I>&gt;<i> &gt; 
</I>&gt;<i> &gt; I've installed the digitemp software (2) via urpmi and can actually see
</I>&gt;<i> &gt; the USB dongle (DS9490R) and my temp sensor (DS18B20).
</I>&gt;<i> &gt; 
</I>&gt;<i> &gt; The problem being that when running the command digitemp_DS2490 -a -i
</I>&gt;<i> &gt; -q, it is supposed to write out it's configure file (.digitemprc) to the
</I>&gt;<i> &gt; profile directory, which for me running the command as root, should be
</I>&gt;<i> &gt; /root/.digitemprc, but it doesn't.
</I>&gt;<i> &gt; 
</I>&gt;<i> &gt; Has anybody played around with temperature sensors under Mageia? If so,
</I>&gt;<i> &gt; were you able to get it to write out the file?
</I>&gt;<i> &gt; 
</I>&gt;<i> &gt; Doug
</I>&gt;<i> &gt; 
</I>&gt;<i> &gt; (1)
</I>&gt;<i> &gt; <A HREF="http://bitsup.blogspot.com/2008/11/one-wire-home-temperature-network-with.">http://bitsup.blogspot.com/2008/11/one-wire-home-temperature-network-with.</A>
</I>&gt;<i> &gt; html
</I>&gt;<i> &gt; 
</I>&gt;<i> &gt; (2) <A HREF="http://www.nslu2-linux.org/wiki/HowTo/AddUSBOneWireAdapter">http://www.nslu2-linux.org/wiki/HowTo/AddUSBOneWireAdapter</A>
</I>&gt;<i> &gt; (3) <A HREF="http://digitemp.com">http://digitemp.com</A>
</I>&gt;<i> 
</I>&gt;<i> I have DS18B20 sensors running, but not on Mageia - my sensors are
</I>&gt;<i> connected to an AVR microprocessors (which is controlled by a C
</I>&gt;<i> programme, downloaded from my Mageia PC).
</I>&gt;<i> 
</I>&gt;<i> I have doubts whether it is possible to reliably operate 1-wire devices
</I>&gt;<i> directly connected to a PC that is simultaneously used to do &quot;ordinary
</I>&gt;<i> stuff&quot;: the 1-wire protocol has quite strict bit-timing requirements
</I>&gt;<i> (the pin on the I/O port on your PC which drives the 1-wire bus must
</I>&gt;<i> create pulses with well-defined lengths and intervals), not evident to
</I>&gt;<i> implement on a time-shared PC - could also have negative impact on non
</I>&gt;<i> real-time applications that run on the PC. You might need to more or
</I>&gt;<i> less dedicate your PC to run your 1-wire application.
</I>&gt;<i> 
</I>&gt;<i> In case you cannot make it work directly on Mageia, the microprocessor
</I>&gt;<i> approach is certainly a valid (even better?) alternative since the
</I>&gt;<i> microprocessor can print the result to a serial port and hence to a PC.
</I>&gt;<i> 
</I>&gt;<i> In case this approach is of interest to you, we should discuss this by
</I>&gt;<i> PM (no problem to let you have my hard- and software)
</I>&gt;<i> 
</I>&gt;<i> Juergen
</I>
or you could make a pci-board (or usb device with it's internal clock and 
send/recv queue, so it's all nicely timed...
</PRE>









<!--endarticle-->
    <HR>
    <P><UL>
        <!--threads-->
	<LI>Previous message: <A HREF="008272.html">[Mageia-discuss] One-Wire Home Temperature Network with Linux
</A></li>
	<LI>Next message: <A HREF="008276.html">[Mageia-discuss] FrOSCon 2012
</A></li>
         <LI> <B>Messages sorted by:</B> 
              <a href="date.html#8273">[ date ]</a>
              <a href="thread.html#8273">[ thread ]</a>
              <a href="subject.html#8273">[ subject ]</a>
              <a href="author.html#8273">[ author ]</a>
         </LI>
       </UL>

<hr>
<a href="https://www.mageia.org/mailman/listinfo/mageia-discuss">More information about the Mageia-discuss
mailing list</a><br>
</body></html>