fael097 Posted June 8, 2011 Posted June 8, 2011 I'm aware of that, I read some stuff about PWM on the net, but for now, guess unequal dimming will have to do it. after I find the pot, then I'll work on PWM, but firs I need the pot, wich I can't find.... Rafael Ryzen 7 1800x @ 4ghz | MSI GTX 980ti | 32gb DDR4 Ballistix 2400Mhz | Asus ROG Crosshair VII Hero (wi-fi) | 480Gb Kingston NVMe ssd | Western Digital 1TB x2 | EVGA 850w PSU | Noctua NH-D14 | NZXT S240 | Windows 10 Pro 64bit | 4k 50" Philips android TV | Dell P2418D | Oculus Rift S | Thrustmaster Warthog Hotas
m0jo Posted June 9, 2011 Posted June 9, 2011 You wont be able to dim the LED with a 100k ohm pot. About 1% of the range of the pot will be usable between full intensity and light off.
fael097 Posted June 9, 2011 Posted June 9, 2011 (edited) that I didn't know. I'm not sure what pot I'm currently using, but I'd say 50% of its range controls leds intensity. the only thing is what was previously mentioned, the leds are not equally bright through all the pot's range, but on 100% leds are equally bright, and on 0%, they are equally dim (not off, because it has no switch, so leds are always on) but now that you mentioned that, I'm in a pickle. I need a 100k linear pot to be able to control the axis in game (with my current pot, only 1% of the range moves the axis, and it moves ONE unit lol) and that wouldnt dim the leds properly. I also need a pot that is NOT 100k to be able to dim leds properly, but that wouldnt control the axis properly, as I have tested. and I need the SAME pot to control both things, game controller's axis, and leds intensity. is it impossible? edit: perhaps I should just get a regular 100k pot with a switch, and use the pot rotation range to control the axis, and just use the switch to turn my leds on and off. that way I wouldnt have to worry looking for a potentiometer that I can only assume doesn't exist, as i've been looking for it everywhere, and also wouldn't have to do PWM. my cockpit led's would be always on or off, but that's the only solution I see. Edited June 9, 2011 by fael097 Rafael Ryzen 7 1800x @ 4ghz | MSI GTX 980ti | 32gb DDR4 Ballistix 2400Mhz | Asus ROG Crosshair VII Hero (wi-fi) | 480Gb Kingston NVMe ssd | Western Digital 1TB x2 | EVGA 850w PSU | Noctua NH-D14 | NZXT S240 | Windows 10 Pro 64bit | 4k 50" Philips android TV | Dell P2418D | Oculus Rift S | Thrustmaster Warthog Hotas
PanelBuilder Posted June 9, 2011 Posted June 9, 2011 but now that you mentioned that, I'm in a pickle. I need a 100k linear pot to be able to control the axis in game (with my current pot, only 1% of the range moves the axis, and it moves ONE unit lol) and that wouldnt dim the leds properly. What are you trying to control with the axis input ? Colin
fael097 Posted June 9, 2011 Posted June 9, 2011 I'm trying to control the console lights. I was going to try the method mojo posted here: http://forums.eagle.ru/showthread.php?p=935486#post935486 but I never managed to get a pot working good, controlling an axis in its full range, or at least an useable ammount. Rafael Ryzen 7 1800x @ 4ghz | MSI GTX 980ti | 32gb DDR4 Ballistix 2400Mhz | Asus ROG Crosshair VII Hero (wi-fi) | 480Gb Kingston NVMe ssd | Western Digital 1TB x2 | EVGA 850w PSU | Noctua NH-D14 | NZXT S240 | Windows 10 Pro 64bit | 4k 50" Philips android TV | Dell P2418D | Oculus Rift S | Thrustmaster Warthog Hotas
PanelBuilder Posted June 9, 2011 Posted June 9, 2011 I'm trying to control the console lights. I was going to try the method mojo posted here: http://forums.eagle.ru/showthread.php?p=935486#post935486 but I never managed to get a pot working good, controlling an axis in its full range, or at least an useable ammount. But that is about using SOIC cards, isn't it? Is that what you have? Colin
fael097 Posted June 9, 2011 Posted June 9, 2011 sigh, can't believe it... I thought the SIOC thing was for the other switch issues, and that this export lua thing worked for any potentiometers through direct input. Assumed that because on the 7th post on this thread, mojo said: DCS:BS solution with some modification to export.lua should work also with DCS:WH, see this post for more details: http://forums.eagle.ru/showthread.ph...486#post935486 and on the referred post, he said I have modified ExportSuport.lua to include potentiometer support, this work fine for the 3 potentiometer of the Shkval and the pot of the Abris brightness. To make this work, only add this following code to the bottom of ExportSuport.lua: and that never mentioned the SIOC thing, so I simply ignored the thread title, and other stuff he said about SIOC. I thought it was unrelated... lol so nope, I don't have a SIOC card, I have a gpwiz-40 wich has no potentiometer support, and a card from an old joystick, 4 axis, 12 buttons, POV, wich I'm trying to make a pot work with. guess I'll have to look for another solution, like defining keystrokes for certain axis positions through xpadder.... so lame :( Rafael Ryzen 7 1800x @ 4ghz | MSI GTX 980ti | 32gb DDR4 Ballistix 2400Mhz | Asus ROG Crosshair VII Hero (wi-fi) | 480Gb Kingston NVMe ssd | Western Digital 1TB x2 | EVGA 850w PSU | Noctua NH-D14 | NZXT S240 | Windows 10 Pro 64bit | 4k 50" Philips android TV | Dell P2418D | Oculus Rift S | Thrustmaster Warthog Hotas
fael097 Posted June 9, 2011 Posted June 9, 2011 but wait... alex_rcpilot mentioned this: Aww....crap, sorry guys. I think I made a mistake, I've actually done it some time ago. The programming I said previously, it's already achieved in Helios thanks to Gadroc's great work. Just add two "interfaces": A-10C as output, and your BU0836 as input. Keep the BU0836 tab active. Go to the output menu and choose A-10C from all those interfaces, unfold "Light System". Find the light you want, say Engine Instrument Panel light. If you wanna control it with your slider 0, then just do some drag n' drop work to bind them together. There might be some minor script adjustment required because you might need to fit the ranges of the two, can't recall exactly, but it's do-able. Look into it and good luck. doesn't it mean I can add my card as input and use one direct input axis from it? or at least that if I buy leo bodnar's card, it will work? Rafael Ryzen 7 1800x @ 4ghz | MSI GTX 980ti | 32gb DDR4 Ballistix 2400Mhz | Asus ROG Crosshair VII Hero (wi-fi) | 480Gb Kingston NVMe ssd | Western Digital 1TB x2 | EVGA 850w PSU | Noctua NH-D14 | NZXT S240 | Windows 10 Pro 64bit | 4k 50" Philips android TV | Dell P2418D | Oculus Rift S | Thrustmaster Warthog Hotas
Deadman Posted June 9, 2011 Posted June 9, 2011 you may wish to READ this http://www.mikesflightdeck.com/led_dimmer/leds_and_dimming.html https://forum.dcs.world/topic/133818-deadmans-cockpit-base-plans/#comment-133824 CNCs and Laser engravers are great but they can't do squat with out a precise set of plans.
m0jo Posted June 9, 2011 Posted June 9, 2011 or at least that if I buy leo bodnar's card, it will work? The leo bodnar's card is a normal HID joystick, your old joystick should work. I think the method quoted use Helios and is communicating with DCS by the export.lua script.
fael097 Posted June 9, 2011 Posted June 9, 2011 you may wish to READ this http://www.mikesflightdeck.com/led_dimmer/leds_and_dimming.html going to do it, thanks Rafael Ryzen 7 1800x @ 4ghz | MSI GTX 980ti | 32gb DDR4 Ballistix 2400Mhz | Asus ROG Crosshair VII Hero (wi-fi) | 480Gb Kingston NVMe ssd | Western Digital 1TB x2 | EVGA 850w PSU | Noctua NH-D14 | NZXT S240 | Windows 10 Pro 64bit | 4k 50" Philips android TV | Dell P2418D | Oculus Rift S | Thrustmaster Warthog Hotas
fael097 Posted June 9, 2011 Posted June 9, 2011 The leo bodnar's card is a normal HID joystick, your old joystick should work. I think the method quoted use Helios and is communicating with DCS by the export.lua script. ok, I managed to use an old pot from that stick, that works fine from 0 to 65536 (directinput standard I believe), and I even managed to control the light knob on DCS, using helios. the only problem is that the slightes movement on the potentiometer makes it jump from 0 to 1023, I believe thats because of its resolution, right? apparently the maximum light knob value in dcs is lower than 1023, when i touch the potentiometer, light knob goes from 0 directly to max. is there some sort of division I can do, to be able to properly control the knob? through script, idk. thanks Rafael Ryzen 7 1800x @ 4ghz | MSI GTX 980ti | 32gb DDR4 Ballistix 2400Mhz | Asus ROG Crosshair VII Hero (wi-fi) | 480Gb Kingston NVMe ssd | Western Digital 1TB x2 | EVGA 850w PSU | Noctua NH-D14 | NZXT S240 | Windows 10 Pro 64bit | 4k 50" Philips android TV | Dell P2418D | Oculus Rift S | Thrustmaster Warthog Hotas
fael097 Posted June 11, 2011 Posted June 11, 2011 alright, got it working! any HID device that can transform a potentiometer in a directinput axis plus Helios will do the trick. in my case I used an old joystick's usb interface, but you can use leo bodnar's boards wich support axis, or anything else, and you'll be able to control knobs in DCS a-10, wich doesn't have axis assignment. just set lua script as the value source instead of trigger value, and use "return TriggerValue/65536" thanks to Alex_rcpilot and Gadroc from helios! cheers, Rafael Rafael Ryzen 7 1800x @ 4ghz | MSI GTX 980ti | 32gb DDR4 Ballistix 2400Mhz | Asus ROG Crosshair VII Hero (wi-fi) | 480Gb Kingston NVMe ssd | Western Digital 1TB x2 | EVGA 850w PSU | Noctua NH-D14 | NZXT S240 | Windows 10 Pro 64bit | 4k 50" Philips android TV | Dell P2418D | Oculus Rift S | Thrustmaster Warthog Hotas
TulsA-10 Posted October 8, 2011 Posted October 8, 2011 alright, got it working! any HID device that can transform a potentiometer in a directinput axis plus Helios will do the trick. in my case I used an old joystick's usb interface, but you can use leo bodnar's boards wich support axis, or anything else, and you'll be able to control knobs in DCS a-10, wich doesn't have axis assignment. just set lua script as the value source instead of trigger value, and use "return TriggerValue/65536" thanks to Alex_rcpilot and Gadroc from helios! cheers, Rafael Man i'm glad you posted this as i am at this stage so thank you. What ohm pots are you using? " I'm gonna have to be taking your car today. See I have some top secret clown business that supersedes any plans that you might have for this here vehicle."
Recommended Posts