Lidar not working

I am trying to connect the lidar A1M8-R6 Version to ardurover and it does not detect it.

I have followed the instructions on the wiki very carefully.

https://ardupilot.org/copter/docs/common-rplidar-a2.html

In particular …

  • SERIAL1_PROTOCOL = “11” (“Lidar360”) if using Serial1
  • SERIAL1_BAUD = “115” if using Serial1
  • PRX1_TYPE = “5”
  • PRX1_ORIENT = “0” if mounted on the top of the vehicle, “1” if mounted upside-down on the bottom of the vehicle.

Here is a strange thing (maybe it is very silly but when things don’t work you look at everything). In ardurover 4.2.3 there is neither PRX1_TYPE nor PRX1_ORIENT… there is the PRX_TYPE and the PRX_ORIENT.

(PRX1_TYPE exist in 4.4.0 for example)

So I have used the parameters without the one.

SERIAL1_PROTOCOL = “11”

SERIAL1_BAUD = “115”

PRX_TYPE = “5”

PRX_ORIENT = “0”

In mission planner before arm it says “PreArm: chech proximity sensor” and if I force it to arm anyway then it tells me “Bad LiDar Health”

photo_5983370278257933450_x
photo_5983370278257933449_x

With CTRL+F and Proximity no data is displayed.

The same thing happened to me on version 4.1.0 (with pixhawk 4) dev so I decided to try my luck by upgrading to version 4.2.3 (with pixhawk 5x).

It’s clear that I’m still out of luck :wink:

One more thing, the lidar rotates on itself when the pixhawk is switched on and is powered directly from the pixhawk.

I’m not an expert on rover or lidars for that matter. I’m using a downwards facing lidar on a multirotor, that’s it.

Although you should not be powering the lidar from the Pixhawk directly. This goes for basically all equipment on board. The only exception would be your receiver since it’s so low power and also the gps module that’s usually powered by the FC.

I power my lidar with a 5v BEC circuit and a rotating lidar would need an external BEC to be on the safe side. I suggest your try adding one to your system and see if that changes the bad lidar message.

1 Like

Thanks @Axel1 for the advice, I will do it!

You are right @Axel1 .
It’s working now!!!
lidarOK

Great!!

Power issues can result in many strange problems!

Hope it works well in the air too!