AdvancedHMI Software

General Category => Open Discussion => Topic started by: aquilmustafa on October 16, 2021, 01:25:15 PM

Title: RASPBERRY PI GIO
Post by: aquilmustafa on October 16, 2021, 01:25:15 PM
Hi all,

I'm using AHMI to read data from Siemens PLC via Modbus-TCP in Raspberry Pi. That's working like a charm.
Now the issue is I also need to control the Rpi GPIO's. Anythying that could help me. I've been going through lots of data on google but could'nt find anything. Please help me guy's
Title: Re: RASPBERRY PI GIO
Post by: bachphi on October 18, 2021, 01:17:45 PM
relay?
codesys?
Title: Re: RASPBERRY PI GIO
Post by: aquilmustafa on October 19, 2021, 12:44:27 AM
Actually I've never used codesys. I've designed a card that has relay's as output and screen connected to Rpi3 B via HDMI which hosts AHMI. I need your guidance as to how can i connect to GPIO of RPi in AHMI.
Title: Re: RASPBERRY PI GIO
Post by: Archie on November 03, 2021, 09:32:42 PM
I believe you can control the GPIO directly in .NET code

https://docs.microsoft.com/en-us/dotnet/iot/tutorials/blink-led
Title: Re: RASPBERRY PI GIO
Post by: aquilmustafa on November 09, 2021, 09:59:15 PM
Hey Archie,

Thanks a lot for the answer. I've been through it and tried it, but due to lack of knowledge I was unable to include it into AHMI. Any pointers/example from your side.