Click here to Skip to main content
15,888,113 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
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

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

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



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900