AdvancedHMI Software

General Category => Support Questions => Topic started by: Jaguar on October 01, 2020, 10:13:21 AM

Title: AdvancedHMI with arduino
Post by: Jaguar on October 01, 2020, 10:13:21 AM
Good Morning! Could any of here guide me how to setup Arduino with AdvancedHMI? AdvancedHMI is such a user friendly program, I wan to use that instead of going through Processing software etc.

Would appreciate any direction.

Regards,
Title: Re: AdvancedHMI with arduino
Post by: Archie on October 01, 2020, 10:18:56 AM
I assume you mean that you want to read data from the Arduino to display using AdvancedHMI. The best way I know is to install a Modbus server on the Arduino
Title: Re: AdvancedHMI with arduino
Post by: francis on October 01, 2020, 12:29:18 PM
I have done this before with ModbusTCP by attaching an ethernet shield on Arduino mega. 
Title: Re: AdvancedHMI with arduino
Post by: Jaguar on October 01, 2020, 04:21:06 PM
Thanks Archie and Francis!

Apart from reading the data, my intend also is to send string or integer data to Arduino and making the pins on or off. Is it possible? AdvancedHMI is so easy to use.
Title: Re: AdvancedHMI with arduino
Post by: francis on October 01, 2020, 11:48:05 PM
Yes, it is very possible to make the arduino pins on or off.
Title: Re: AdvancedHMI with arduino
Post by: lonconao on October 02, 2020, 02:20:47 PM
Hi

Use this library on Arduino
Quote
https://github.com/andresarmento/modbus

Then offset registers in 1 (substract 1 to register on ahmi or vice versa on arduino)
Title: Re: AdvancedHMI with arduino
Post by: Jaguar on October 02, 2020, 03:57:45 PM
Thanks Francis and Ionconao! I will try.