Debian Codegraph @

t/results/date_august

raw
1 From [email protected] Mon Aug 3 12:05:51 1998
2 Received: from aleve.media.mit.edu by hub.media.mit.edu; (5.65v3.2/1.1/06Jun95-8.2MPM)
3 id AA15988; Mon, 3 Aug 1998 12:05:51 -0400
4 Received: from sps1.phys.vt.edu (sps1.phys.vt.edu [128.173.176.53])
5 by aleve.media.mit.edu (8.8.7/ML970927) with ESMTP id LAA12381
6 for <[email protected]>; Mon, 3 Aug 1998 11:16:53 -0400 (EDT)
7 Received: from localhost (mwallace@localhost)
8 by sps1.phys.vt.edu (8.8.7/8.8.7) with SMTP id LAA20283;
9 Mon, 3 Aug 1998 11:16:50 -0400
10 Date: Mon, 3 Aug 1998 11:16:50 -0400 (EDT)
11 From: Mark Wallace <[email protected]>
12 To: [email protected]
13 Cc: [email protected]
14 Subject: Re: Polaroid trouble again
15 In-Reply-To: <[email protected]>
16 Message-Id: <[email protected]>
17 Mime-Version: 1.0
18 Content-Type: TEXT/PLAIN; charset=US-ASCII
19
20 I had this same problem when I got mine a few weeks ago. I ended up
21 putting a capacitor from pin 1 to pin 3 on U2 of the sonar driver board.
22 I also had to take out the 1k resistor from the BINH. It kept
23 BINH at 1 V instead of Zero and that seamed to cause problems.
24 As for the 6 ft problem, it should be closer to 9 ft. I think
25 the problem there is the IC code you used. If you used the code for
26 SONAR.C from the HB web site then there is a problem with it. What that
27 program does is take the difference in time from the internal clock. the
28 problem is that in the code it says that if the difference between start
29 time and currnet time is negative too much time has elapsed. Well, this
30 has a 16 bit counter so when the difference is greater the about 32,700 it
31 becomes negative. If you do the math, that means at about 9 ft that
32 happens so it tell you you are out of range.
33 The way I fixed this was to slow the clock down.
34
35 I looked up information on the motorola web page and found where the
36 prescalers were for the clock.
37 If you want to slow it down by a factor of four you can just add
38 this line to you program in sonar_init()
39
40 bit_set(0x1024, 1);
41
42 I believe bit_set(0x1024, 2); will slow it down by a factor of 8 and
43 bit_set(0x1024, 3); will slow it down by a factor of 16.
44 There are better ways of fixing this problem but they appear much
45 more complicated. For example the motorola chip has an overflow flag that
46 says when the internal clock flips. You could incorporate that into your
47 code instead of slowing the clock down. Good luck and I hope this helps.
48
49 Mark Wallace
50
51 e-mail [email protected]
52 [email protected]
53 Web page http://sps1.phys.vt.edu/~mwallace/index.html
54
55 "What a waste it would be after 4 billion tortuous years of evolution if
56 the dominant organism contrived its own self-destruction"
57 Carl Sagan
58
59 On Mon, 3 Aug 1998, Alf Kuchenbuch wrote:
60
61 > Hi!
62 > I am having trouble with my Polaroid sonar:
63 > When I keep my HB hooked up
64 > to external power, I will only get correct readings up to 20 inches. As
65 > soon as I use battery power without hooking it up to external power, the
66 > readings are correct up to 6 feet, not more! This sound like EMI, I
67 > guess. I tried all the capacitor tricks from HB mailing list, but in
68 > vain. Do you know a fix that works?
69 >
70 > Alf H. Kuchenbuch
71 >
72
73
74 From [email protected] Wed Aug 12 13:10:06 1998
75 Received: from aleve.media.mit.edu by hub.media.mit.edu; (5.65v3.2/1.1/06Jun95-8.2MPM)
76 id AA07529; Wed, 12 Aug 1998 13:10:06 -0400
77 Received: from quackerjack.cc.vt.edu ([email protected] [198.82.160.250])
78 by aleve.media.mit.edu (8.8.7/ML970927) with ESMTP id MAA05729
79 for <[email protected]>; Wed, 12 Aug 1998 12:13:53 -0400 (EDT)
80 Received: from sable.cc.vt.edu (sable.cc.vt.edu [128.173.16.30])
81 by quackerjack.cc.vt.edu (8.8.8/8.8.8) with ESMTP id MAA20678
82 for <[email protected]>; Wed, 12 Aug 1998 12:20:09 -0400 (EDT)
83 Received: from research10.phys.vt.edu (dhcp9.phys.vt.edu [128.173.176.166])
84 by sable.cc.vt.edu (8.8.8/8.8.8) with SMTP id MAA05159
85 for <[email protected]>; Wed, 12 Aug 1998 12:13:51 -0400 (EDT)
86 Message-Id: <[email protected]>
87 X-Sender: [email protected] (Unverified)
88 X-Mailer: QUALCOMM Windows Eudora Light Version 3.0.5 (32)
89 Date: Wed, 12 Aug 1998 12:13:45 -0400
90 To: [email protected]
91 From: Mark Wallace <[email protected]>
92 Subject: serial library for C++
93 Mime-Version: 1.0
94 Content-Type: text/plain; charset="us-ascii"
95
96 Hello,
97 I have a handy board with poloroid transducers and I am trying use the
98 results of my distance measurments in a C++ program on the computer. I
99 have found programs on the handyboard web page that should alow the
100 handyboard to transmit information over the serial line. What I am looking
101 for is if anyone knows were I could find a serial for Microsofts
102 Visual C++ 5.0. I would like to find one that is free or sharware but any
103 information on any serial that will work would be appreciated.
104 Thanks.
105 Mark Wallace
106
107 e-mail [email protected]
108 [email protected]
109 web page http://sps1.phys.vt.ede/~mwallace
110
111 "What a waist it would be after 4 billion tortuous years of evolution if
112 the dominant organism contrived its own self-distruction"
113 Carl Sagan
114
115
116 From [email protected] Wed Aug 12 13:42:19 1998
117 Received: from aleve.media.mit.edu by hub.media.mit.edu; (5.65v3.2/1.1/06Jun95-8.2MPM)
118 id AA13439; Wed, 12 Aug 1998 13:42:19 -0400
119 Received: from mail3.sirius.com (mail3.sirius.com [205.134.253.133])
120 by aleve.media.mit.edu (8.8.7/ML970927) with ESMTP id MAA10630
121 for <[email protected]>; Wed, 12 Aug 1998 12:48:27 -0400 (EDT)
122 Received: from aarone (ppp-asfm05--041.sirius.net [205.134.241.41])
123 by mail3.sirius.com (8.8.7/Sirius-8.8.7-97.08.12) with SMTP id JAA20821;
124 Wed, 12 Aug 1998 09:48:24 -0700 (PDT)
125 Message-Id: <[email protected]>
126 From: "Aaron Edsinger" <[email protected]>
127 To: "Mark Wallace" <[email protected]>
128 Cc: "handy" <[email protected]>
129 Subject: Re: serial library for C++
130 Date: Wed, 12 Aug 1998 12:53:41 -0700
131 Mime-Version: 1.0
132 Content-Type: text/plain;
133 charset="iso-8859-1"
134 Content-Transfer-Encoding: 7bit
135 X-Priority: 3
136 X-Msmail-Priority: Normal
137 X-Mailer: Microsoft Outlook Express 4.72.2106.4
138 X-Mimeole: Produced By Microsoft MimeOLE V4.72.2106.4
139
140
141 Check out this site. It works well. The only problem I had was timing
142 issues when trying to read and write to the port too quickly.
143
144 http://www.codeguru.com/show.cgi?general=/misc/misc_toc.shtml
145
146
147 -----Original Message-----
148 From: Mark Wallace <[email protected]>
149 To: [email protected] <[email protected]>
150 Date: Wednesday, August 12, 1998 9:25 AM
151 Subject: serial library for C++
152
153
154 >Hello,
155 > I have a handy board with poloroid transducers and I am trying use the
156 >results of my distance measurments in a C++ program on the computer. I
157 >have found programs on the handyboard web page that should alow the
158 >handyboard to transmit information over the serial line. What I am looking
159 >for is if anyone knows were I could find a serial library for Microsofts
160 >Visual C++ 5.0. I would like to find one that is free or sharware but any
161 >information on any serial librarys that will work would be appreciated.
162 >Thanks.
163 >Mark Wallace
164 >
165 > e-mail [email protected]
166 > [email protected]
167 >web page http://sps1.phys.vt.ede/~mwallace
168 >
169 >"What a waist it would be after 4 billion tortuous years of evolution if
170 >the dominant organism contrived its own self-distruction"
171 > Carl Sagan
172 >
173