RPLidar S1 erratic distances

Hello @Fayeli unfortunately, I am having issues with PRX1 no data still after following the manual there, how are your physical connections? are you doing 5v and ground from the telem 1 port and external supply? or just external?
Also are you grounding it on telem1 port?

Appreciate your support with this!

Thank you, @rmackay9 unsure if this is helpful but I can try to support remote diagnosis if feasible.

1 Like

hi
sorry to hear that.maybe you can try to ask Slamtec to sent you an sample?I already gave up about lidar.
BTW,is there any way to have a auto switch that to open a loudspeaker or a flash light if rover’s proximity sensor detects an obstacle(anything in AVOID_MARGIN distance) as a warning.

For example, some curious babies surround ROVER to watch, or someone may not notice ROVER is approaching

hi
try to check the Baud rate if your lidar in working(you can hear the vioce from lidar’s motor).
5v and ground from the telem 1 port or external supply just depend on your autopliot hardware.It cannot be generalized

Hi @Fayeli,

There’s no feature by default to flash a light or play a sound when an obstacle is close so the most I can suggest is to try and do it using a Lua script. If you’re up for a little Lua coding here are some examples that might help:

1 Like

Hello @Fayeli I tried the using the different baud rates on pixhawk, I am using a cube orange. what baud rate did it work for you on your CUAV?

s1sensor

I followed the manual online and its not detecting it. This is what its showing for Rover @rmackay9 @Fayeli

@rmackay9 do you think it could be because of the hardware I am using? I am using cube orange (not the plus), with the pixhawk board and 4.5.1 software.

those high price hardware as cube orange shouldn’t have the power problem.
the baud rate did work for me on my CUAV is 256000.

thank you a lot
but i dont know about programming。 :sweat_smile:
this is my suggestion for rovers’ function. the rover will be more safty then

Thank you for supporting me with this @Fayeli

I continue getting the same error. My motors on the sensor are not spinning despite plugging in exactly how the manual states I continue getting prx-1 no data.
I checked the voltage on each wirings its 3.3 volts on rx and tx and on power i get 5.2 volts. everything is correct including my wiring. My parameters are according to the user manual.

Do you have avoid or rngfnd values changed ? For terra ranger i know they recommend changing avoid values too.

When i do plug in the sensor to my computer it connects.

What firmware version are you using ? Any other guidance for me or any supporting documents such as your parameter file that i could request ?

I am trying to replicate to see how i could get this working for Ardurover because my device is not responding to either ardurover or copter.

Thank you for your support !

hi
AVOID_ENABLE=7
SERIAL2_BAUD=256
SERIAL2_OPTIONS=1024
SERIAL2_PROTOCOL=11
PRX1_TYPE=5
[/quote]

I faced same issue in my rover.
I tested S1 in outdoor using framegrabber from SLAMTEC. It very noisy in Standard scan mode. But I found it is very clearly in DenceBoost scan mode in same condition.


Why can’t I find GPS_TYPE1 param in this firmware??

That type of lidar is sensitive to sunlight, it gets a false return every time it turns and the sun shines into the lens.