Arduino in AP on PI not working, work fine in AM

Support for Arduino in combination with Air Manager and Air Player

Moderators: russ, Ralph

Post Reply
Message
Author
Witzman
Posts: 26
Joined: Sun Sep 12, 2021 9:42 am

Arduino in AP on PI not working, work fine in AM

#1 Post by Witzman »

Hi.
I am new to AM/AP and have problems getting an arduino to work.

Installed AM, flashed a Arduino mega, then added the device.
Then i downloaded the free 172 cessna panel, went to the adf instument settings and under Hardware i could select my arduino and the pins. Startet fsx on the same machine, run the panel, fine.
Panel shows data from fsx, the arduino is recognized i can turn the rotary encoder and the adf turns.

Now i copied the panel to my AP-raspberry. It also showed up after starting the panel. Then i added the arduino device to airplayer and in air, plugged the arduino into the pi i was able to see it after a few seconds in AM. But when i go to instrument settings under hardware i am not able to select anything. The dropdown is just not visible.


Any ideas

User avatar
Ralph
Posts: 7867
Joined: Tue Oct 27, 2015 7:02 pm
Location: De Steeg
Contact:

Re: Arduino in AP on PI not working, work fine in AM

#2 Post by Ralph »

You'll have to wait until version 4.1, sorry.

Witzman
Posts: 26
Joined: Sun Sep 12, 2021 9:42 am

Re: Arduino in AP on PI not working, work fine in AM

#3 Post by Witzman »

I am a bit sad, as i just spent 100€ and the feature, which was prominent here: https://www.siminnovations.com/index.ph ... icle&id=21 is not possible.
But ok, seems, like i have to wait :cry:
Is there an estimate for 4.1 or an AP Pi beta i can give a try?

I just made a video for my problem:
https://youtu.be/sTw69GrBom4

User avatar
Ralph
Posts: 7867
Joined: Tue Oct 27, 2015 7:02 pm
Location: De Steeg
Contact:

Re: Arduino in AP on PI not working, work fine in AM

#4 Post by Ralph »

As a temporary solution you can use the pin numbers in the script, instead of named hardware.

Witzman
Posts: 26
Joined: Sun Sep 12, 2021 9:42 am

Re: Arduino in AP on PI not working, work fine in AM

#5 Post by Witzman »

Hi Ralpph,

Can you explain a bit more? Did not get it.
Which script & where?

Best regards,
Christian

Witzman
Posts: 26
Joined: Sun Sep 12, 2021 9:42 am

Re: Arduino in AP on PI not working, work fine in AM

#6 Post by Witzman »

After a bit of searching i found this video, which i guess will help me ;)
https://youtu.be/rIbLCEpWdyk

User avatar
Keith Baxter
Posts: 4671
Joined: Wed Dec 20, 2017 11:00 am
Location: Botswana

Re: Arduino in AP on PI not working, work fine in AM

#7 Post by Keith Baxter »

Witzman wrote: Tue Sep 14, 2021 10:49 pm After a bit of searching i found this video, which i guess will help me ;)
https://youtu.be/rIbLCEpWdyk
Hi and welcome.

Just two pointers if you have not found them that are great for newbie help.

Tony's videos
https://www.forums.siminnovations.com/v ... =14&t=2787

The API
http://siminnovations.com/wiki/index.ph ... _Logic_API

Keith
AMD RYZEN 9 5950X CPU, Corsair H80I cooler, ASUS TUF GAMING B550-PLUS AMD Ryzen Mother Board,  32Gb ram Corsair Vengeance 3000Mh, MSI GTX960 4G graphics card 

Post Reply