DIY Autonomous Vehicle with 2D LiDAR
ฝัง
- เผยแพร่เมื่อ 8 มิ.ย. 2024
- Interested in autonomous vehicles and LiDAR? This video is the second in a series by Elektor and SparkFun engineers on the topics. After studying the principles of #LiDAR (Light Detection And Ranging), we build an autonomous vehicle that finds its way around a room without bumping into objects.
The vehicle is a simple design with two motorized wheels in the center and two stand-offs on either end for remaining balanced. This arrangement makes the vehicle very agile.
The motors are controlled by an #ESP32 Pico Kit, which in turn is controlled over #Bluetooth by a smartphone. The lidar data is processed by the ESP32 and used to steer the vehicle in the direction of the greatest distance, i.e. the object that is furthest away.
Resources:
- One-dimensional (1D) lidar-based parking light by Rob Reynolds from @sparkfun: • Perfect Parking with L...
- ESP32 Arduino source code for this project: github.com/ClemensAtElektor/L...
- Elektor Magazine - SparkFun edition: www.elektormagazine.com/magaz...
- Elektor Store: www.elektor.com/elektor-magaz...
- SparkFun website: www.sparkfun.com/
Check out our TH-cam offers: www.elektor.com/youtube
Subscribe to our Newsletter: www.elektormagazine.com/pages...
Contents:
0:00 Intro
0:29 Lidar essentials
1:34 SparkFun
2:15 2D lidar backgrounder
2:50 Ydlidar X4
3:37 ESP32 Pico Kit
3:52 Lidar data decoding
4:51 Building the autonomous vehicle
5:35 Bluetooth control
6:00 The control algorithm
7:14 Experimental results
8:01 Summarizing
8:39 Thank you for watching. - วิทยาศาสตร์และเทคโนโลยี
Very nicely done, Clemens! I instantaniously ordered the Lidar and the ESP32 Pico and have them on my desk now. Can't wait to get started. Thank you for the inspiration!
Enjoy!
How much run you ? where did you order from ?
which motor and motor driver boards did you use?
Hi Clemens, would it be possible to mount the LIDAR at an 90° angle? If so, I would like to try to construct something that detects animals passing through a detection zone with it. Very nice instructive video! Best regards!
Sorry for the late reply. You can mount the LIDAR any way you like, nothing will fall off.
hello, your projects are very nice and useful, but the link you left in the description of this video gives an error
We just double checked, all the links are working fine on our end. But maybe you can specify which link you are talking about? Thank you.
Nice voice syncing !!! cool ... and helpful intro to lidar
Thanks a lot 😊
Sir please help me with arduino due and ylidar x4