PDA

View Full Version : IL2 Strumovik 1946 DevicLink Alternative. (Arduino)



Talalpro
10-15-2011, 12:00 PM
IS it possible to use Arduino as a devicelink option? Like, using servo as an indicator through arduino? Plus, How is this done, if it is possible, how it can be linked?


Thank you!
I appreciate any help!

bolox00
10-27-2011, 08:13 AM
not seen it done with arduino (but it does look possible as it appears to accept udp, the protocol for devicelink)- however this would need 'some' programming in arduino.

details of the protocol/parameters used in devicelink are in the devicelink.txt file in the root of your il2 install

Talalpro
10-28-2011, 08:39 AM
Thanks for the reply, i just need an info about getting Device Link to communicate with the Arduino, maybe by a third-party software? {Using serial port} I think i can using the UTPSpeed tool, which i can build a similiar software to communicate with serial. I need help.

Thank you !

bolox00
10-30-2011, 03:42 AM
this is very much 'how i understand it' and may not be definitive to say the least- i also have no knowledge of aruino but i have been in contact with people using 'real' gauges driven by devicelink.

third party software- i doubt it as its rather specific and google comes up with nothing.

device link uses udp protocol to transmit/receive ingame data- this is part of a network thing so the 'usual' way this is done is the devices running gauges are on a separate machine on the same network as your gaming pc. the gauge machine must have software on it to query the game for certain parameters (eg asi) then read the 'answer' and convert it into a format that the devices software can read to enable it to drive the gauges.( it is possible to use gaming computer to run this stuff but it is more normal to use another comp to avoid 'hindering' the game computer with more 'workload'). i use udpspeed to display 'virtual' gauges

basically devicelink is a 'self help' project, but there are some clever people around who are/have done clever stuff to make this accessible to the 'lay user' but for something specific you are on your own unless you can convince someone clever to do the hard work for you http://forums.ubi.com/images/smilies/sadeyes.gif
some reading for you
http://forums.ubi.com/eve/foru...655/m/7201027043/p/1 (http://forums.ubi.com/eve/forums/a/tpc/f/49310655/m/7201027043/p/1)
it's a 'history' of devicelink and is really the only 'documentation

as arduino seems to have some sort of udp input function i'd suggest asking on arduino forums about how this is possible- the 'gibberish' at the top of the devicelink.txt file i referenced earlier should provide enough info to someone who knows what they're doing.

good luck, and keep us posted on how you get on -arduino looks like it could be interesting http://forums.ubi.com/groupee_common/emoticons/icon_wink.gif

Talalpro
10-30-2011, 08:45 AM
Thanks again, I will keep this updated as long as i finish the problem, ill be using the Firmata solution. I think its devel language is Python, which is modifiable and can be easy access to Arduino without sketching hustle etc...

Secondly, the most challenging part is that Im using IL2 on Linux {Wine emulator}. I'v tested the udp ports, they are open, I also achieved the Linuxtrack head-tracking project using device link... Can you open two ports? Or, a thrid party software that merges them? I think thats complicated, but worth to achieve.

bolox00
10-30-2011, 11:13 AM
it seems it should be possible to use more than one program using udp
see
http://forums.ubi.com/eve/foru...651047298#7651047298 (http://forums.ubi.com/eve/forums/a/tpc/f/49310655/m/1751064298?r=7651047298#7651047298)