Replies: 10 comments 22 replies
-
|
[V][modbus_controller:028]: Sending next modbus command to device 1 register 0x0A count 2 |
Beta Was this translation helpful? Give feedback.
-
|
I copied part of the log content. Please check it. |
Beta Was this translation helpful? Give feedback.
-
|
I don't have any idle esp32 devices for the time being. Does the use of esp8266 have any impact? |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
|
From your screen shot it seems that register type should be holding instead of read but I don't see any response at all not even an error. When you test from windows using the terminal software does it still work if DTR is unchecked? And please enclose the log result in 3 backticks - much easier to read ``` logs ``` |
Beta Was this translation helpful? Give feedback.
-
|
In the serial port monitor, if the DTR option is not selected, data can be received normally |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
|
I changed register_type to holding this time, and then got the data, but some data needs to be converted by formula |
Beta Was this translation helpful? Give feedback.
-
|
Thank you very much for helping me. I don't know which city you are in? My time here is 1:45 in the morning, because I use Google Translate to communicate with you, it may seem that my reply is a little weird😁😁. We look forward to your perfecting the program, and we look forward to the esphome example in the future, because this controller has a very good market share in our country. |
Beta Was this translation helpful? Give feedback.
-
|
Thank you very much for the work you have done. I am trying to repeat the above but I am not getting a response from the controller (MC2420) Am I connected correctly? Do I need to use additional pins from the controller connector (3.3V)? |
Beta Was this translation helpful? Give feedback.








Uh oh!
There was an error while loading. Please reload this page.
-
@phpphph
Can we continue the discussion about the device here until we found a solution.
Change logging to VERBOSE
Make sure the mcp2420 TX PIN is connect to PIN 16 of the ESP32 and MCP2420 RX is connected to PIN 17 on ESP
(if that doesn't work try TX => 17 and RX => 16)
Then add the output you get from ESP logging here
Beta Was this translation helpful? Give feedback.
All reactions