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

preview_player
Показать описание

Download Links

Projects & Schematics:

Arduino Library:

0:00 Introduction
1:22 Arduino Library/Code
2:52 Wiring Arduino Board & RS485 connection
5:21 Configuring the EasyBuilder Pro Project
7:26 Testing Modbus Connection
8:05 EasyBuilder Pro Library
8:49 Stack Lamp Test
9:05 Outro

#Arduino #Robotics #STEM
Рекомендации по теме
Комментарии
Автор

*Note: Due to certain updates, the Arduino libraries mentioned in this video may not longer be available or may be deprecated. We will try to make an updated video soon, thank you all for choosing Weintek!

WeintekUSAInc
Автор

Just realized that I have some weintek hmi sitting in my attic for 4yrs now... and that would be huge to make it work with arduino mega. Thanks for this video. It is funny how many things it is possible to do with those tiny cheap arduinos!

therzook
Автор

The MAX485 module that you connected at 3:17 is not the same as you have in the picture at 0:48, which has DE and RE pins. The only modules I can find are the type you show at 0:48. Can you share where you bought the module that you used in the project? ... The one we see at 3:17.

rickdalton
Автор

Hi, I am using Easybuilder 8000 for MT6070ip, and connecting with arduino uno. I am following the same process as in this video but it's not'working out. Moreover, there is no option for "MODbus RTU, RTU over TCP" in easybuilder 8000, that's why I am selecting "MODbus RTU". Need your help.

jahaniausman
Автор

I use RS485 connector (in video 00:40) to connect it to arduino there are 4 pins: di(tx), de, re, ro(rx) and vcc, gnd . Where to connect de, re ? Doesn't work without them

ЮрийЮрьевич-йб
Автор

Can we do it using an ethernet shield using an ethernet cable to any iP weintek series.

EscritorioSP-up
Автор

Cannot upload your code to my device, i have this error message in Arduino IDE " exit status 1
no matching function for call to 'modbusSlave::setBaud(int) "

edwinhdz
Автор

thanks for clear explanation. Just one thing. What's the purpose of that white cable attached to your HMI besides RS-485 adapter at 8:50???

ibrahimaliabbasi
Автор

Is there any way to choose serial3 output for those with a mega/controllino board?

vishnuhu
Автор

Hi, thanks for this useful video. Can you provide link to the video reading integer from HMI with arduino, you mentioned it in the last part of this video. PS I think i found it, is the robot arm video

MakerFabio
Автор

I forgot to mention that no icons appear on the HMI

elettronica_pratica
Автор

Hi thanks for the tutorial, please tell me how do I change the serial on the modbus library . I bought a plc arduino mega that has rs 485 on pin DI 14, RO 15, RE 11, DE 46 can you help me? Thanks in advance

francescogaudio
Автор

If I want to change serial port to Tx1, Rx1 or pin 19 and 18 on Arduino Mega other than default port then how can it be done?

nguyen
Автор

hello, i'm trying to add the library in Arduino but i'm getting this error: "Error: 13 INTERNAL: Library install failed: moving extracted archive to destination dir: library not valid". Can you help me please solve the problem.

johnhajj
Автор

Can i read data in a Elevator system's MODbus or Canbus so that i can find out the floor number shown in the display using arduino? Please help

SumeClue
Автор

I tried code as like you but I'm getting error at slave.SetBaud stage as it is asking me to fill 2 unsigned char, word and hardware serial and I don't know what to type in the bracket. Could you please help me in this part as I'm using same RS485 to TTL converter what you have used so that it will be helpful in my project?

revanthkumar
Автор

Thanks for your video..can we use rs232 communication..from hmi to arduino.?without conversion board rs485

ugetri
Автор

Help me to compile this code.my arduino ide is 2.2

engrmunir
Автор

Did you use tags or registers for communication. Because you didn't show it in video.

arbazansari
Автор

Thanks for the great video. Can you please add the links for the example projects?

rovivo
visit shbcf.ru