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

driver: add driver for waveshare RTU relay #1441

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

flxzt
Copy link
Contributor

@flxzt flxzt commented Jul 15, 2024

Description

This adds a driver for Waveshare ModbusRTU Relays.
These relays speak modbus so this added driver is dependent on PR #1394 .
In my current setup the relay is used to toggle the power supply of the DUT and to toggle a jumper.
I verified that the added driver works, it has been tested with the cli, the scripting and pytest interface.

Checklist

  • Documentation for the feature
  • Tests for the feature
  • The arguments and description in doc/configuration.rst have been updated
  • PR has been tested

refactor ModbusRTUDriver to use SerialPort resource directly

Signed-off-by: Felix Zwettler <[email protected]>
ensuring backwards compatibility

Signed-off-by: Felix Zwettler <[email protected]>
this adds a driver that controls Waveshare Relais speaking Modbus RTU.

Signed-off-by: Felix Zwettler <[email protected]>
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

Successfully merging this pull request may close these issues.

1 participant