Home

IOCard USB Servos Manual

image

Contents

1. inversion 43 J14 3 PINS CONNECTORS E o Q1 QUARTZ CRYSTAL 6Mhz E R1 RESISTOR 1K5 Es FE RESISTOR 10 o AG D R5 RESISTOR 470R 900000000000000 OT TE SW1 RESET 2 PINS CONNECTOR J9 O An MZ A JM E E boo sed 200 foo N o 1mm Connector s description J1 USB Connector allows the connection directly to the computer by USB at the moment of connection the computer will recognize the card as an input device e J2 Input power supply connector 5V for the servos e J3 a J6 Analogic input connectors see outline connections e J9 a J14 Servo s connectors the servo s wires must be changed as shown in the referenced table see connection s table Connection scheme Connecting the card is very simple to connect the potentiometers we use 3 pins connectors J3 to J6 if we see that the readings at the unused inputs fluctuate too much we can avoid it by placing a jumper between pin 1 and 2 or pin 2 and 3 in each unused connector www opencockpits com ES IOCard USB Servos Manual To connect the servos we have connectors J9 to J14 at these connections the wiring of the servos connectors shall be changed if needed in order to adapt them to the IOCard USB pins depending on the brand of the servo minding always the connecting order of servos to the card FUNCTION For a better explanation of connections see the image OO CC USUISWOLLNSLOd CH 00000000000000 O id 310 I 0000
2. be declared as shown Var VVVV name NNNN Link USB_SERVOS device DD Output S posL LLL posC CCC posR RRR VVVV variable number NNNN variable name optional www opencockpits com T IOCard USB Servos Manual DD index number IDX declared in sioc ini if only have 1 card installed declared as 0 is not necessary write device number S servo number 1 6 LLL maximum left position of servo CCC central position of servo RRR maximum right position of servo Definition example Var 0001 name servo vs Link USB SERVOS Device 1 Output 5 Analogic inputs declaration To read the analogic inputs we will use the following code line format Var VVVV name NNNN Link USB ANALOGIC Device DD Input EE posL LLL posC CCC posR RRR VVVV variable number NNNN variable name optional DD index number IDX declared in sioc ini if only have 1 card installed declared as 0 is not necessary write device number EE analogic input number 1 5 LLL maximum left position of device CCC central position of device RRR maximum right position of device Definition example Var 1506 name pot flaps Link USB ANALOGIC Device 01 Input 2 posL 1 posC 128 posR 255 Example scripts Servos We will build a vertical speed indicator varying from 2000 fom UP to 2000 fom DOWN a total of 4000 fom feet per minute We will connect the servo to the USB Servos card and we will feed it We will start S
3. potentiometer and the rest of analogic inputs show 0 if we rotate the potentiometer we will see that the value changes from more to less or vice versa depending on the potentiometer wires connection if we want to reverse the turn direction we can do it two ways changing pin 1 for pin 3 from J3 connector or with a SIOC script www opencockpits com 6 IOCard USB Servos Manual Let s test the servo now selecting the servo that we want to test the servo will move automatically to the indicated position in the ruler slide 0 to 1023 ticks that means Monitor always starts in the middle of the ruler and the servo will go to his centre position If we slide the ruler pointer to the sides the servo will turn to the sides Warning we have noted that some servos have a little zone at the extremes where it is very easy to rupture the physical turn limits for example the Hitec HS55 200 of turning more or less from origin if we put the ruler pointer under 190 in the scale from O to 1023 we will break the servo s turn stop and it will turn crazy without limit 360 It is advisable to test all J connectors We can use this test to take note of values that take the pointers in the gauges this being a big help in order to program them in SIOC Important note about handling the servos When servos are connected to the USB Servos card and the card is powered by an external supply they must not be manually forced to run because gears will
4. 0000000000 alam H3 J14 J11 J12 AA FABRICANTE FUTABA J AIRTRONICS Z www opencockpits com IOCard USB Servos Manual Starting the card We already know how IOCard USB Servos works so let s go test and connect it to see the results In our example we will connect the USB Servos card to an USB port and we will see that our computer recognizes it Ka A Le Ota gt Panel de control Hardware y sonido Dispositivos e impresoras gt Agregar un dispositivo Agregar una impresora Windows puede mostrar iconos de dispositivos mejorados e informaci n de Internet Haga clic aqui para cambiar esto Chicony wired Mass Storage SOPORTE VKI91 mouse Device 4 Impresoras y faxes 5 y Estado 0 documentos en cola Estado Impresora Lista Adobe PDF Brother Brother HL 2250DN series MFC 7225N USB en PUESTO2 Printer en PUESTO2 It has been recognized so we will connect one 5V supply wire to J2 to feed the servos 1 potentiometer to J3 and 1 HITEC servo to J9 we will change the wiring order to red yellow black 5V S GND also to avoid false readings from unused analogic inputs we placed jumpers on pins 1 and 2 on each connector oia oi lao o da 40 www opencockpits com ES IOCard USB Servos Manual We will now test our assembly with SIOC Monitor to see if all is well connected We start SIOC looking for USB Servos being recognized and if positive we will press t
5. IOC Monitor as explained in the Starting the Card chapter we will check the servos limit positions PosL PosC and PosR caring that in our example we are using a Hitec servo and if we put a value under 190 we can break the servo The first thing to do is create a file named pruebaservo1 txt kkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk Config SIOC ver 4 01 By Manolo V lez www opencockpits com kkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk FileName test_servo1 txt Date 15 03 2012 Var 0001 name servo Link USB_SERVOS Device 0 Output 1 PosL 190 PosC 512 PosR 1023 Var 0002 name vs_ value Link FSUIPC_INOUT Offset 02C8 Length 4 Type 1 LO amp vs_value 0 7895 L1 LO 0 2555 1022 positions 4000 fom L2 511 L1 CENTER OF GAUGE IF L2 gt 1022 UPPER LIMIT L2 1022 www opencockpits com 8 IOCard USB Servos Manual IF L2 lt 1 LOWER LIMIT L2 1 amp servo L2 End of file We will write the script save it and then run it with SIOC we will start the simulator and choose a light airplane like Mooney we will take off and see how the servo turns Analogic inputs Now we will use the potentiometer connected to move the servo The first thing to do is create a file named pruebaservo2 txt kkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk Confi
6. MM 04 16 12 Rev 2 1 Date IOCard USB Servos Manual IOCard USB Servos Manual Index IOCARD USB SERVOS MANUALE A EES 1 I en 2 AO R LL LL 3 ANO II UI L LL 3 WM INE AND COMPONENTS E AAA A 3 HFONNECTOR S DESCRIPTION EE error 3 IS ONNECTION SCHEME l ceccececcecsccecsccececcececes II IU I I AA 3 SIARTING THE CARD EEN AAA 5 SOFTWARE INSTALLATION AND SETTINGS errar 7 SERVO S DECLARATION SCA o afl Ti I NALOGIC INPUT A g 8 EXAMPLES CAPS de tons E et to A dea eg NES 8 Servo cdi TTT 8 Een BI L L L LL L LL D L D LD DLL IL L 9 et INTEREST Aa EEN AAA S 9 www opencockpits com Ea IOCard USB Servos Manual Introduction The USB Servos has been designed to manage up to 6 servos like the ones used in radio control and also has 4 analogic inputs The card is connected to the computer thru an USB port Usb Servos The computer recognizes and configures the card as a input device at the moment of plugging To manage the card we will use SIOC and integrated IOCP protocol To use the card we have to declare it in sioc ini thus allowing the management of 6 servos and 4 analogic inputs Outline and components C1 CAPACITOR 220 nf C2 C3 CAPACITORS 22Pf C4 C5 CAPACITORS 0 1uF 66mm D1 LED DIODE 101 160745 MICROCONTROLLER Amm J1 USB CONNECTOR J2 INPUT POWER FOR SERVOS 5V 5 2 PINS not protected for polarity a
7. be broken and the motor may burn To manipulate the servos when connected to the USB Servos card we can order the servos to go to position O and then it will possible to manipulate them manually Manual operation of servos being connected to the USB Servos card is not advisable because the gears if plastic built can suffer irreversible damage Software Installation and settings lf we want do the exercises explained in this manual for IOCard USB Servos we must have installed SIOC newer version as possible the flight simulator FS FSX X Plane etc and we will also need FSUIPC registered At the end of this document there is a list of links to download the necessary software to put into practice this manual To manage this card we use scripts to control the IOCard USB Servos with SIOC we must edit the sioc ini to declare each connected card USBServos XX YY XX index number IDX for each card YY device number in SIOC of USB port For example if we connect two USB Servos cards with device numbers 2 and 42 this numbers are shown in SIOC upper right grey window the cards declaration lines will be USBServos 0 2 0 because it is the 1st and 2 for USB device port 2 as our computer example USBServos 1 42 1 because it is the 2nd and 42 for USB device port 42 Servo s declaration script To refer to the exact servo number we must mind the index device number assigned to it in each USB Servo card The output code line will
8. g SIOC ver 4 01 By Manolo V lez www opencockpits com t FERRER ERERRERE RAR Sololle FileName test_servo2 txt Date 15 03 2012 Var 0001 name servo Link USB_SERVOS Device 0 Output 1 PosL 190 PosC 512 PosR 1023 Var 1506 name trim Link USB ANALOGIC Device 0 Input 1 posL 1 posC 128 posR 255 d amp servo amp trim End of file We will write the script will save it and will run it with SIOC it is not necessary start the simulator if we turn the potentiometer the servo will turn too This ends this manual we invite you to read the manuals of the others Opencockpits elements and explore the SIOC software We thank you for trusting us Links of interest Support area for clients http www opencockpits com catalog info www opencockpits com ER
9. he SIOC Monitor button in IOCard USB Servos to check the card servo and potentiometer SIOC Monitor ver 1 0 X By Manuel V lez Consola ON OFF IO ad device ver 4 0 Status Stopped IDX 0 IDCard USBServos Device 2 FSUIPC status Cannot link to FSUIPC or WideClient fa FSUIPC version Simulator Double click for connect SZ SIOC MAIN Ver 4 01 2796 IP 192 168 1 42 8092 IDX 0 10Card USBServos Device 2 Host ddress 192169142 Double click in Device for scripts IDX Port 8092 Clients connecteds O HostAddress LOCALHOST Port 8099 Status Disabled Starting SIDC Loading SIDC Host ddress LOCALHOST Port 8099 Status Disabled Launch SIOC Monitor C Program Files 85 WO Cards SID LA sioc ssi Empty Script Config Sioc SIOC Monitor Tray Reload Edit IM IOCPConsole UsBSemvos Dev 2 SERVOS KEYS onz Eesen ol EE 3 1512 dl i ATA 2 Pl 4 A ol 56 52 et RELAYS 5 DCMOTOR 197 EA A ERSER EBL a le o o o o o ES PL map Pp o o em e SS E d Ag O O _ ______ GT THOOEO EEE ANALOG INPUTS 1 As SIEPPERMOTOR Motori Motor Motor da 2 0 H F Sod Max Step tum H Spd Max teps turn H F Se Mas teps turr Bo FE RR IR RR MR p 24 0 EES FS ES r3 a lo lo M Not Show As we can observe the analogic input amp 1 shows the value of the

Download Pdf Manuals

image

Related Search

Related Contents

  Driver WINDOWS XP_IT  EINBAU-/VERKABELUNGSANLEITUNG  manual KT.indd  Sandberg Two-way plug. W/child safety  Manual de instalación, operación y servicio para  User Manual  SharePlus v3.8  M- 4898  

Copyright © All rights reserved.
Failed to retrieve file