Thank you very much for your answer. I have now found a solution to my problem. However, a new problem has now arisen, namely that the data I get from the LIDAR does not follow the format from the wiki. My new question is therefore whether there is any transformation or something similar that I need to perform to get the desired Data.
The data I get from the LIDAR looks like this:
b’l’, b’\x85’, b’\xbf’, b’\xda’, b’\xa0’, b’\xa0’, b’\xa0’, b’\x13’, b’\x13’, b’9’, b’\x7f’, b’\xa3’, b’\x02’, b’$‘, b’\x00’, b’Z’, b’[‘, b’H’, b’\xd5’, b’\xd5’, b’W’, b’Y’, b’\x85’, b’\xff’, b’\xdd’, b’\x94’, b’S’, b’M’, b’\x7f’, b’L’, b’p’, b’H’, b’\xd5’, b’\x1b’, b’\xff’, b’\x7f’, b’6’, b’\x86’, b’;‘, b’\x7f’, b’7’, b’\xe1’, b’+‘, b’\x7f’, b’\xae’, b’\xae’, b’w’, b’\x89’, b’O’, b’K’, b’~‘, b’\x95’, b’Z’, b’\x85’, b’\xff’, b’I’, b’K’, b’G’, b’?‘, b’A’, b’C’, b’A’, b’A’, b’=‘, b’\x7f’, b’\xfd’, b’\x84’, b’\x96’, b’H’, b’\xd5’, b’\x1b’, b’|‘, b’)‘, b"’“, b”‘", b’)‘, b’)‘, b’)‘, b’)‘, b’%‘, b’)‘, b’)‘, b’)‘, b"’“, b’\x84’, b’\xd5’, b’\x1b’, b’z’, b’%‘, b’#‘, b’)‘, b’)‘, b’%', b”‘", b’%‘, b’#‘, b’?‘, b’5’, b’)‘, b’%']
My pyserial code looks like this:
ser = serial.Serial(‘/dev/ttyLP3’ , 230400 , stopbits=1, )
x = ser.read()
print(x)
And I am now working on a Toradex Apalis iMX8 with an Ixora carrier board. Many thanks in advance