You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks a lot for the great work you have done with this project. I am using your code with a few small changes on an ESP32-C3. Unfortunately I see sporadic fails when reading registers, is this something you also experience? See mqtt log, where POLL represents the start of reading registers on all channels:
The text was updated successfully, but these errors were encountered:
Hi @dkjonas
I actually think I found the solution, at least I haven't had any fails for hours, with the new code in bold added:
Serial1.begin(38400, SERIAL_8N1, rxPin, txPin); ESP_ERROR_CHECK(uart_set_mode(UART_NUM_1, UART_MODE_RS485_HALF_DUPLEX));
Would you mind sharing your esp32-c3 repo - and are you able to use uart directly from the esp-c3 or do you still need a max3072e? My setup with a 8266 works, but I'm having intermittent issues so I'm looking to try alternatives
Hi @dkjonas
Thanks a lot for the great work you have done with this project. I am using your code with a few small changes on an ESP32-C3. Unfortunately I see sporadic fails when reading registers, is this something you also experience? See mqtt log, where POLL represents the start of reading registers on all channels:
![image](https://private-user-images.githubusercontent.com/3353498/246057805-68dcfc1b-eb4e-4e4b-92da-14bcdd2c8e25.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjU2ODA1MTQsIm5iZiI6MTcyNTY4MDIxNCwicGF0aCI6Ii8zMzUzNDk4LzI0NjA1NzgwNS02OGRjZmMxYi1lYjRlLTRlNGItOTJkYS0xNGJjZGQyYzhlMjUucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDkwNyUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA5MDdUMDMzNjU0WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9ZjljNmE0ZGY3OWIxMzc3YTYxMTM3NDIzNWY5ZTMwYTk2MDc0YmFiNjZhOTQ3MjcxZjkzM2M1ZWYwNWM5MjhkYSZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.-8Jhd1w3A0B6IZNEsmDahJvPuQZ0wRCztfpalyfqcbU)
The text was updated successfully, but these errors were encountered: