Because this video was so short, I was expecting it to be one of those badly filmed hurried demonstrations with no worthwhile details that seem to litter KZitem. So I was very pleasantly surprised when I saw that it was actually very well presented indeed. This is an example of what a wonderful time for hobby electronics that we live in. I remember reading about how NASA were flying lidars aboard the shuttle in the 90s... the though that somebody could build one in the own homes would have been filed under "very nearly impossible". Would it be possible to improve the resolution (obviously, with a slower scan-rate)?
@ratchet1freak
7 жыл бұрын
resolution depends on the angle between points, aka to improve resolution you just need to take fewer steps between readings.
@kentvandervelden
7 жыл бұрын
And likewise, yours is a wonderful comment.
@MiguelMartinez-hm9wk
7 жыл бұрын
I agree with both Kent and edgeeffect. This video, though short, was detailed enough to explain that this is a relatively easy project and it was also extremely fascinating. Your comment, edgeeffect, restores my hope in the somewhat unstable landscape that is the KZitem comment section. Great video Dana. I will attempt this project myself.
@3dadventures792
7 жыл бұрын
I'd say the video was detailed enough to explain how to build one!
@VitaminVS
6 жыл бұрын
Nice video. Could you please share the code or share the materials where I can built my own lidar scanner like you did. Very interesting.
@adilchauhan397
4 ай бұрын
I did this using a laser tape measure about 13 years ago. For me, one scan took 2+ hours. Today this video randomly popped up on my feed. Crazy how Lidar now gets several scans every second.
@TwizyChrisy
7 жыл бұрын
People who can do such Projekts are something like digital gods :-) I know what this thing does, but I dont understand how one man can know anything to build this! WOW!!!!!
@EFoxVN
3 жыл бұрын
Hello there, I am happy to see that one can indeed hook up a Lidar to an Arduino.
@cekuhnen
5 жыл бұрын
What software do you use to create the point cloud ? Can you later mesh it with meshlab? How precise is the lidar scan?
@UberAlphaSirus
7 жыл бұрын
to eliminate the bulk of any miss readings/errors caused by reflections, glance blows and shadows, you could run it 3 times at different locations. If you made a base plate with locating pins that the scanner could index itself at known angle, spacing and even height if you wished. you could triangulate out errors etc and make the cloud map not 2.5D but closer to 3D. Like I said in another comment, I have been thinking about a cheep way to make a reliable room scanner to measurefor very expensive one off furnishings.
@danapeters
7 жыл бұрын
Interesting idea. I can't think of an obvious way to automatically identify the "locating pins". Perhaps combining the multiple scans would require some human intervention where a user manually identifies multiple points that are common between the scans.
@UberAlphaSirus
7 жыл бұрын
Dana Peters It's simple , a flat plate with say with three pins triangular 1mt apart. Run each scan from the new datum point. You don't need a point in space to set the datum each time. You just need to start each scan with the thing exactly pararel to the previous scan. You can move xyz to change location, but abc is to be the same at every new scan to calculate anything out of it
@jacks19822
7 жыл бұрын
hey what you are thinking is EXACTLY what one of my friend needed. Their furniture goes for around 100K+ (wardrobe) and having issues during installation every time. So installer have to be quite creative every single time. There would always be small issues here and there when it comes to final installation. I have been really demanding and asked them to build a 3D model (1cm accuracy, where I really want is sub mm accuracy) of the room every single time on a new project. And the lack of AI or automatic drawing / measuring tool is making it very hard. I hope in the future there can be a tool that scans & spec the room, and builds a 3D model to a sub millimeter precision. Or a tool that scans a finished room which can tell the flatness in wall or floor surface straight away. You can check out Rimadesio, Lema or Bulthaup. Installations of their furniture requires very precise measurements and floor /wall finishing & material. As well as some wooden flooring like Dinesen flooring, where the flatness of the concrete floor needs to be + - 2mm.(Same flooring requirement as Apple official store)
@crckdns
5 жыл бұрын
Actually it's even more easy. Just use circular polarized filters.
@paxdriver
7 жыл бұрын
You are my hero. Thank you so much! I'd love for you to make long videos going over your projects. This is a great one!
@RyanBarnes
5 жыл бұрын
How difficult do you think it would be to have software figure out similarities of two point clouds and merge them together? For instance, taking two scans of the same room from different places and using that info to create a map of the room?
@yoyobom1130
Жыл бұрын
Did you find an answer ?
@RyanBarnes
Жыл бұрын
@@yoyobom1130 Nope.
@user-rn6hz8pb9s
3 жыл бұрын
This is awesome!!!, I’m getting myself into electronics again after so long and I’m getting a Christmas calendar with electronic components inside with a breadboard and I’m gonna buy a arduino soon so I might consider getting a lidar sensor and a servo motor for such a project it looks amazing
@sjamesparsonsjr
6 жыл бұрын
Wow, this is an epic project. Keep up the good work!
@robot3dprinting89
7 жыл бұрын
Thanks for sharing this. I like the schematic on your web page with the voltage regulator for the servos - great idea. I have one of these coming, and now I can't wait to try it.
@tonyiguru7595
4 жыл бұрын
You and your excellent video inspired me to try to re-create what you did. I bit off more than I could chew... Due to my limited funds, more time than money, I bought less expensive parts: 1. Chinese 1602 LCD with Keypad Shield with buttons 2. Proto Screw Shield for Arduino 3. TFmini Plus Lidar Range Finder Which I have finally have gotten to play nice with each other. The documentation for the 1602 shield eludes me, so I looked at the library files to see what pins it used, as to not mistakenly try to use the same pins on two devices. I got stuck in my tracks, when it comes to the servos, which are SG 95. My questions are: Is there a reason you used pins 2, and 3? I noticed that they are also the interrupts, on an Uno. I would like to use different pins, if its possible. I tried you code, just to see if I could get the Processing software, to spit out the screen, like the one in your video. All I got was an empty white box, that times out after a while. I tried both the 2.1 and 3.x software for processing and got the same result. Was this the result from Processing I should expect, when not having a lidar lite hooked up to it? My TFmini Pro is a serial interface, but I could no figure out how to adapt it to your software, so I didn't have an input to feed the Processing output (0,1), hard serial. I did use Software Serial, to connect it, with my 1602 LCD shield successfully, but still have to get the Arduino code, that I put together, to work with some servo code, that I was hoping to borrow from you, and the Hard serial out code for the Processing sketch.
@NiceTechViews5403
6 жыл бұрын
Wow - we plan to use this LaserScanner to measure and detect and count people and stuff...your video is inspiring me..i can imagine to use this to visualize my data via ThreeJS ( webGL ) - great
@inqonthat1463
2 жыл бұрын
Someone on our forum provided the link to your site with this video. Fantastic project and video. I downloaded your ino/pde, and will be applying the concept to another type of sensor. Might I suggest... that you add a sample scanning data file so that we can try out your Processing/pde program before we have the ability to generate one with your ino? Thanks!
@iortega
4 жыл бұрын
Sharing that amazing code without thinking in profits, that's of gentlemen, thanks
@calvinbarajas5144
5 жыл бұрын
Thank you very much for the video Dana. I'm wondering if it would be possible to scan a dog and see only the body without the fur. Might you know if the LiDAR can penetrate fur or hair or clothing?
@tkelly3866
7 жыл бұрын
Thanks for the processing code ! It will save me a bunch of time.
@whalermac1561
7 жыл бұрын
lol, he made the holograms from prometheus
@danapeters
7 жыл бұрын
The movie Prometheus was an inspiration for this. I wonder if anyone has created a scanning drone which works like the scanners depicted in the movie.
@roddy.maciver.music05
4 жыл бұрын
that looks pretty cool do you think the LIDAR system would be used on the future for say for example driver less car if it takes 10 minutes to scan the environment then would it be able to scan objects at the velocity of the vehicle.
@Victurf
Жыл бұрын
Hello, Would you be so kind as to tell me what process you use to obtain the image? Is it a special software that visualizes the measured points? Best regards Jean-Pierre
@ErikThiart
5 жыл бұрын
Do you think the TF mini will work similarly? I want to start with lidar, but good heavens that is some expensive equipment.
@theforce82
7 жыл бұрын
Nice done! Thats now for me a Cool project with arduino!!
@superliegebeest544
2 жыл бұрын
Good video. I hava a question, im working on a convayorbelt inside a freezer. I wanted to put 3 or 4 ir sensors lengthwise over the.belt to activate the belt motor if they see a object on the belt. Could one of these do the same thing? And does this shines out the beam sideways or just like a lazer one small line?
@gm_shiokawa
5 жыл бұрын
1. How do you attach the servo motors to the LIDAR? 2. How do you attach the cytron shield and keypad? 3. Can you connect the components using breadboard? Thanks
@UberAlphaSirus
7 жыл бұрын
I was going to make this 10-15 years ago to measure bay and bow windows for close fitting pelmets for curtains/drapes. As some complicated windows took 2-3 hours with 2 men up ladders using tape measures with 20-80 measurements at 1mm accuracy read from 4 feet away sometimes. then remeasured 2 times more to remove mistakes. boss never gave me the time to work on it and simple platforms like the pie and arduino where not available back then and laser measures where pricey. but mistakes still cost 100's in time and materials.
@tonyiguru7595
4 жыл бұрын
Trying to reproduce your excellent plotting of x, y, z, using inexpensive parts. I'm using Processing V2.1 but I'm having trouble with the LidarScanner.pde, and the serial output format. Are the x y z coordinates, being sent Serially to the Process sketch, separated by commas, 123,456,789? Do they have leading 0's? Are each of them 3 characters long?
@Squeaky_Ben
4 жыл бұрын
Can I ask you how you built the interface? As in, how does your serial data get read on your PC and such.
@Darkmatter321
7 жыл бұрын
Very cool ! Been wanting to get into making things with Arduino, but I have no coding skills. So that's been holding me back
@danapeters
7 жыл бұрын
Arduino provides an excellent opportunity to learn coding. Best to start with simple projects first, though.
@cherylm2C6671
Жыл бұрын
@@danapeters Thank you for your video and your comment. I am also just beginning in electronics and stumbled upon your video from researching cavity sensors. Thanks for the tip!
@sst8465
5 жыл бұрын
how to get the final output where we can see the cloud point in 3D. did you use any special software for rendering?
@xSimplyP
Жыл бұрын
Would it be possible to combine this with a camera to get textured 3D scans?
@Squeaky_Ben
3 жыл бұрын
Can you tell me which Lidar scanner this is? I am interested in making one of these myself, so it would be interesting.
@estebanbaltierrez4549
4 жыл бұрын
Nice, how accurate is it? I want to build one to scan a room in a single plane to export to CAD.
@georgew0304
7 жыл бұрын
What's the limiting factor for the scan take 10 minutes? How are self-driving cars able to scan in real-time? Thank you for posting this video, it's has given me a little creative inspiration :)
@danapeters
7 жыл бұрын
This project uses hobby servos to slowly step a LIDAR detector. The Garmin detector could operate at a much higher scanning rate, but the speed of servo movement is the limiting factor. I believe that self-driving cars typically use a quickly rotating mirror to steer the LIDAR beam, increasing the scanning speed tremendously.
@odissey2
6 жыл бұрын
I believe that this lidar is limited to about 100 measurements per second, which sets limit on total scan time
@andrefilipe9946
3 ай бұрын
Friend, please help me, I can't get the correct shape, I've tried all the formulas and possible ways, I'm not a programmer, but I have good horizontal lines, but when the servo reaches about 45 degrees, it starts to make my ceiling as if it were an arch and it is triangular understand? can you give me some help?
@pepper669
7 жыл бұрын
Cool stuff! I'm currently trying to achieve something similar using a cheap VL53L0X board.
@MrSylanvys
7 жыл бұрын
Can you help me with the 3D render? I dont know how to do it. Thank you
@NavalKishoreBarthwal
7 жыл бұрын
can you tell how did you do that animation??
@adambagwell3289
7 жыл бұрын
which Lynxmotion Pan and Tilt Kit model did you use? I went to the webpage in the description, but when I click on the link for it, it goes to the Lidar unit page. Thanks!
@danapeters
7 жыл бұрын
I fixed the link on the web page, thanks for mentioning it! The Lynxmotion Pan and Tilt Kit I used has product code "RB-Lyn-74".
@4.0.4
7 жыл бұрын
What was the limiting factor for the speed? The motors? The LIDAR? Because it would be cool to see how fast you can run it. I'd assume the LIDAR mechanism can operate at a fast rate, so maybe just a run-of-the-mill NEMA 17 for the horizontal axis could give better speeds. I assume it needs to stay put for each degree, and can't spin freely while it scans?
@bloodyraijin6684
7 жыл бұрын
Chrysippus i would say the motor but I won't put my money on because doesn't the LIDAR instantaneous information when it scans something
@danapeters
7 жыл бұрын
The limiting factor is the speed of inexpensive hobby stepper motors. A continuously spinning apparatus would improve the speed, but introduce other problems, such as how to connect.
@LowLightVideos
7 жыл бұрын
Dana Peters - Connect with a rotating coupling or WiFi.
@jotham123
7 жыл бұрын
Perhaps a slip ring would do the job. Its quality of connection would have to be good enough though.
@eglintonflats
6 жыл бұрын
You don't say
@sanduc7757
4 жыл бұрын
Hello, thank you for the video. can you please tell me why did you use an outside power source? instead of just connecting your arduino through an usb cable to the pc. and on what pins did you connect the LCD display? thank you again
@sanduc7757
4 жыл бұрын
I am asking because the the schematic does not show where you connect the LCD screen
@DormirnaodaXP
6 жыл бұрын
HO MY GOD! THIS IS AMAZING! TUTORIAL PLEASE! STEP TO STEP!
@AkshayKumar-eb1bx
4 жыл бұрын
Hey is that Garmin lidar lite v3 sensor? Can you tell me the purpose of 1000uf capacitor to the lidar sensor in between black and red. Can you tell me what changes in the circuit should be done if we use different lidar sensor. Waiting for your response, thank you
@danapeters
4 жыл бұрын
It is the Garmin LIDAR-Lite v3. The purpose of the 1000uF capacitor is to smooth the supply voltage to prevent it from dipping below 5V when the current drawn by the LIDAR sensor suddenly spikes.
@DougHanchard
6 жыл бұрын
Stumbled across this and came away impressed. I think clicked onto your webpage. It's been a couple of years since you posted this. Any updates or feedback since your build? I really like your design and wondered if you have any additional thoughts. - thanks!
@88bobiz
4 жыл бұрын
Hi Dana, thank you very much for sharing your cool tech. I was wondering if you know any laser modules that are for sale and have a range between 100 meters to 300 meters.
@dillon1977
6 жыл бұрын
Is there a 3d scanner low cost? i 'd like to connect to ROS for exercices
@gm_shiokawa
5 жыл бұрын
What software is this and how do you connect it, as it does not show on your website
@thewilltejeda
6 жыл бұрын
Is there any way to do this with python and a pi ? I looked and couldnt find any good libraries for lidar for python
@christophdoller7824
4 жыл бұрын
i have a Problem while rebuilding this Project without a LCD - Shield, i tried to remove the buttons and the lcd part of the Programm and it still doesn't work. Can you help me modifying the Programm?
@chadgdry3938
7 жыл бұрын
wow, building the future with common tools.. neat
@sittiponmagpeng9827
7 жыл бұрын
Hello! Your Processing sketch (LidarScanner.pde) can use with 360 degree lidar? I'm trying to find software ,It's can help me.
@danapeters
7 жыл бұрын
The Processing sketch accepts serial input with space-separated X Y Z co-ordinates. This ought to work with a 360 degree scanner, provided it produces serial output with this same format. You can modify the Processing sketch to accommodate the output format of your LIDAR scanner if needed.
@sittiponmagpeng9827
7 жыл бұрын
Thank you.
@gm_shiokawa
5 жыл бұрын
@@danapeters How about the Arduino sketch?
@carlosarenosa9334
7 жыл бұрын
Awesome Dana! Nice work!!
@pablocentral89
3 жыл бұрын
What programs did you use? Thanks!
@Tadesan
7 жыл бұрын
Outstanding video!
@arduinotech7484
7 жыл бұрын
i love u bro i was trying to get it everywhere!!
@SamppaOO
4 жыл бұрын
The x,y,z coordinate conversion in the code you provided is wrong. It should be z=radius*sin(elevation); , y=radius*cos(elevation)*sin(azimuth) and x = radius*cos(elevation)*cos(azimuth).
@bananobanana1870
7 жыл бұрын
could you also use a spinning mirror in front of a lidarsensor? so you had less mass and cables flying around? :)
@danapeters
7 жыл бұрын
Not sure if a spinning mirror would work, because the LIDAR detector has separate optics for the emitter and detector. They both need to be focused on the same spot.
@cyberpilot6512
6 жыл бұрын
banano banana - you can hook it ip using a slip ring and a constant spin stepping motor
@canukcanoehead
7 жыл бұрын
Hi, very nice project. Have you verified how accurate the point cloud is to the actual dimensions of the space? thanks.
@danapeters
7 жыл бұрын
I have not verified the accuracy of the scan, but the distance shown on the LCD display will match the distance determined by a measuring tape to within a centimetre over a distance of a few metres. I don't see any reason why the scan would be less accurate than this static test.
@DKMonberg
6 жыл бұрын
You do have take take the curvature supplied by the two servos and the distance of the scanner to the origin in to an account.. it creates a quite dazzling effect :) the point-cloud, however, is not precise.
@Victurf
11 ай бұрын
Hello, would you be so kind as to provide us with a slightly more detailed cable plan? Tahnk you and best regards
@projanfan1429
6 жыл бұрын
Is the instruction for Freetronics LCD shield about "disable the backlight control by cutting strap marked "D3"" only applicable to this particular LCD shield?
@danapeters
6 жыл бұрын
Yes, this instruction is specific to the Freetronics LCD shield, so you can ignore it if using a different LCD shield.
@projanfan1429
6 жыл бұрын
Thank you for your quick response. I recreated the exact same setup except using the same LCD mode. But maybe because button position is slightly different on LCD it seems like not moving or starting properly. How do you start the scan automatically after uploading the sketch?
@projanfan1429
6 жыл бұрын
Thank you. I got the clue. My LCD shield seems like not all buttons assigned to A0. So I will either fix this or just get the same shield.
@xiaofancui2174
4 жыл бұрын
Very nice work! I am wondering what’s the model of LiDAR sensor? Can I also buy one from the market?
@danapeters
4 жыл бұрын
Please visit the link in the video description for more information.
@xiaofancui2174
4 жыл бұрын
@@danapeters Thank you so much! Appreciate
@RachelPecio
7 жыл бұрын
What software did you use to accumulate the point cloud
@danapeters
7 жыл бұрын
The point cloud is displayed on a desktop computer using a Processing sketch. The source is available as "LidarScanner.pde" from the URL in the description of this video.
@volkand1830
3 жыл бұрын
How work lidar may you choose to work principal ?
@staror890
6 жыл бұрын
I have 2 questions , Is the proto shield and the lcd display nessesary for this build to work . and is there any way to get a faster scan than 10 mins ?
@danapeters
6 жыл бұрын
You do not require the LCD shield, although minor changes are needed to the code to start scanning immediately instead of waiting for a button press. I have not attempted to speed up the scan, although this could be done by various methods. You could restrict the horizontal and/or vertical angular range, or take bigger angular steps, or both, for example.
@staror890
6 жыл бұрын
Dana Peters perfect ,thank you for replying so quickly !! Much appreciated
@staror890
6 жыл бұрын
could you please copy and paste or sent the arduino code to me please , i can seem to open the file on the website in the description
@SHAINON117
Ай бұрын
Thats epic bruh ❤❤❤❤❤❤❤
@shiftblacklabs8307
7 жыл бұрын
How many point do you collect at 10 minute ?
@danapeters
7 жыл бұрын
There are 18,000 points in the point cloud shown in the video, which was captured in 10 minutes.
@shiftblacklabs8307
7 жыл бұрын
thank u MR. Peters
@r1tual226
7 жыл бұрын
If lidar lite can take 366 readings per second, why did it take 10 minutes to get 18,000 points? limited by the movement of the servo's to cover the field of view in a short amount of time? or do you have to slow down the readings per second to get better accuracy?
@danapeters
7 жыл бұрын
I did not attempt to optimize the speed of the scanner, so I don't know what the limiting factors are. There is a delay(30) in the Arduino sketch that attempts to give the servos some time to settle, perhaps this can be reduced or eliminated for faster scanning.
@dainazinas
5 жыл бұрын
@@danapeters Leica BLK360(sandwich 2 old hdd drives, 90degree polished aluminium prism on one of the motors and the sensor in the opposite, should be fairly robust contraption......)
@nanoqueen6720
6 жыл бұрын
Hello, I have a question,how can i scan a room by lidar sensor using an arduino uno and "Processing" software ,what is the arduino code can show my purpose?......please help
@billsbuilds5961
6 жыл бұрын
I will preface my question by saying I know nothing about 3d scanning or Lidar. I was wondering if this device could be setup/configured to scan small objects, roughly the size of a shirt button? I assume the point cloud could then be imported into some sort of 3d modeling software where it can be modified and then exported to a 3D printer? This is a very cool project, thanks for the video.
@danapeters
6 жыл бұрын
The Garmin LIDAR-Lite 3 would not be suitable for tiny objects. It has a range of 40m, with a resolution of +/- 1cm. A button is about 0.2cm thick, so it wouldn't be detected.
@billsbuilds5961
6 жыл бұрын
Dana Peters Thank you! The search continues... 😉
@alynn333333
6 жыл бұрын
Look into photogrammetry - presumably your object is going to want to stay in one place, and distance isn't an issue, so photogrammetry (with enough camera resolution and good model lighting) may be a viable option. And, hey, it's "free" to get started out in! @Dana: Outstanding demo, and thank you for sharing your sketch on your site. It's enough to get one thinking!
@machine2747
6 жыл бұрын
Great project! The processing sketch on your site is a .pde file. Can you tell me what program I will need to run such a file?Thanks!
@billfield8300
6 жыл бұрын
The software is free and available at www.processing.org/download. I just installed it today for my Creoqode NOVA. It is a text editor that can be used to write for arduino.
@thecard69
7 жыл бұрын
Why not a spinning mirror for faster 360 degree scanning? Is that not doable? Seems very cool, thanks for sharing!
@thecard69
7 жыл бұрын
WhiteShadow2k1 I was thinking the laser could stay stationary and the mirror would spin and reflect the laser pulse back to the receiver and use the software to sense where the mirror was pointed to build the dot picture. I would think you could scan faster that way.
@danapeters
7 жыл бұрын
I think using spinning mirrors would be problematic in combination with the Garmin LIDAR detector, because it has separate optics for the infrared laser and infrared detector. The mirror would have to be large enough to steer both of them to the same spot. Maybe someone who knows more will comment.
@thecard69
7 жыл бұрын
Yeah, I've been thinking about it a little and it would add several layers of complexity (& probably cost) to do it right. Most of the scanning mirror type devices out there seem to be limited in field of view to accommodate the mirror array or prisms used. Twas just a thought! On to the next one, cheers!
@LowLightVideos
7 жыл бұрын
Dana Peters - A spinning long prism would cover both lenses, then just swing sideways. Paint the back of one (or 2) sides of the prism black to provide sync, or glue a tiny mirror on it's back with a LED/Photodetector to give the sync. Scan rate is going to be limited by CPU speed, Code optimization in that case rather than stepper rate (for up/down). Sideways will still be limited by the stepper speed (unless you want to gear together another two more prisms for the other axis). YT, Rob
@projanfan1429
6 жыл бұрын
Do u run Processing sketch while you are scanning? Sorry for many questions : )
@danapeters
6 жыл бұрын
Yes, the Processing sketch is running on a desktop computer during the scan. The Arduino sends each data point to the Processing sketch over a serial connection.
@projanfan1429
6 жыл бұрын
Thanks. But still have problem running this sketch on Processing(ver3.3.6). It returns error "size() function should not be used here". I tried to change this to fullScreen() but never worked.
@projanfan1429
6 жыл бұрын
I actually figured it out. I worked by downgrading to ver 2.2.1. Thank you very much for all your support!!
@danapeters
6 жыл бұрын
Great, glad you found a solution, and thanks for reporting the problem.
@dimasahmadnurfauzi6773
2 жыл бұрын
can you measure the room dimension using this scanner?
@arteinsectoDIY
4 жыл бұрын
Que buen proyecto !!!!
@hankh825
7 жыл бұрын
incredible! which wavelength did you use?
@danapeters
7 жыл бұрын
The wavelength of the Garmin LIDAR Lite v3 is 905 nm.
@hankh825
7 жыл бұрын
thank you very much!
@aliazzoqa5816
5 жыл бұрын
Can I use an ultrasonic in position of lidra ?? And it possible to draw this on mobile application? How its worth at all ?
@samyhaffoudhi5941
5 жыл бұрын
ultrasonic could work but it wouldn't be precise at all. I strongly advice you to salvage an IR laser from an old DVD player instead
@engr.saqiburrehman9356
6 жыл бұрын
i visited the link given above there the Arduino code is designed for manual control, may i have the code that just uses 2 servos automatically and give readings accordingly.
@danapeters
6 жыл бұрын
Please treat this as a starting point for your own project. I encourage you to make changes to the code to customize it for your needs.
@engr.saqiburrehman9356
6 жыл бұрын
thanks for your response but i think it will be more easy for one that already designed it... actually it almost a 2 days to present it and i am quiet new to programming if you could help me in this regard indeed that will appreciable
@danapeters
6 жыл бұрын
If you would rather not modify the code, you also have the option to construct the project exactly as described, using an LCD shield.
@engr.saqiburrehman9356
6 жыл бұрын
respected Sir the problem is here we are lack of resources even for LIDAR Lite v3 I almost wait a month to reach and paid almost 3 times more than its original price. i did tried to modify this code i failed. the code i am using just to read the values are here But we are demanded to construct a 3D mesh from these reading coming out of the Lidar through arduino. although i uploaded this code but Processing is not working on this Ardunio code Hope u will give some of your precious time to sort my awaited problem #include #include #include Servo servo1; // create servo object to control a servo Servo servo2; // create servo object to control a servo LIDARLite myLidarLite; void setup() { Serial.begin(9600); // Initialize serial connection to display distance readings myLidarLite.begin(0, true); // Set configuration to default and I2C to 400 kHz myLidarLite.configure(0); // Change this number to try out alternate configurations servo1.attach(9); // attaches the servo on pin 9 to the servo object servo2.attach(10); // attaches the servo on pin 10 to the servo object } void loop() { //servo1 -> 50, 90 //servo2 -> 80, 125 int k=80; int l=50; int temp=0; for(int i=80;i=90) { l=50; k++;//up 2 down } if(k>=125) while(true); } temp++; servo1.write(l);//right 2 left servo2.write(k);// up 2 down myLidarLite.distance(); int vall; // Take 99 measurements without receiver bias correction and print to serial terminal for(int i = 0; i < 10; i++) { vall = myLidarLite.distance(false); } Serial.print(i-80); Serial.print(","); Serial.print(j-50); Serial.print(","); Serial.println(vall); delay(3); } } while(true);
@sieghartrain
7 жыл бұрын
Hi peter, I try to make this, but i dont use a lcd can i just remove lcd line program?
@danapeters
7 жыл бұрын
You should remove all code related to the LCD display and buttons. Add the code "scanning = true; posX = minPosX; posY = minPosY; scanDirection = true;" to the setup() function to automatically enter scanning mode on startup.
@gujarisantamanyugmai
4 жыл бұрын
Can we count people in a room with this?
@danapeters
4 жыл бұрын
Sorry, this scanning technique is too slow. Try searching "pyimagesearch people counter" for a technique of counting moving people.
@gujarisantamanyugmai
4 жыл бұрын
@@danapeters thank you, it's nice. but I am looking for a budget-friendly solution.
@pch4287
7 жыл бұрын
Amazing work.
@sittiponmagpeng9827
7 жыл бұрын
Hi! Thank you for your upload. In the picture of your project in your website. I see in Cytron Arduino Proto Shield have many connection of parts. Do you have more detail for this?
@danapeters
7 жыл бұрын
Please follow the schematic on my website when connecting the parts together. The schematic gives all the information that is needed.
@Emaspr
7 жыл бұрын
Hey! thank you a lot for your uploads! I am trying to rebuild it but i am not able to turn my servos turn continuously with my arduino uno.. i use micro servo sg 90
@danapeters
7 жыл бұрын
Thanks, and good luck with getting your project working. The SG90 servo should work well with the Arduino, since I see that others have used it in various projects. It appears to have a 180 degree range of motion, which is all that is needed for this project.
@bilalcaliskan2868
6 жыл бұрын
have a nice day. We are trying to do the same project, but Arduino is giving a mistake. How can we get to you? Thank you in advance
@shibendranarayansinha1478
6 жыл бұрын
where can this projects be used further?
@dungminh8284
7 жыл бұрын
I am a student at University and I am really interested in your project but I have a problem with your code in arduino that i can not understand. Please help me, sir. Why do you use this fomular "elevation = (180 - maxPosY + posY) * deg2rad" to caculate the Theta in spherical coordinate system ??? :))
@danapeters
7 жыл бұрын
Not only does the Y servo have a limited operating range (from minPosY to maxPosY), it also is offset so that when posY equals maxPosY, the servo is pointing the LIDAR detector straight up. In this case, "elevation = (180 - maxPosY + posY) * deg2rad" becomes "elevation = 180 * deg2rad" (i.e. straight up).
@dungminh8284
7 жыл бұрын
Ohh.. Thank you so much, Sir :)))
@ayulaluna8419
Жыл бұрын
Please I have a college project and I need you to give me the programming codes for this (3D) ☺️
@chhornvandate812
7 жыл бұрын
Excuse me, I want to ask you that what kind of software or tool that you use to get that 3D mapping? Thank in advance?
@danapeters
7 жыл бұрын
The point cloud is displayed on a desktop computer using a Processing sketch. The source is available as "LidarScanner.pde" from the URL in the description of this video.
@chhornvandate812
7 жыл бұрын
Dana Peters Thank alot sir. I have one more question regarding to point cloud, the point cloud that we have project in our desktop computer. Can we save it as a file or something for converting to a real world 3D model? Thank in advanced.
@danapeters
7 жыл бұрын
The Arduino writes X, Y, Z values to the serial port, so you could use a serial terminal program (or the "Tools", "Serial Monitor" menu in the Arduino IDE) to capture this serial output. Alternatively, you could add a function to the Processing sketch to dump the contents of the "vectors" array to a file in a format of your choosing.
@chhornvandate812
7 жыл бұрын
Thank a lot sir, but can I take the out from the processing (I mean not the data of the vector or point, what I want is the 3D graphic model that we have scan) like in the video you have scan and build the map of your room. I want to get that point cloud and use other software to convert those point cloud into a 3D model. Thank in advanced.
@danapeters
7 жыл бұрын
Sorry, I am still a bit unclear on your question. My video shows only the 3D points that are contained in the "vectors" array. Perhaps you want to convert the 3D points into a representation with 3D planes? If so, I don't have any advice, unfortunately.
@ujjvalverma6169
7 жыл бұрын
super cool
@ahmadarifhasibuan1270
3 жыл бұрын
how far that sensors can scan the object? like cloud I mean
@uditsharma4798
6 жыл бұрын
Which model did you use
@fabiancespedesseveriche6255
7 жыл бұрын
What press are you using to hold the motors?
@danapeters
7 жыл бұрын
It is a mini-tabletop suction vise (try searching for "Goot ST-80"). An excellent way to hold the servos firmly on a smooth surface such as a table.
@sandeepponnusamy7093
3 жыл бұрын
How much, the radius cover by it sir
@cyd0c505
5 жыл бұрын
How did you made the 3D simulation? OpenGL?
@greencoder1594
5 жыл бұрын
processing.org/
@ramirocastellon2921
6 жыл бұрын
This is awesome. It would be greater to scale it fo uav surveying
@acapjumpen
5 жыл бұрын
sick project!!
@bugrats
7 жыл бұрын
Great video
@adinathphad934
Жыл бұрын
can we use TF Luna instead???
@tshooter4419
7 жыл бұрын
so cool. Thanks for sharing!
@johns.1940
7 жыл бұрын
Nice Build!
@ovalwingnut
6 жыл бұрын
Very COoL. Really daZzling. And yes, I want one! :) p.s. Really interesting how I perceived your silhouette at 1:18.. (to me) it seemed to rotate on it's access, independent of the room. I may need glasses ;) Thank you for the video. Cheers!
Пікірлер: 308