Home

OPENCOCKPITS IOCards USBExpansion + Master INSTALLATION

image

Contents

1. On the following image we can see an example of the wiring of several elements on the Master In it we can see clearly the switches connected to the pins 2 and 3 and also some pushbuttons on the pins 1 and 31 and finally an encoder connected to the pins 32 and 34 that correspond to the logical inputs number 29 and 30 this is in this way due that the encoders must be connected on two consecutive logical inputs As we also see here the GND in all cases always is from the same group where we connect the several devices 33 34 Pore ho oe sa nacau Da G OU 0000000 O G 0O 003404020 FA 200013050 een a Cr aa G E ey R 2 e KF I a a D 2 2 ip oe i sl e xt aP a o o a tr el ms a ae 5 5 SS A te a amp ss am amp amp il e Pin2 a anai M_ pe Ping e o OUTPUTS Each Master cards have up to 45 outputs in the two connector J2 and P2 38 and 7 outputs respectively this is a total of for the 4 Masters connected to the USBExpansion 180 outputs and the numbering as showed on the following table Master card number 32 PR 11 48 49 55 75 112 113 119 139 176 177 183 A 203 240 241 247 INSTALLATION AND USER S MANUAL IOCards USBExpansion Master Opencockpits INSTALLATION AND USER S MANUAL v1 0 All for your cockpit lOCards USBExpansion Master The outputs give us 5V on each in it we can connect usually leds because the amperage that the
2. outputs gives us is really low almost 25 mA on each outputs and we can t connect devices with an high consumption The wiring of those leds are as show on the following diagram Pinz GHD f _5 Pins Ns LED s Resistors IOCard Master 48Pin IDE Cable i Pin39 a 0c0006020000000300000200 coo O OvVovescoagecceccecoc geao aoa 33 J4 Due the voltage needed to power the own led we must use a resistor between the positive and the own led For the calculation of the value for this resistor you can found on Internet some free application to calculate this so if you want to calculate it there is the formula R V VIA Is Where V Power source voltage V LED voltage l LED Intensity amperage As an example we have the output that gives us 5V a led that uses 2 2V with an amperage of 20mA 0 02A and the calculation are R 5 2 2 0 02 140 ohmios Conclusion we need to use a resistor of 150 ohm because this is the lower standar resistor near to 140 ohm WE must also note the position of the LED because it has a positive cathode and negative anode This on the LED can be easily distinguished because they have two characteristics the legs of the leds are different the cathode is shorter than the anode and also inside the plastic you can see the extension of the leg to the anode side DISPLAYS Each Master card accepts
3. that this program is strictly to test the cards doesn t serve us a program of communication with the simulator as we will use as we will see our own programming language called SIOC On the main screen of the controlador we can see en their bottom right part a button with the legend start click over it should activate the cards and now we have access to its elements INSTALLATION AND USER S MANUAL IOCards USBExpansion Master ha O Opencockpits INSTALLATION AND USER S MANUAL v1 0 All for your cockpit lOCards USBExpansion Master 2 lOCards controller 1OCard Controller Ver 2 41 Port Addr 0378 By Manolo Velez Compatible Hode No necesita cable especial I0Card Simulator Desactivado IN DPLAY 11 55 Ol OFF Digit 8 9 1K Steeper DC Engine Delay Unipolar First Qutput 1 ke Bipolar D oie Half steep Forward V Filter Hasterk ES 2 al 4 A D 1 HA A D 2 HA A D 3 HA A D 4 HA Analogic E f LCD Inicialize servo Control Value 41pmbits First Output 111 126 First A i or irst Input LCD Test First Output Tor Parallel Port MZA IOCAADs Device Version N A USE Pot Enabled USE Device Number N A HN Card 1 AD A As an example if we need to test if an input works on which we have connected a switch simply we toggle this switch and on the Inputs little field on their right side we can see the cipher that identifies the last input
4. OPENCOCKPITS lOCards USBExpansion Master INSTALLATION AND USER S MANUAL Opencockpt ts INSTALLATION AND USER S MANUAL v1 0 All for your cockpit lOCards USBExpansion Master INTRODUCTION Due to the changes on the last generation of computers and the disappearance of the parallel ports on the PCs we can t give more technical support to the Master cards connected via parallel port so this guide is published only with the use of the Master joined to the USBExpansion The USBExpansion was designed specifically to connect to the USB port and improve the ease of configuration of both cards TARJETA MASTER COMPONENTS LIST P1 CONNECTOR DB25 MALE P2 CONNECTOR DB9 MALE JO 2 PINS POWER SOURCE J1 J2 J3 Y J4 CONNECTOR 40 PINS BT224 TYPE DIODE 1 DIODE 8 8 DIODES 1N4148 GROUPS TOTAL OF 72 R1 R9 RESISTORS 6K8 0 33W IC1 74HC154N 12 1C9 74H259 1 10 74HC541 O weel o bon BP Ja PL coaocopaoa of Te y oo na 290002200 e oo aj jo R4 oc oasgo5 q P la o a o 5 o o b x02 o alo soscossos a je E 3 o o 00000009 of jo o o a 186 o o R3 o o coo22000 o o as To o o o o ef jo o o o C o R7 o H jo 3 a o cs e oococaeco o o o coocooooocno o o o o o s o D o aj lo tes e a cocoocacr o o lo 22000030 o o a Q Q o o o aor elo co0oocao a did wu o o p oj 22009000 o a i gt oj Io o 9 o o ojojofojojofojojo oj ja a o G Dl i i 2 Ga oj o ol
5. SBExpansion Master PUESTA EN MARCHA DE LAS TARJETAS WIRING THE USBExpansion AND THE Master To USS Port in PC O exa o pee sea O x vo gt e ac rosa camo j Jard USBExpansiors La R gt gt a y ue re a Ind WASZER TO Sit RASTER CARD PEER SATE Po We must connect the cards as shown in the picture above taking note that we ONLY feed the Master card NOT the USBExpansion as discussed earlier in this manual and proceed to configure for testing purposes This should ideally connect elements to outputs and inputs for better testing of different devices The connections of these elements we have them described in this manual in the relevant sections OUTPUTS INPUTS DISPLAYS There is also an option to connect the inputs and outputs which greatly facilitates us the work of wiring that option is to use the easy connection option cards which are references 3T5 Inputs and 3T4 Outputs from our catalog see images gt TANAH Fa azm ER a f F ll l 1 minia i 3 as a cl erate F Once we have our different devices connected we configure the controlador ini file to detect our cards and in this way we can test it with the application controlador exe O INSTALLATION AND USER S MANUAL IOCards USBExpansion Master Opencockpits INSTALLATION AND USER S MANUAL v1 0 All for your cockpit lOCards USBExpansion Master CONTROLADOR INI FILE CONFIGURATION Below a
6. activated At the bottom of this we have a big white window where shows all activated inputs For the outputs we would use the box IN DPLAY which would put the output to activate and would click ON and OFF buttons to connect and disconnect the output however if we are to identify a way out would click on ON and ON thereby making each click on these buttons would activate sequentially ordered outputs In the case of a 7 segment display we would display the number in the box IN DPLAY and the number to represent in the Digit 0 9 field would click on OK and the selected digit number we would we ve indicated that they represent For analog inputs potentiometers in A D x field x represents the number of analog input we show the movement and consequently the values that make these inputs from their pots INSTALLATION AND USER S MANUAL IOCards USBExpansion Master ha ha Opencockpits INSTALLATION AND USER S MANUAL v1 0 All for your cockpit lOCards USBExpansion Master EJEMPLOS DE PROGRAMACION Switch indicator parking brake Var 0001 Link FSUIPC_INOUT Offset 0BC8 Length 2 parking brake Var 0002 Link IOCARD SW Input 10 IF V0002 1 VO001 32767 v0003 1 ELSE VO001 lt V0003 0 Vad a a temo Output 20 The only thing you must change in the script is marked in red representing the numbers that identify the inputs and outputs in our assembly As we can see the o
7. ad and write the value to make FS and hardware interact The second line declares the encoder where we see clearly that it is Type 2 which means it is connected directly to the Master in two consecutive inputs plus GND as we saw earlier in this manual The operation is as follows in a internal offset which is LO there are 3 internal variables LO L1 and L2 we say that turning the encoder each step is multiplied by 100 then values would take the values in this way 100 200 300 400 500 etc and if you turn in the opposite direction then decrease the values that is multiplied by 100 Also if by any case we connected the encoder upside down on that line then multiply by 100 which would change the direction of rotation of the encoder Then say to write in the variable VOOO4 which is subsequently declared as a display the limited value using the LIMIT function between 0 and 50000 feet and what you write as stated in LO each step 100 Finally we declare the display where we show that value to tell him that every change of the display the VOOO1 will send the value multiplied by a constant display which in this case is the conversion from feet to meters which is as FSUIPC ask to us Note Software programs circuits and content published in this paper and on our website are copyrighted by their developers who doesn t consent to their use for commercial gain unless authorized in writing The software and content p
8. clelolclaloloje s o of o o o io oj ja a 0020000230000 C05C000Ga0 22000000900 930I0C0cco0o0ogal O Mesoooce oaoeoaoeccoocosn HoesoceceocVvecaeanocagsca 33 34 N INSTALLATION AND USER S MANUAL lOCards USBExpansion Master Opencockpits INSTALLATION AND USER S MANUAL v1 0 All for your cockpit lOCards USBExpansion Master PRINCIPAL MEASURES 140 it cocoscoeo 2ocooo9co00o0go0 060220000085 0C0COS00SUaAS weaacecraocG0o0cecsaeocves DooGeGARAsooagcrtss7c8e cana as a4 J3 d al 5 CONNECTORS DESCRIPTION e P1 USBExpansion connector this connector allows to connect to the PC via USBExpansion e P2 7 auxiliary inputs connector e JO Power source connector the Master card must be powered always with 5V e Ji Bus for the DISPLAYS II cards this allow connect up to 4 displays card this is a total amount of 64 digits e J2 Outputs connector where you can connect and manage Leds The pin1 is the positive but usually never is used due that the outputs are feeded from the power source The pin2 is the GND and is common for all the outputs We can manage up to 38 outputs see image below e J3 Inputs connector we can connect switches pushbuttons etc it have 4 groups of 9 inputs plus a GND giving us a total of 36 inputs see image below e J4 Assame the J3 INPUTS The inputs on the Master card are formed in groups of 9 GND this means that we have a total of 36 inputs on each input co
9. in their displays bus up to four Displays Il cards UT INSTALLATION AND USER S MANUAL IOCards USBExpansion Master Opencockpits INSTALLATION AND USER S MANUAL v1 0 All for your cockpit lOCards USBExpansion Master The connector of this bus is the J1 connector and for the configuration of the cards we must use the own jumpers on the Displays card For a better configuration and use of this card please see the Installation and user s Manual for Displays Il card also available for download on our web O INSTALLATION AND USER S MANUAL lOCards USBExpansion Master Opencockpt ts INSTALLATION AND USER S MANUAL v1 0 All for your cockpit lOCards USBExpansion Master USBEXPANSION CARD COMPONENTS LIST J1 J2 J3 Y J4 CONNECTORS DB25 FEMALE SW1 J7 J8 J9YJ10 3 PINS MALE D1 RED LED J6 CONNECTOR FEMALE USB J5 2 PINS CONNECTOR FOR POWER SOURCE C1 CERAMIC CAPACITOR 220nF C2 Y C3 CERAMIC CAPACITOR 22pF C4 HASTA C13 CAPACITOR 0 1mF Q1 QUARTZ CRYSTAL 6 MHZ R1 RESISTOR 100R R2 RESISTOR 10K R3 RESISTOR 1K5 R4 RESISTOR 470R 1C1 IC2 IC3 IC4 IC8 IC9 IC10 IC11 74HC541 1IC5 74HC253 C6 74HC139 C7 160745 Icard USBExpansion ver 1 1 By Manuel Velez O O awed O aoo bi JT J8 19 JIG 15 a 9 36 EZ E 0005000000 poognaceoe ile sw Cd MR Ra al Ri 200900200500 es a o o R3 G 2 a o ol Hjo of lo o G a o lo
10. nnector J3 and J4 that is for each Master card connected to the USBExpansion we have 72 inputs that multiplied by 4 cards on each USBExpansion this means we have a total of 288 digital inputs numbered as on the following table Mastercard number J3inputs J4inputs 36 71 72 107 108 143 144 179 180 215 Oo o a l er 252 287 WW INSTALLATION AND USER S MANUAL IOCards USBExpansion Master Opencockpits INSTALLATION AND USER S MANUAL v1 0 All for your cockpit lOCards USBExpansion Master The virtual logical inputs doesn t correspond to the physical pin number the the input number O doesn t correspond with the pin number 1 the input number 1 doesn t correspond with the pin 2 etc The distribution of virtual numerical of the Master is as follows where we can see only the J3 connector but the logics are the same only varies on the numbers as an example on the J4 the pin 1 is the logical input number 36 the pin 2 is the 37 etc SS O29 Zt HAA oH FNANN ZAMAM Z Saeco ogcgceoeonsno6 sds soscissce amp i y i 00000090900 909000909 400090090 1 1 s J 1 SO II A AA AAA AA ADA AA A Y DOmomna SN DODOMA GANAN SD 0200941 HA STH HANNA NAN TM AN OM OS 2S ST THAAMWAS SO BWASCSNAPAS SO F Here we can see the several groups up to for on each connector and in every one we have a GND and it is NOT interchangeable that means that the inputs on each group must use their own GND not from another group
11. o ol Mia o o gt al ft lo alla 0 fo Ca ol YH lo a HE la n a B G a D 3 0 o o ol Y la o amp lo oj E lo al Be 3 ol lo ol lo c lt iElo a of ja oj Jo o lo o a a a o mis o O O O o o o 6 a 3 O D ja a o o o o o D a 3 o o 0 o a o 2 2 o o a a o a o D O oO o o Q o o a al o o O amp o e o O o C o cz o o o u J1 loo of Te 74 cS iz Q1 cia co gaxognaeanoroac 00000030090 G0O00002Gco00ao o a 2 rc of its d JN 103 d 2300000000 00000000 NS 050040000005 O sl ad E N INSTALLATION AND USER S MANUAL lOCards USBExpansion Master Opencockpits INSTALLATION AND USER S MANUAL v1 0 All for your cockpit lOCards USBExpansion Master PRINCIPAL MEASURES _ AAA 7 TaCard USBExpansion ver 1 1 By Manuel Velez 7 rn al Po rl CONNECTORS DESCRIPTION e J6 usb connector to PC e J1 J2 J3 J4 Master connector with the connection order for it the same order as the connectors e J7 J8 J9 J10 Analogic inputs we can connect potentiometers e J5 Connector for power source although it isn t necessary to feed the USBExpansion the connector is supplied to the case where the computer itself via the USB couldn t provide enough power for the electronic components of the own card e SW1 Reset of microchip not used usually 00 INSTALLATION AND USER S MANUAL IOCards USBExpansion Master Opencockpt ts INSTALLATION AND USER S MANUAL v1 0 All for your cockpit lOCards U
12. peration is very simple First you declare the variable S OBC8 FSUIPC which is the variable that handles the parking brake and is where we write the values that we send from our hardware In the next line we can see that the switch to the 10 input in our case when is ON value 1 sends to the offset V0001 the value 32 767 that is the value needed to activate the parking brake this is why we consulted before the list of values in the FSUIPC offsets and also sends an 1 to the V0003 which is an output for the parking brake light which makes light on the indicator If the value of the switch were any other then the VOOO1 sends the value O which causes it to disconnect the parking brake and the same value as the variable VOOO3 and so turns off the indicator The last line is the declaration of the output which in our case is connected to the number 20 Encoder Var 0001 Link FSUIPC_INOUT Offset 07D4 Length 4 VALOR Sooo OTO AUTO Var 0003 Link IOCARD_ENCODER Input 2 Aceleration 6 Type 2 LO VO003 100 v0004 LIMIT 0 50000 LO Var 0004 Link IOCARD_DISPLAY Digit 9 Numbers 5 II ee 9975 37 INSTALLATION AND USER S MANUAL IOCards USBExpansion Master ha N Opencockpits INSTALLATION AND USER S MANUAL v1 0 All for your cockpit lOCards USBExpansion Master The first line as in the above case is the declaration of the variable that represents the value of altitude on the autopilot on it we re
13. re the most important lines into this file explaining the changes that we make in it in order that the PC detects the cards an then we can test the performance of the cards Uso de Expansion USB locard Master expansion USB USB yes With this parameter indicate that we are using the USBExpansion card therefore we shall always be activated with a yes M ltiples USBs Non unique USB MUSB No We will active with yes if the PC on which we are connected the USBExpansion Master we have other USB cards also connected USBServos USBLCD etc N mero de A D a usar de la placa de Expansi n USB A D used by locard Master expansion USB USB _AD 4 In this parameter we activate analogic inputs as we want to use and test into the USBExpansion Numero de tarjetas Master inter conectadas Number of connected master cards NCards 1 This line tells to the program controlador how many cards Master we have connected to the USBExpansion where we know already in what order we must connect If we don t provide it this information the cards would work not properly Once we have done the modifications we can save and close this ini file on the same folder that we have installed the SIOC suite CARDS TEST Now we can proceed to run the controlador exe application by double click over the icon This will display the next screen where we have all components connected to the cards Anyway we think
14. ublished and any code developed can be distributed as often as necessary and through desired media without written authorization provided that the publication is acknowledged to the author and the source from which comes www opencockpits com INSTALLATION AND USER S MANUAL IOCards USBExpansion Master ha UO

Download Pdf Manuals

image

Related Search

Related Contents

6 - Manual und bedienungsanleitung.  OPERATING INSTRUCTIONS: - DTI Detector Trade International  ALT 600 - Spencer  als PDF-Download - IPT Industrie  Makita 6835D User's Manual  Specifications of Advance Life Support Ambulance ( 1652KB)  Easy Loading Control  Enermax Staray  Olympus 111 150 Digital Camera User Manual    

Copyright © All rights reserved.
Failed to retrieve file