Should put the fix up Trevor. It may benefit someone else.
David
Printable View
Should put the fix up Trevor. It may benefit someone else.
David
here is the cpp and you should know where to put each of these
Code:static int L_LOW_FUEL_MAIN;
static int L_LOW_FUEL_AUX;
---------------------------------------------------------------
MkFsbusObject(BTP_D_OUT, C_L_LOW_FUEL, "OID", EventHandler, 30, 15);
---------------------------------------------------------------
MkFsObject(FS_L_LOW_FUEL_MAIN, "OID", EventHandler, 0x0B7C, 4, TP_I32, FS_QUICK);
MkFsObject(FS_L_LOW_FUEL_AUX, "OID", EventHandler, 0x0B84, 4, TP_I32, FS_QUICK);
---------------------------------------------------------------
case FS_L_LOW_FUEL_MAIN:
L_LOW_FUEL_MAIN=val;
lowFuel();
break;
case FS_L_LOW_FUEL_AUX:
L_LOW_FUEL_AUX=val;
lowFuel();
break;
---------------------------------------------------------------
extern void lowFuelr()
{
int fuelsummeryr;
fuelsummeryr=(R_LOW_FUEL_MAIN+R_LOW_FUEL_AUX);
if (fuelsummeryr >= 1069672)
FsbusWrite (C_R_LOW_FUEL, 0);
else
FsbusWrite (C_R_LOW_FUEL, 1);
}
the h
PS Stefan did help me out on this oneCode:C_L_LOW_FUEL,
FS_L_LOW_FUEL,
FS_L_LOW_FUEL_MAIN,
FS_L_LOW_FUEL_AUX
-----------------------------------
extern void lowFuel(void);
Trevor
Stefan,
How are you going with the testing of your stepper board?
Have you found any problems yet?
David
Hi,
since Sep. 2009 my Steppercard is in a box. I don´t need them anymore.
Some days ago i talked to Trevor about the same, if i have time i will make some tests.
Stefan
Thanks Stefan.
Can you clarify some of the components for me. The image in the pdf is not very clear.
R1 47k
R2 3k3
R3 100R
R4 220R
D1 1N4148
C1 100n
C2 100pf radiolytic
C3 100u
C4 22pf
C5 22pf
Q1 8mhz
On the optical interrupter, is it possible to wire three of these either in series or parallel? The Altimeter design requires 3 of them for 100's 1000's and 10,000's needles.
Thanks
David
not sure if it helps but there is a wireing diagram in the pdf
Trevor
Hi Trevor,
That's what I'm talking about. The image is low res and I am having trouble seeing the p's and n's on the caps and a couple of the resistors. The more I magnify it the worse it gets, so I thought I'd put them all down just to check.
o ok NM yeah i have done that and long behold, I was wrong on some of them so yeah it wouldn't be a bad idea to double check. And you should get on skype more.
Trevor
My Values.
C2 100uf
C3 100nf
Stefan
Thanks Stefan.
Ok, now here is a challange (or maybe not)
With my altimeter gauge, there are three needles and the design allows for 3 optical interupers in order for the gauge to return to zero statefor all three needles. The stepper board only shows one interuper.
I have a little jpg I've done up with the three interupers and the one set of 4 pins on the stepper board. Can anyone show how I can wire this so that 3 interupers will work.
I've thought that if they were wired in parallel, the signal would not be complete untill all 3 had been interrupted if you know what I mean. If my understanding is correct, parallel would be wiring all three to the 4 pins ie: all pin 1 from the interupers goes to pin 1 on the stepper board and so on.
Your help is appreciate as always.
David