UART Communication Between Arduino Uno and other Controller

I want to control my Lumi motorized tv mount with Arduino which has UART communication Port
This is a information about
Data Frame Structure
uint8 Head, 0xFA
uint8 ID
uint8 x N Data Segment
uint16 Frame Counting
uint8 Frame Check, XOR all the characters except the Head and Tail
uint8 Tail,0xFD

Note:Character OxFE should be addedin front of certain characters(0xFA,0xFD,0xFE) excluding the Head and Tail whileit is not included in data length calculation and not take participant in Frame Check. e.g:FEFA = FA, FEFD = FD, FEFE = FE

I want to send commands using Arduino for Commands
So I need code or anyone please help me in writing code for commands for lift up the mount down the mount and all
information Please check Attachment
Thank you in Advance

Connection Interface and Communication Protocol of LP66 Series 200807.pdf (102 KB)

In this forum we don't do coding for you but we will help if you want to attempt the code. Otherwise you can post in the following forum to hire someone to write code for you:

Gigs and Collaborations

okay can you help me or any resources for learning ??

Install the IDE, look at lots of the examples the are installed with the IDE. They will help you get started.

Give a clear example of a data frame that will go from Arduino to remote controller. For example:

Head<How may bytes/ are they fixed?) field, b, filed c, ..., chksum, Tail(how many bytes? are they fixed?)

please check atteched pdf

ignition_electronics:
please check atteched pdf

You are not helping to get help.

Sorry ,I did not mean that but only attached document i have for explain you. And I am not able to understand the PDF stuff.
Sorry again.

First, Arduino serial is only TTL compatible, you may need to have an RS233 level converter to connect to your device.
You need to select which arduino board, I recommend the mega one because you have multiple serial ports.
And after that, it is really straightforward, make the electrical connections, open the serial port and start sending / receiving data.
There are a lot of examples on the arduino IDE.

Thank you for your reply

Sorry ignition_electronic, you don’t need a converter according to your document. The distance will be short.

Okay do you have any idea like how i can send the commands from Arduino code because i don't understand the code in pdf. I know how to send AT commands but i am not able to understand the commands in pdf please help
Thanks

This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.