Tutorial: Connect Xiaomi LDS02RR LiDAR to Raspberry Pi (Python)

Read distance data from the ~$15 Xiaomi LDS02RR on a Raspberry Pi in Python — and run the PID + PWM loop that spins its motor at 5 Hz, which the LDS02RR cannot do for itself.

Read distance data from the ~$15 Xiaomi LDS02RR on a Raspberry Pi in Python — and run the PID + PWM loop that spins its motor at 5 Hz, which the LDS02RR cannot do for itself.

Turn the LD14P's raw distance data into a live polar radar you watch in any web browser — served straight from a headless Raspberry Pi with Flask. Part 3 of the LD14P + Raspberry Pi series.

Part 2: stop, start and set the scan speed of the LDROBOT LD14P LiDAR from Python on a Raspberry Pi 5, over UART.

Stream live distance data from an LDROBOT LD14P 2D LiDAR on a Raspberry Pi 4 or 5 using Python and pyserial. Wiring, UART setup, and full source code.

L298N is a popular, low-cost motor driver board. Here is how you can connect L298N to ESP32 and drive a ROS2 (Kaia.ai-compatible) differential robot. Schematic Wiring Refer to these wiring example illustrations. Firmware Use the default firmware with no changes.…

Let’s view ROS2 robot telemetry, only this time let’s use Foxglove.dev instead of ROS2 RViz. Foxglove runs outside of ROS2. For example, I run Foxglove on my Windows PC in a browser, while my ROS2 runs inside a Docker container…

YDLIDAR X3, X3PRO, X2 and X2L are a low-cost 2D LiDAR 360-degree distance sensor used in robotics for navigation. Here are instructions to connect YDLIDAR X3/X3PRO and X2/X2L to the LiDAR port on Maker’s Pet BDC-30P and BDC-38P motor driver…

3irobotix Delta-2A, 2B and 2G are a low-cost 2D LiDAR 360-degree distance sensor used in smart vacuum cleaners for navigation. Here are instructions to connect Delta-2G to the LiDAR port on Maker’s Pet BDC-30P and BDC-38P motor driver and ESP32…

Here is my video instructions series with step-by-step explanations “How to Build an Arduino/ROS2 Self-driving Robot”. Here is what the robot can do – once the build is complete: Optionally, you can write your own Python or C++ code to…

TB6612FNG is a low-cost driver IC for brushed DC motors – popular with DIY enthusiasts to build small wheeled robots. One TB6612FNG can drive twomotors with power supply voltage up to 15V, average output current up to 1.2A per motor…
Questions about a kit, an order, or your build? Drop us a note — we usually reply within a day.