0414 Wee Neal Posted December 22, 2016 Posted December 22, 2016 Hi I am finalising my landing gear panel and have set up my sketch for the flaps servo, however my tired old brain is struggling to comprehend what the Min and Max pulse widths are. I have used the following: DcsBios::ServoOutput flapPos(0x10a0, 9, 1060, 150); from https://forums.eagle.ru/showthread.php?t=150183&page=2 These parameters work, in that the servo rotates correctly. My issue is that I have no idea why that should be so. Can anyone explain how the above numbers correlate to actual movement angles of the servo? I have read alot of forums and I am still none the wiser:helpsmilie: Thanks Neal Desktop PC: Intel i7 14700K, MSI Z790 MAG Tomahawk MOBO, 64Gb RAM , GPU Nvidia RTX 3080ti Windows 11, VPC joystick, Crosswind rudder peddles, HP Reverb G2, VPC Collective, DOF Reality H2, Gametrix seat, WinWing panels.
Warhog Posted December 23, 2016 Posted December 23, 2016 (edited) The values 544 to 2400 are the pulse width values that the manufacturer has established as what is required to move a servo approx. 180 degrees. Not all servos are based on that range. There is a data base on the internet that lists all servos made and their associated range that they use. A majority of servos use the same range of values...but not all. There are some makes that use a completely different range but I can't say more as I haven,t been able to locate the list again. Not that it matters though as all of the affordable servos use the 500-2400 range. Update: the data base that has specs on pulse width range is: http://www.servodatabase.com Pick your servo from that list and it's spec sheet comes up. That is where you will find the range of pulse width values that control position for that particular servo. i.e.). http://www.servodatabase.com/servo/towerpro/sg90 Edited December 26, 2016 by Warhog New info Regards John W aka WarHog. My Cockpit Build Pictures... My Arduino Sketches ... https://drive.google.com/drive/folders/1-Dc0Wd9C5l3uY-cPj1iQD3iAEHY6EuHg?usp=sharing WIN 10 Pro, i8-8700k @ 5.0ghz, ASUS Maximus x Code, 16GB Corsair Dominator Platinum Ram, AIO Water Cooler, M.2 512GB NVMe, 500gb SSD, EVGA GTX 1080 ti (11gb), Sony 65” 4K Display VPC MongoosT-50, TM Warthog Throttle, TRK IR 5.0, Slaw Viper Pedals
Recommended Posts