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: