What kind of communication protocol should I use for Arduino -> PCB?

Hi, I'm now developing HMI for arduino.

First, the development is for cooking machine. I'm going to make PCB after arduino version is finished.

Arduino is controlling few BLDC motors and stepmotor and sensors.
Besides this, I should add HMI for cooking machine users. Because I'm the new to the pcb, I don't know what kind of communication protocol shoul I use for PCB later.

There are 2 options I think. (other suggestion is good)

  1. Simple Serial(Software Serial or hardware serial) communication
    (https://www.icbanq.com/P007110923) This page is in Korean
  2. Using modbus communication protocol
    (Basic Arduino + HMI Connection via Modbus Protocol - Weintek USA coding - YouTube)

What is protocol more widely used for HMI?

Thanks for any help.

HMI as in Human Machine Interface?

Your PCB should support whatever your user interface requires. Could be a mix of SPI, I2C, Serial and/or other bus technologies.

How do you define HMI?

What is communicating with HMI, with what type and amount of data, at what bit rate?

Yes, HMI as in Human Machine Interface.

Thanks for reply~!

HMI as in Human Machine Interface.

arduino UNO which is controlling 24V BLDC motors and step motors. data type will be simple integers. I'm using 9600 bitrate but I don't know exactly what bit rate will be good.

For more details,

The user change the number of food that should be made with one cycle via HMI. And HMI indicates degree of temperature of the water.

What do you expect on the other end? A computer with an application or just dumb buttons and a screen? How far apart are they located?

You can imagine this kind of machine.

image

HMI <--> Arduino (PCB) <--> BLDC, STEP, sensors.

Computer will be not used. HMI screen has its own CPU and program.
They are almost close ( within one controlbox)

Link to this please.

(Basic Arduino + HMI Connection via Modbus Protocol - Weintek USA coding - YouTube)

You can refer above youtube site.
This product uses MODBUS protocol.

And other product
(https://www.icbanq.com/P007110923,
HMI LCD Nextion ! 무료 GUI 툴 사용법 다 알려드립니다! - YouTube)
use just Serial but I cannot introduce because it is written in Korea.

I want to use the protocol widely used to extend usage of the development.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.