Author Topic: AdvancedHMI with arduino  (Read 1786 times)

Jaguar

  • Jr. Member
  • **
  • Posts: 55
    • View Profile
AdvancedHMI with arduino
« 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,

Archie

  • Administrator
  • Hero Member
  • *****
  • Posts: 5322
    • View Profile
    • AdvancedHMI
Re: AdvancedHMI with arduino
« Reply #1 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

francis

  • Newbie
  • *
  • Posts: 15
    • View Profile
Re: AdvancedHMI with arduino
« Reply #2 on: October 01, 2020, 12:29:18 PM »
I have done this before with ModbusTCP by attaching an ethernet shield on Arduino mega. 

Jaguar

  • Jr. Member
  • **
  • Posts: 55
    • View Profile
Re: AdvancedHMI with arduino
« Reply #3 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.

francis

  • Newbie
  • *
  • Posts: 15
    • View Profile
Re: AdvancedHMI with arduino
« Reply #4 on: October 01, 2020, 11:48:05 PM »
Yes, it is very possible to make the arduino pins on or off.

lonconao

  • Newbie
  • *
  • Posts: 11
    • View Profile
Re: AdvancedHMI with arduino
« Reply #5 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)

Jaguar

  • Jr. Member
  • **
  • Posts: 55
    • View Profile
Re: AdvancedHMI with arduino
« Reply #6 on: October 02, 2020, 03:57:45 PM »
Thanks Francis and Ionconao! I will try.