R: [simpits-tech] How 1 hour becomes 3+ (Progress update)
Davide
simpits-tech@simpits.org
Sat, 2 Mar 2002 00:49:39 +0100
This is a multi-part message in MIME format.
------=_NextPart_000_00D3_01C1C184.21F47FC0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
How 1 hour becomes 3+ (Progress update)Nice Work Wiebe !=20
I think i'll need your help to lights up my instruments.
Hope not to borry with a "river" of questions.
too late to begin ! ....
http://www.geocities.com/fox_two_64/Eng.html
----- Original Message -----=20
From: Wiebe, Alex=20
To: 'simpits-tech@simpits.org'=20
Sent: Tuesday, February 26, 2002 5:08 PM
Subject: [simpits-tech] How 1 hour becomes 3+ (Progress update)
What a night! A while back a managed to assemble my HSI gauge, but =
hadn't found time to get the software working. Over the weekend I =
grabbed WideFS (thanks Gene for the pointer) and last night I started =
tackling more then one problem at once (never a good sign). I've been =
staying up far too late over the last few nights, and had decided to =
give my pit a good 1 hour, and then go to bed. I even set my watch alarm =
to 9:50PM to remind myself to be responsible and get some sleep...
I rewrote my servo driver to be an executable so I can use WideFS =
instead of the bulkier FS98 installation. I then tried to get it to work =
with the newly build HSI - nothing.
So I wrote a test program, and spent a long time wondering why the =
pitch / bank information wasn't changing. (beep-beep-beep - its 9:50, =
I'm so close I can taste it! Just a couple more minutes.)
Turns out the math routines were performing rounding too soon. After =
changing the=20
'* 360 / (65356 * 65356)'=20
to the following;=20
'* 360.0 / (65356.0 * 65356.0)'=20
the data started working! Wheee! (At this point it is 10:30PM)=20
Well, now I have the program working, and the HSI is sitting there =
looking at me. Ok, port the code to the driver and see if it works. Then =
I'll go to bed. Well, it turns, but the pitch is inverted! Easy fix, =
recompile and go. Pitch is fixed. Bank is off. I knew it would be - the =
servo was mounted with a best guess as to centre (for that matter so was =
the pitch - guess I got lucky there).
Add a fudge factor, recompile, test, repeat.=20
It's close, but, the bank range is limited to +/- 45 degrees! (It's =
now 11:30PM, time for bed, I'll fix it another day)=20
I thought I had the controller driving the servo +/- 90 degrees! Nope, =
forgot that jumper. Adding the jumper only takes 2 minutes! Dang, now I =
need to recalibrate it... lather,rinse,repeat
12:00AM Hooray! It's working! I wonder what it looks like mounted in =
the dash (I just painted it "Knight's Armour" on the weekend)?
12:30AM After a couple touch-n-goes, the instrument looks pretty =
sweet. I stumble into bed mumbling something about hoping the coffee's =
extra strong at work tomorrow...
http://www.geocities.com/ehud42/pics/HSI_Construction/gallery.htm=20
------=_NextPart_000_00D3_01C1C184.21F47FC0
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>How 1 hour becomes 3+ (Progress update)</TITLE>
<META content=3D"text/html; charset=3Diso-8859-1" =
http-equiv=3DContent-Type>
<META content=3D"MSHTML 5.00.2614.3500" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Nice Work Wiebe ! </FONT></DIV>
<DIV><FONT face=3DArial>I think i'll need your help to lights up my=20
instruments.</FONT></DIV>
<DIV><FONT face=3DArial>Hope not to borry with a "river" of=20
questions.</FONT></DIV>
<DIV><BR><FONT face=3DArial size=3D2>too late to begin ! =
....</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial><A=20
href=3D"http://www.geocities.com/fox_two_64/Eng.html">http://www.geocitie=
s.com/fox_two_64/Eng.html</A></FONT></DIV>
<DIV> </DIV>
<BLOCKQUOTE=20
style=3D"BORDER-LEFT: #000000 2px solid; MARGIN-LEFT: 5px; MARGIN-RIGHT: =
0px; PADDING-LEFT: 5px; PADDING-RIGHT: 0px">
<DIV style=3D"FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV=20
style=3D"BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: =
black"><B>From:</B>=20
<A href=3D"mailto:AWiebe@online-can.com" =
title=3DAWiebe@online-can.com>Wiebe,=20
Alex</A> </DIV>
<DIV style=3D"FONT: 10pt arial"><B>To:</B> <A=20
href=3D"mailto:'simpits-tech@simpits.org'"=20
title=3Dsimpits-tech@simpits.org>'simpits-tech@simpits.org'</A> </DIV>
<DIV style=3D"FONT: 10pt arial"><B>Sent:</B> Tuesday, February 26, =
2002 5:08=20
PM</DIV>
<DIV style=3D"FONT: 10pt arial"><B>Subject:</B> [simpits-tech] How 1 =
hour=20
becomes 3+ (Progress update)</DIV>
<DIV><BR></DIV>
<P><FONT size=3D2>What a night! A while back a managed to assemble my =
HSI gauge,=20
but hadn't found time to get the software working. Over the weekend I =
grabbed=20
WideFS (thanks Gene for the pointer) and last night I started tackling =
more=20
then one problem at once (never a good sign). I've been staying up far =
too=20
late over the last few nights, and had decided to give my pit a good 1 =
hour,=20
and then go to bed. I even set my watch alarm to 9:50PM to remind =
myself to be=20
responsible and get some sleep...</FONT></P>
<P><FONT size=3D2>I rewrote my servo driver to be an executable so I =
can use=20
WideFS instead of the bulkier FS98 installation. I then tried to get =
it to=20
work with the newly build HSI - nothing.</FONT></P>
<P><FONT size=3D2>So I wrote a test program, and spent a long time =
wondering why=20
the pitch / bank information wasn't changing. (beep-beep-beep - its =
9:50, I'm=20
so close I can taste it! Just a couple more minutes.)</FONT></P>
<P><FONT size=3D2>Turns out the math routines were performing rounding =
too soon.=20
After changing the </FONT></P>
<P><FONT size=3D2>'* 360 / (65356 * 65356)'</FONT> </P>
<P><FONT size=3D2>to the following;</FONT> </P>
<P><FONT size=3D2>'* 360.0 / (65356.0 * 65356.0)'</FONT> </P>
<P><FONT size=3D2>the data started working! Wheee! (At this point it =
is=20
10:30PM)</FONT> </P>
<P><FONT size=3D2>Well, now I have the program working, and the HSI is =
sitting=20
there looking at me. Ok, port the code to the driver and see if it =
works. Then=20
I'll go to bed. Well, it turns, but the pitch is inverted! Easy fix, =
recompile=20
and go. Pitch is fixed. Bank is off. I knew it would be - the servo =
was=20
mounted with a best guess as to centre (for that matter so was the =
pitch -=20
guess I got lucky there).</FONT></P>
<P><FONT size=3D2>Add a fudge factor, recompile, test, repeat.</FONT> =
</P>
<P><FONT size=3D2>It's close, but, the bank range is limited to +/- 45 =
degrees!=20
(It's now 11:30PM, time for bed, I'll fix it another day)</FONT> </P>
<P><FONT size=3D2>I thought I had the controller driving the servo +/- =
90=20
degrees! Nope, forgot that jumper. Adding the jumper only takes 2 =
minutes!=20
Dang, now I need to recalibrate it... lather,rinse,repeat</FONT></P>
<P><FONT size=3D2>12:00AM Hooray! It's working! I wonder what it looks =
like=20
mounted in the dash (I just painted it "Knight's Armour" on the=20
weekend)?</FONT></P>
<P><FONT size=3D2>12:30AM After a couple touch-n-goes, the instrument =
looks=20
pretty sweet. I stumble into bed mumbling something about hoping the =
coffee's=20
extra strong at work tomorrow...</FONT></P>
<P><FONT size=3D2><A=20
=
href=3D"http://www.geocities.com/ehud42/pics/HSI_Construction/gallery.htm=
"=20
=
target=3D_blank>http://www.geocities.com/ehud42/pics/HSI_Construction/gal=
lery.htm</A></FONT>=20
</P></BLOCKQUOTE></BODY></HTML>
------=_NextPart_000_00D3_01C1C184.21F47FC0--