Hexadecimal commands for HT1 Servo

Hi there,
I have an HT1 servo driving a conveyor built. The communication works well via the LynxMotion software and USB to serial convertor. What I want to do now is control the Servo via UART interface from another device. However I can only send hexadecimal commands. Is this something that is supported?
Thanks!

Hi IG88,

The good news is you only have to follow the serial protocol.
For a conveyor, most people will use the Wheel Mode.

Just set the right baudrate and don’t forget the at the end of your message.

Here is the complete LSS protocol page:

It would be nice to see your project as well.
Either on the forum:

Or the blog:

All the best,

1 Like

Thanks for the response dialfonzo. The issue i have is that I can only send hexadecimal from my device (a camera) and not alphanumerics. I can convert the hex into alphanumerics in a Python script but I ideally I want to talk directly between the camera and the servo. I tried sending #0D1000 as an example but my device does not accept this as an entry. So I was wondering if there is a mode that would accept hex codes somehow?

I will be happy to share the project details but it is only a demonstration of using UART on our cameras, not a true project.

Hi IG88,

The LSS protocol is serial and not HEX but according to chatGPT you should be able to make it work.
If the camera UI only lets you enter hex bytes, you can still talk to the servo by sending the ASCII characters encoded as hex, plus the CR:

  • Move to +100.0° on ID 0 (ASCII):
    #0D1000 + <CR>
    Hex bytes to send: 23 30 44 31 30 30 30 0D
    (#=23, 0=30, D=44, 1=31, 0=30, 0=30, 0=30, <CR>=0D)
    (“D” is absolute move in degrees, value in tenths of a degree.)
  • Relative move +12.3° on ID 0 (ASCII):
    #0MD123 + <CR> → Hex: 23 30 4D 44 31 32 33 0D
    (“MD” = move relative in degrees, tenths of a degree.)
  • Query position in degrees on ID 0 (ASCII):
    #0QD + <CR> → Hex: 23 30 51 44 0D
    (Queries end with CR too.)

Note that I have not tested that…

:slight_smile:

1 Like

Hi dialfonzo,
thanks for your continued support.
I have tested sending the ASCII characters as hex but unfortunately without success. Currently bypassing the camera, so just connected directly to the RS232 to YSB convertor.

Here’s what I have tried:
Send ASCII commands from the command dialogue in LSS Config - this works
Send ASCII commands from PuTTY terminal - this works
Send HEX commands from command line in LSS Config - unsuccessful
Send HEX commands from PuTTY termina - unsuccessful

I have also tried the HEX commands in various formats (for example to query the status), i have tried:
#0Q - returns *0Q6
23 30 51 0D - no response
2330510D - no response
0x23 30 51 0D - no response
(and almost every alternative with and without the # and )

Do you have any other suggestions? I am hoping it is just something wrong with how I am sending the commands.

Thanks :slight_smile: