Looking to pay for simple coding Arduino and RS485

Hello
We currently have a Ardunio Mega and a relay board, with coding that activates certain relays in a timed sequence upon activation of a switch.
We basically need to replace a few of these relays with hexadecimal commands via RS485 and Pelco D protocol. It's to send single commands to a CCTV camera.
We also have but not yet fitted a TTL to RS485 Converter Module

With our limited knowledge, we assume we have to add some coding to enable the TTL to RS485 Converter Module to be connected using baud rate of 2400 and then in the ‘loop’ part of the coding where the instructions are given depending on the button being pressed, as well as relays being activated, we can send some hexidecimal codes.

we have all the codes that sending and when they need to be sent. We have a successful sketch which works fine with all the relays. We don't know how to add the RS485 module and the codeing needed.

If you're interested, please let me know and i'll send our current code and the exact changes we need. I've been told that it should be quite easy to add for someone who knows how to setup a RS485 module.

Thanks!

Depending on the module, it may be completely transparent. RS485 is a bidirectional communication method that uses the same wire pair for transmitting or receiving. As a result, it needs to change direction between transmit or receive. Some RS485 converters do this automatically, others have an input that needs to be set depending on direction of data transfer.

That part should be pretty easy, the rest can require some setting up for testing. If you want to discuss this some more, send me a PM.

Whereabouts are you located?
I could be interested, if you're on the same landmass(GB).