Hi, I am attempting a project which will get the current time from an RTC and then send that data over modbus RS485. Does anyone have any advice on how to approach it?
Divide the project to the steps:
- first learn how to read the time from RTC
- next try to connect boards with modbus
- and finally merge first two together
read RTC
define a Modbus register and a data format how to transmit the time (for example two 16 byte variables for a uint32_t timestamp
Implement the Modbus Master (Client)
Implement the Modbus Slave (Server)
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.