Jump to content
The simFlight Network Forums

Recommended Posts

Posted (edited)

Hi, 

 

Im new in the topic.

Tyring to connect arduino uno with prosim737.

I followed:

https://mickeys-flightdeck.de/2019/04/07/connecting-an-arduino-to-prosim737/

(interfacing arduino with prosim737 via SIOC/IOCP server)

 

If you go to prosim737 / config / configuration / combined config

and assign any event from the list to a specific variable (e.g MCP/HDG assigned to IOCP variable no.1 - you have to type 1 next to HDG)

then you can easily read this variable using arduino.

It works.

But now Id like to read different variables/events which are not listed there. 

How can I do this?

The aim is to read e.g. ailerons position via arduino connected via ethernet.

Thx for any help/suggestions.

 

 

 

 

 

Edited by MM007
Posted

Hi,

I think you are here in the wrong place as this is the support forum for FSUIPC but not for Ardunio, ProSim or IOCP. It might be that some other user is able to help but you might be better off at IOCP forum.

Thomas

Posted (edited)

Is it possible to get some P3D parameters directly to arduino using fsuipc? (using ethernet connection)

 

or how can I build a widefs client on arduino (ethernet) to read some events/varibles from fsuipc?

Edited by MM007
  • MM007 changed the title to ARDUINO + FSUIPC + PROSIM737
Posted

I need to read about 20 parameters. Few of theme quite often - lets say 10/sec (aileron position). Will this method (fsuipc+lua) be fast enough?

 

Posted

Depends how you read them, but 10/sec sounds reasonable. If you use event.offset, your provided function will be called each time the offset value changes. Or you could use event.timer  to poll at any interval you specify. For lvars, you can use the event.lvar function, which has a minimum monitor time of 100ms.

John

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use. Guidelines Privacy Policy We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.