kaiaai / LDS

Arduino LiDAR library supporting YDLIDAR X2/X3/X4, RPLIDAR A1, Xiaomi LDS02RR, Neato XV11, LD14P, CAMSENSE X1, Delta-2A/2B/2G
Apache License 2.0
82 stars 7 forks source link

asking about my lidar #7

Open ErroujiOussama opened 1 day ago

ErroujiOussama commented 1 day ago

my lidar I have this lidar and I want to know how to use it with this library (wish version) the only information I know is that the lidar works with 115200 baud rate. if you can help pls, thank you.

kaiaai commented 1 day ago

Please check https://github.com/kaiaai/awesome-2d-lidars to identify your LiDAR. Compare your LiDAR to the published photos carefully. It might be a 3irobotix Delta-2A.

Once you have a good guess about your LiDAR model, look at the library examples under the /examples folder. Import the right header file. For Delta-2A that runs at 115200 baud the include is `#include LDS_DELTA_2A_115200.h' Read the source code to understand how that LiDAR model works and which GPIO it requires. For a full example using all supported LiDAR models see https://github.com/kaiaai/firmware sketch in the kaiaai-esp32 folder.

ErroujiOussama commented 1 day ago

is that working with esp8266 or arduino (mega&uno), cause I don't have the esp32?

kaiaai commented 1 day ago

I have only tested it with ESP32.

On Tue, Nov 19, 2024, 12:52 AM OUSSAMA ERROUJI @.***> wrote:

is that working with esp8266 or arduino (mega&uno), cause I don't have the esp32?

— Reply to this email directly, view it on GitHub https://github.com/kaiaai/LDS/issues/7#issuecomment-2485069126, or unsubscribe https://github.com/notifications/unsubscribe-auth/AIAIQ5PCSJ55PRCOWTGZLLT2BMC5ZAVCNFSM6AAAAABSA22MK2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIOBVGA3DSMJSGY . You are receiving this because you commented.Message ID: @.***>

ErroujiOussama commented 1 day ago

ok, do you have a simple program to just test the lidar and read the data from it, also display it using an interface. send me all resources do you have aboutthis topic pls. thank you :).

kaiaai commented 1 day ago

Please use the sample sketches in the 'examples' folder to run a Lidar and print out its readings.

On Tue, Nov 19, 2024, 4:12 AM OUSSAMA ERROUJI @.***> wrote:

ok, do you have a simple program to just test the lidar and read the data from it, also display it using an interface. send me all resources do you have aboutthis topic pls. thank you :).

— Reply to this email directly, view it on GitHub https://github.com/kaiaai/LDS/issues/7#issuecomment-2485488212, or unsubscribe https://github.com/notifications/unsubscribe-auth/AIAIQ5JBEYY7VMGD652PQZT2BM2NBAVCNFSM6AAAAABSA22MK2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIOBVGQ4DQMRRGI . You are receiving this because you commented.Message ID: @.***>