Click here to Skip to main content
14,579,188 members
Rate this:
Please Sign up or sign in to vote.
See more:
Hi this might be a simple one for someone. I've an Arduino Mega and a MAX485 Module RS-485 TTL to RS485 Converter Module. I basically need the code to set it up with a baud rate of 2800 and then the line of code to instruct it to send a hexidecimal code (the Pelco D protocol) when a button is activated. Currently we have a simple system where the Arduino is activating relays upon the button being pressed. We need to add the command to send the hexidecmal code (the code is FF 01 00 07 00 01 ) as well. I've no idea, anyone like to suggest?

What I have tried:

Nothing yet, it's taken us this long just to get the hexidecimal code..
Posted
Updated 14-May-20 5:49am

1 solution

Rate this:
Please Sign up or sign in to vote.

Solution 1

Take a look at Search results – Tinkercad[^].
   

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)




CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100