Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Modbus RTU slave: auto baud rate detection #39

Open
tuxmartin opened this issue Aug 8, 2018 · 0 comments
Open

Modbus RTU slave: auto baud rate detection #39

tuxmartin opened this issue Aug 8, 2018 · 0 comments

Comments

@tuxmartin
Copy link

Hi,

is possible to use auto baud detection for Modbus RTU slave?

Something like this: https://gist.github.com/tuxmartin/46ca107057c650fbe6f63dcae5ee067d

My idea:

  • Modbus Master (Raspberry Pi) set serial port speed to X.
  • ? (Modbus Master send broadcast message for synchronization every X seconds.) ?
  • Modbus Slave (Arduino) run detection of speed every X seconds.
  • Modbus Master periodically read data from all slaves - if any of slaves do not respond, slow down serial speed.

Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant