Jump to content

Recommended Posts

Posted

I have a quick question about the capacitors for the servo board.In the pdf, it says C3 and C4 are 22pf caps (not polarised) In the parts list, it doesn't even mention C1 and C2.From looking at the schematic, C1 and C2 are 22pf, C3 is 10u (polarised) and what is C4 (which is not in the schematic)?ThanksDavid

Posted

Once again, thank you Norbert.You are always reliable for the correct answer.RegardsDavid

Posted

Hey Norbert,I have been trying to register and login in to Flightdeckbuilder.nl to have a look at your SDK examples and have not been able to log in. It keeps rejecting my password. I did the lost password thing and tried again but it still won't let me in.I get this message and the login box again: Login fout! Probeer opnieuw...I don't understand Dutch but I have used babelfish to translate.I have sent an email to the webmaster. Do you have any suggestions.Do you have your SDK examples up anywhere else.Thanks again.David

Posted

The webmaster will help you I am sure.I have all the code here: and translated the few Dutch lines in it.Perhaps it can be of any help for al the English talking FSBUS users.I can confirm that all this code works with me.Some parts have already a CID and RID, change that to your setting offcourse.Another advice, start with one thing at a time, get it working and add the second one.Put all the F objects in one file together (will be the same for every builder), put C A R objects in separate files ( all centre pedestals things in one file, everything in the OVH in one file etc). NorbertGEAR I use 2 microswitches. One closes when gear up, one when it is down F, FGearPosition 0, 0x0be8, U32, 1, 1, 6, 0, W C, CSGearUp, SWITCH, CID, RID, POSEDGE C, CSGearDown, SWITCH, CID, RID, POSEDGE R, , CSGearUp, FGearPosition,0, 1, 0, R, , CSGearDown, FGearPosition,0, 1, 16383,------------------------------------------------------TOGA buttonI use a simple momentary button with a led. Led not in the code yet. F, FAPATTOGA, 0, 0x080c, U32, 1, 1, 4, 0, W C, CSAPATTOGA, SWITCH, CID, RID, POSEDGE|TOGGLE R, TOGA, CSAPATTOGA, FAPATTOGA, 1, 1, 0,------------------------------------------------------Parking Braketoggle switchF, FParkBrake, 0, 0x0bc8, U16, 1, 1, 6, 0, W C, CSParkBrake, SWITCH, CID, RID, R, Parkbr, CSParkBrake, FParkBrake, 1, 1, 0,------------------------------------------------------AutobrakeI use a 12 position switch, 6 positions are used F, FAutobrake, 0, 0x2f80, U8, 1, 1, 6, 0, W C, CSAutobrRTO, SWITCH, CID, RID, POSEDGE C, CSAutobrOff, SWITCH, CID, RID, POSEDGE C, CSAutobr_1, SWITCH, CID, RID, POSEDGE C, CSAutobr_2, SWITCH, CID, RID, POSEDGE C, CSAutobr_3, SWITCH, CID, RID, POSEDGE C, CSAutobrMax, S WITCH, CID, RID, POSEDGE R, Autobr, CSAutobrRTO, FAutobrake, 0, 1, 0, R, , CSAutobrOff, FAutobrake, 0, 1, 1, R, , CSAutobr_1, FAutobrake, 0, 1, 2, R, , CSAutobr_2, FAutobrake, 0, 1, 3, R, , CSAutobr_3, FAutobrake, 0, 1, 4, R, , CSAutobrMax, FAutobrake, 0, 1, 5,------------------------------------------------------VOR/ADF IDENTButtons on the RMP to hear the morse identifcation code F, FRadioSound, 0, 0x3122, U8, 1, 1, 4, 0, RW F, FAdf2Sound, 0, 0x02fb, U8 , 1, 1, 4, 0, RW C, CSVor1Morse, SWITCH, CID, RID, POSEDGE|TOGGLE, C, CSVor2Morse, SWITCH, CID, RID, POSEDGE|TOGGLE, C, CSAdf1Morse, SWITCH, CID, RID, POSEDGE|TOGGLE, C, CSAdf2Morse, SWITCH, CID, RID, POSEDGE|TOGGLE, R, Morse, CSVor1Morse, FRadioSound, 16, 1, 0, R, , CSVor2Morse, FRadioSound, 8, 1, 0, R, , CSAdf1Morse, FRadioSound, 1, 1, 0, R, , CSAdf2Morse, FAdf2Sound, 1, 1, 0,------------------------------------------------------TransponderI use 2 rotaries, turn the first ccw , 1000 is added, turn cw 100 is added. the 2nd rotarie gives 10 and 1. This special xndr function is build into fsbus.The BCD flaf in the accumulator gives a 0 after the 7.F, FXpndr, 0, 0x0354, BCD4, 1, 1, 2, 0, RW C, CDXpndr, DISPLAY, CID, 0, LEADZERO, 4, 2, 0 C, CRXpndrL, ROTARY, CID, RID, C, CRXpndrR, ROTARY, CID, RID, A, AXpndr, 1, 7777, BCD R, Xpndr, CRXpndrR, AXpndr, -1, 1, 0, ADDVAL|XPNDR R, , CRXpndrL, AXpndr, -100, 1, 0, ADDVAL|XPNDR R, , AXpndr, CDXpndr, 1, 1, 0, R, , AXpndr, FXpndr, 1, 1, 0, R, , FXpndr, AXpndr, 1, 1, 0,------------------------------------------------------COM1/2Every com has 2 displays with 5 7segm leds , 2 rotaries(one for fractals, one for integers, and one swap button)F, FCom1, 0, 0x034e, BCD4T, 1, 1, 4, 0, RW F, FCom1Stb, 0, 0x311a, BCD4T, 1, 1, 4, 0, RW F, FCom1Swap, 0, 0x3123, U8, 1, 1, 4, 0, W F, FCom2, 0, 0x3118, BCD4T, 1, 1, 4, 0, RW F, FCom2Stb, 0, 0x311c, BCD4T, 1, 1, 4, 0, RW F, FCom2Swap, 0, 0x3123, U8, 1, 1, 4, 0, W C, CDCom1, DISPLAY, CID, 0, , 5, 1, 2 C, CDCom1Stb, DISPLAY, CID, 0, , 5, 1, 2 C, CRCom1Int, ROTARY, CID, RID, C, CRCom1Fract, ROTARY, CID, RID, C, CSCom1Swap, SWITCH, CID, RID, C, CDCom2, DISPLAY, CID, 0, , 5, 1, 2 C, CDCom2Stb, DISPLAY, CID, 0, , 5, 1, 2 C, CRCom2Int, ROTARY, CID, RID, C, CRCom2Fract, ROTARY, CID, RID, C, CSCom2Swap, SWITCH, CID, RID, A, ACom1Stb, 118000, 136000, A, ACom2Stb, 118000, 136000, R, Com1, FCom1Stb, ACom1Stb, 1, 1, 0, R, , ACom1Stb, FCom1Stb, 1, 1, 0, R, , ACom1Stb, CDCom1Stb, 1, 1, 0, R, , CRCom1Int, ACom1Stb, 1000, 1, 0, ADDVAL R, , CRCom1Fract, ACom1Stb, 25, 1, 0, ADDVAL R, , FCom1, CDCom1, 1, 1, 0, R, , CSCom1Swap, FRadioSwap, 8, 1, 0, R, Com2, FCom2Stb, ACom2Stb, 1, 1, 0, R, , ACom2Stb, FCom2Stb, 1, 1, 0, R, , ACom2Stb, CDCom2Stb, 1, 1, 0, R, , CRCom2Int, ACom2Stb, 1000, 1, 0, ADDVAL R, , CRCom2Fract, ACom2Stb, 25, 1, 0, ADDVAL R, , FCom2, CDCom2, 1, 1, 0, R, , CSCom2Swap, FRadioSwap, 4, 1, 0,------------------------------------------------------NAV1/2 same as aboveF, FNav1, 0, 0x0350, BCD4T, 1, 1, 4, 0, RW F, FNav1Stb, 0, 0x311e, BCD4T, 1, 1, 4, 0, RW F, FNav1Swap, 0 , 0x3123, U8, 1, 1, 4, 0, W F, FNav2, 0, 0x0352, BCD4T, 1, 1, 4, 0, RW F, FNav2Stb, 0, 0x3120, BCD4T, 1, 1, 4, 0, RW F, FNav2Swap, 0, 0x3123, U8, 1, 1, 4, 0, W C, CDNav1, DISPLAY, CID, 0, , 5, 1, 2 C, CDNav1Stb, DISPLAY, CID, 0, , 5, 1, 2 C, CRNav1Int, ROTARY, CID, RID, C, CRNav1Fract, ROTARY, CID, C, CSNav1Swap, SWITCH, CID, C, CDNav2, DISPLAY, CID, 0, , 5, 1, 2 C, CDNav2Stb, DISPLAY, CID, 0, , 5, 1, 2 C, CRNav2Int, ROTARY, CID, C, CRNav2Fract, ROTARY, CID, C, CSNav2Swap, SWITCH, CID, A, ANav1Stb, 108000, 117000, NO1000WRAP A, ANav2Stb, 108000, 117000, NO1000WRAP R, Nav1, FNav1Stb, ANav1Stb, 1, 1, 0, R, , ANav1Stb, FNav1Stb, 1, 1, 0, R, , ANav1Stb, CDNav1Stb, 1, 1, 0, R, , CRNav1Int, ANav1Stb, 1000, 1, 0, ADDVAL R, , CRNav1Fract, ANav1Stb, 50, 1, 0, ADDVAL R, , FNav1, CDNav1, 1, 1, 0, R, , CSNav1Swap, FRadioSwap, 2, 1, 0, R, Nav2, FNav2Stb, ANav2Stb, 1, 1, 0, R, , ANav2Stb, FNav2Stb, 1, 1, 0, R, , ANav2Stb, CDNav2Stb, 1, 1, 0, R, , CRNav2Int, ANav2Stb, 1000, 1, 0, ADDVAL R, , CRNav2Fract, ANav2Stb, 50, 1, 0, ADDVAL R, , FNav2, CDNav2, 1, 1, 0, R, , CSNav2Swap, FRadioSwap, 1, 1, 0,------------------------------------------------------ADF1/2Time for some basiccodeHardware. I use a panel with 2 displays (5 7 segm leds). It contains 2 dual concentric rotaries. Between the displays is a toggle switch. When it is swithced to the left, al the input of the rotaries go to ADF1 (left one). If the switch is toggled to the right side, the input goes to ADF2------------------------------------b777.dab file: dim Var_AdfSwap sub OnBegin LoadConfigFile("B777.ini") LoadConfigFile("B777_pedestal.ini") Var_AdfSwap = 1 Print ("FSBUS BASIC - RUNNING") end sub '------------------------------------------------------------------------------- ' ROTARY TRANFER ADF1/ADF2 ' pressing changes rotary activity from ADF1 tot ADF2 and vv. '------------------------------------------------------------------------------- SUB OnCSAdfSwap dim Var_AdfRot if Var_AdfSwap = 1 . then ' ADF Rotaries active on ADF2 Disable ("RAdf1" ) Var_AdfRot = Get("FAdf2")' Variable indicates ADF2 Frequency Set ("AAdfRot", Var_AdfRot) Enable ("RAdf2") Var_AdfSwap = 2 else ' ADF Rotaries active on ADF1 Disable ("RAdf2") Var_AdfRot = Get("FAdf1")' Variable indicates ADF1 Frequency Set ("AAdfRot", Var_AdfRot) Enable ("RAdf1") Var_AdfSwap = 1 end if END SUB ----------------------lines from b777.ini file ' FADF is computed intern. Do not use __FADF in router. FADF contains the ' complete ADF value F, FAdf1, 0, 0x034c, BCD4, 1, 1, 1, 0, RW F, __FAdf1, 0, 0x0356, BCD4, 1, 1, 1, 0, RW F, FAdf2, 0, 0x02d4, BCD4, 1, 1, 1, 0, RW F, __FAdf2, 0, 0x02d6, BCD4, 1, 1, 1, 0, RW ----------------------------------------------lines from b777_pedestal.ini: C, CDAdf1, DISPLAY, CID, LEADZERO, 5, 1, 1 C, CDAdf2, DISPLAY, CID, 0, LEADZERO, 5, 1, 1 C, CRAdf_100, ROTARY, CID, RID, C, CRAdf_10, ROTARY, CID, RID, C, CRAdf_1, ROTARY, CID, RID, C, CRAdf_fract, ROTARY, CID, RID, C, CSAdfSwap, SWITCH, CID, RID, A, AAdfRot, 01000, 18000, A, AAdf1, 01000, 18000, A, AAdf2, 01000, 18000, R, Adf, CRAdf_100, AAdfRot, 1, 1, 0, ADDVAL|DIGIT|WRAP,3,2 R, , CRAdf_10, AAdfRot, 1, 1, 0, ADDVAL|DIGIT|WRAP,2,1 R, , CRAdf_1, AAdfRot, 1, 1, 0, ADDVAL|DIGIT|WRAP,1,1 R, , CRAdf_fract, AAdfRot, 1, 1, 0, ADDVAL|DIGIT|WRAP,0,1 R, RAdf1, AAdfRot, AAdf1, 1, 1, 0, R, , AAdf1, CDAdf1, 1, 1, 0, R, , AAdf1, FAdf1, 1, 1, 0, R, , FAdf1, AAdf1, 1, 1, 0, R, RAdf2, AAdfRot, AAdf2, 1, 1, 0, DISABLE R, , AAdf2, CDAdf2, 1, 1, 0, R, , AAdf2, FAdf2, 1, 1, 0, R, , FAdf2, AAdf2, 1, 1, 0, ----------------------------------------------------------------------RUDDERTRIMrotarie encoder F,FRTrim, 0,0x2ec0, DBL,500,1,6,0,RW C,CRRTrim,ROTARY,1,60, A,ARTrim,-90,90, R, RTrim,CRRTrim, ARTrim,1,1,0,ADDVAL R,,ARTrim,FRTrim,1,1,0, R,,FRTrim,ARTrim,1,1,0, ----------------------------------------------------------------------AILERONTRIM(mom)-of-(mom) switchF, FAilTrim, 0, 0x2eb0, DBL, 100, 1, 6, 0, RW C, CSAilTrimL, SWITCH, 1, 62, POSEDGE C, CSAilTrimR, SWITCH, 1, 63, POSEDGE A, AAilTrim, -18, 18, R, ATrim, CSAilTrimL, AAilTrim, -1, 1, 0, ADDVAL R, , CSAilTrimR, AAilTrim, 1, 1, 0, ADDVAL R, , AAilTrim, FAilTrim, 1, 1, 0, R, , FAilTrim, AAilTrim, 1, 1, 0,----------------------------------------------------------------------THROTTLES2 potmeters,it is better to use joystick cards for controls. They go with priority to the sim. For a throttle is is not a big issue but for the primaryflight controls it is better not ti use fsbus.F, FThrottle1, 0, 0x089a, I16, 1, 1, 1, 0, W F, FThrottle2, 0, 0x0932, I16, 1, 1, 1, 0, W C, CPThrottle1, POTI, 1, 0, C, CPThrottle2, POTI, 1, 1, R, , CPThrottle1, FThrottle1, 65, 1, 0, R, , CPThrottle2, FThrottle2, 65, 1, 0, ----------------------------------------------------------------------EFIS 2 panel'FLIGHTSIMULATOR - EFIS2 '-----------------------------' NAME ID OFFSET TYPE MUL DIV INT PAR FLAGS '-----------------------------F, FEFIS2, 0, 0x04f4, I16, 1, 1, 6, 0, RW F, FAltSetPM, 0, 0x552e, I16, 1, 4, 6, 0, RW F, FDHPM, 0, 0x5532, I16, 1, 1, 6, 0, RW 'EFIS2 C, CSFPV, SWITCH, 2, 33, C, CSMTRS, SWITCH, 2, 32, C, CRAltSetPM, ROTARY, 2, 4, C, CRDHPM, ROTARY, 2, 0, C, CSAdfL, SWITCH, 2, 38, NEGEDGE C, CSVorL, SWITCH, 2, 39, NEGEDGE C, CSAdfR, SWITCH, 2, 17, NEGEDGE C, CSVorR, SWITCH, 2, 16, NEGEDGE C, CSApp, SWITCH, 2, 34, NEGEDGE C, CSVor, SWITCH, 2, 35, NEGEDGE C, CSMap, SWITCH, 2, 36, NEGEDGE C, CSPlan, SWITCH, 2, 37, NEGEDGE C, CSND10, SWITCH, 2, 48, NEGEDGE C, CSND20, SWITCH, 2, 49, NEGEDGE C, CSND40, SWITCH, 2, 50, NEGEDGE C, CSND80, SWITCH, 2, 51, NEGEDGE C, CSND160, SWITCH, 2, 52, NEGEDGE C, CSND320, SWITCH, 2, 53, NEGEDGE C, CSND640, SWITCH, 2, 54, NEGEDGE C, CSWxr, SWITCH, 2, 23, NEGEDGE C, CSSta, SWITCH, 2, 22, NEGEDGE C, CSWpt, SWITCH, 2, 21, NEGEDGE C, CSArpt, SWITCH, 2, 20, NEGEDGE C, CSData, SWITCH, 2, 19, NEGEDGE C, CSPos, SWITCH, 2, 18, NEGEDGE A, AAltSetPM, 100, 6000, NO1000WRAP A, ADHPM, 0, 100, 'EFIS2 R, , CSFPV, FEFIS2, 1, 1, 114, R, , CSMTRS, FEFIS2, 1, 1, 126, R, , CSAdfL, FEFIS2, 1, 1, 174, R, , CSVorL, FEFIS2, 1, 1, 175, R, , CSAdfR, FEFIS2, 1, 1, 177, R, , CSVorR, FEFIS2, 1, 1, 178, R, , CSApp, FEFIS2, 1, 1, 105, R, , CSVor, FEFIS2, 1, 1, 103, R, , CSMap, FEFIS2, 1, 1, 101, R, , CSPlan, FEFIS2, 1, 1, 104, R, , CSND10, FEFIS2, 1, 1, 141, R, , CSND20, FEFIS2, 1, 1, 142, R, , CSND40, FEFIS2, 1, 1, 143, R, , CSND80, FEFIS2, 1, 1, 144, R, , CSND160, FEFIS2, 1, 1, 145, R, , CSND320, FEFIS2, 1, 1, 146, R, , CSND640, FEFIS2, 1, 1, 147, R, , CSWxr, FEFIS2, 1, 1, 172, R, , CSSta, FEFIS2, 1, 1, 190, R, , CSWpt, FEFIS2, 1, 1, 193, R, , CSArpt, FEFIS2, 1, 1, 194, R, , CSData, FEFIS2, 1, 1, 195, R, , CSPos, FEFIS2, 1, 1, 196, R,Kollsman,CRAltSetPM, AAltSetPM, 1, 1, 0, ADDVAL R, , AAltSetPM, FAltSetPM, 1, 1, 0 R, , FAltSetPM, AAltSetPM, 1, 1, 0 R, DHPM, CRDHPM, ADHPM, 1, 1, 0, ADDVAL R, , ADHPM, FDHPM, 1, 1, 0 R, , FDHPM, ADHPM, 1, 1, 0

Posted

Oh, just have another quick question.In the manual for the FSBus Servo, Dirk gives examples of the different coloured wires for different brands of servos.Is there a simple way to test using a multi-meter?ThanksDavid

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Tom Allensworth,
    Founder of AVSIM Online


  • Flight Simulation's Premier Resource!

    AVSIM is a free service to the flight simulation community. AVSIM is staffed completely by volunteers and all funds donated to AVSIM go directly back to supporting the community. Your donation here helps to pay our bandwidth costs, emergency funding, and other general costs that crop up from time to time. Thank you for your support!

    Click here for more information and to see all donations year to date.
×
×
  • Create New...