Jump to content

Recommended Posts

Posted

Hello Pilots!

 

I want to begin building my own home cockpit, but I have quite a lack of understanding how to achieve this.

 

My idea is to build the panels with the switches and LEDs attached to my Arduino board with an Ethernet shield, and controlling DCS through the export.lua function.

 

Can anyone give me some kind of tutorial on how to let the arduino communicate with the export.lua. and how to use the export.lua in a proper way?

 

Best regards and thanks in advance :)

Posted (edited)

Looking at the Export.lua from HELIOS helped me a lot to understand how Export.lua works. In principle, you could use the Export.lua from HELIOS and program your Arduino to understand the message format used by HELIOS.

 

Since I plan to use inexpensive self-made boards based on ATmega microcontrollers instead of full-fledged Arduino boards in my final components, I am currently using the Export.lua from HELIOS and a kind of extended TCP to serial bridge programmed in C#, which works pretty well so far.

 

A discussion of both approaches (TCP bridge vs. direct Ethernet) can be found at the bottom of this website.

Edited by Waxi
Posted

Well I actually found your way already, but i would like to use the ethernet shield. anyway. could you share some code on how to send and receive through your interface?

 

the examples on your page only provides acces through a terminal and controlling the leds by commands. not with the export.lua.

 

Could you give some advice?

 

Best regards

Posted

Anyone could share their Arduino / Export.lua Code? to give me some hints on how to do it best?

 

Best regards

Posted

Actually it's not my page. I just found it on the web.

 

As I said, I am using the Export.lua provided by HELIOS, which is available here.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...