Nasty76 Posted October 4, 2015 Posted October 4, 2015 I was make after my locost ka-50 cockpit something little better :). Here is picture , there is missing front view but i add that later. Inside hood is 3 arduino megas , using dcs-bios , with modified potentiometer library , orginal bug and sent data every little jitter, if someone need that i can make that public. 3 arduinos , connect raspberry pi where is minibian image , raspberry pi read 3 com ports with socat script and script transfer raspberry arduino comms to lan , and my game computer sent udp packets to arduino where other socat tranfer incoming packets to arduino comms.
Hansolo Posted October 5, 2015 Posted October 5, 2015 Looks nice Nasty76 :thumbup: Couldt you explain the use of the raspberry pi a little more. If I understand it correctly then all it does is sending the info via ethernet. I just have the DCS-BIOS send info via UDP directly to my Uno with an ethernet shield. Your way of doing it may make perfectly sense for a clever guy but if you could give me a hint I'd appreciate it. Thanks looking forward for more pictures ;) cheers Hans 132nd Virtual Wing homepage & 132nd Virtual Wing YouTube channel My DCS-BIOS sketches & Cockpit Album
Nasty76 Posted October 5, 2015 Author Posted October 5, 2015 Here is my io.sh script: #!/bin/bash chmod 666 /dev/ttyACM0 stty -F /dev/ttyACM0 500000 stty -F /dev/ttyACM0 raw sleep 1 socat udp-sendto:192.168.1.80:7778,reuseaddr /dev/ttyACM0& chmod 666 /dev/ttyACM1 sleep 1 stty -F /dev/ttyACM1 500000 stty -F /dev/ttyACM1 raw socat udp-sendto:192.168.1.80:7778,reuseaddr /dev/ttyACM1& chmod 666 /dev/ttyACM2 sleep 1 stty -F /dev/ttyACM2 500000 stty -F /dev/ttyACM2 raw socat udp-sendto:192.168.1.80:7778,reuseaddr /dev/ttyACM2& #socat udp-listen:5010,reuseaddr /dev/ttyACM0& socat -u udp-recv:5010 /dev/ttyACM0& yeah my idea is raspberry pi collect arduino usb com data and transfer them home network udp. so i dont need buy every arduino ethershield , and i have old raspberry pi :D. this moment raspberry pi host 3 arduino mega , there is only one output wich is master warning led look above picture left down corner there is masterwarning button and caution leds , need move correct location that button some day.
Nasty76 Posted October 5, 2015 Author Posted October 5, 2015 Btw all panels are hand made , which is suprice becouse wood work not are my think :D. so i take 3mm wood sheet , convert panel picture black and white , make some proofment with gimp , color stuff black if there is some errors in picture , then print that panel laser color transparency film, and cut. Then clip panel out of film and paint film backside white i was using spraypaint , then cut wood panel correct size and glue film to wood panel , then drill holes and start wiring ur buttons.
Nasty76 Posted October 9, 2015 Author Posted October 9, 2015 (edited) future a10c sim pilot. Hehe a10 is so easy to fly. Children can fly that too. http://1drv.ms/1VJyl5I Edited October 9, 2015 by Nasty76
Recommended Posts