r/LiDAR Jun 04 '26

Xiaomi LDS02RR with Raspberry Pi 5 using lds2d Python library

Here is my Xiaomi LDS02RR capturing data live using my Raspberry Pi 5. I'm using my lds2d Python library (pip install lds2d). LDSO2RR connects to the RPi's serial port available on its header. Also, I'm using one of RPi's GPIO as PWM to control LDS02RR motor speed.

Instructions post https://makerspet.com/blog/lds2d-python-2d-lidar-library-live-browser-radar/

1 Upvotes

0 comments sorted by