Hi, I am a high school student and I am trying to make a project, and I think that the Arduino will work very nicely with it. I am trying to use a stepper motor and a range finder to be able to calculate the distance of an object, and then forward the information into my computer.
Can I use this Arduino (ameng.us/catalog/arduino-project-enclosure/) to connect a cord from my computer to the mounted laser and be able to send commands to activate my stepper (cause the laser to move up or down) and to request feeds as to the distance the object my laser is pointed at?
If that is a good Arduino (meaning it will serve its purpose) do you think this project has potential to work?
Does anyone know of a range finder that can detect objects, and give an accurate distance for up to 20 meters away? (preferably a not so expensive one due to this is just a school project)
sharp ir proximity and 20 meters range ? you wont get them even if you cant find them they are not good at detecting BLACK objects
and .,
mrjameslat i guess there is no range finder that fits your pocket the hobbie stuff generally have a range up-to 6 meters more than that you'll need to for for a industrial one
The arduino is as good as anything else for this project, the limit is your sensor.
Getting a laser to point at objects (people?) can bring about safety issues.
At $50 you are still into hobby range of prices.
There are some ultrasonic range-finders that might reach the 20m.. (they are in the top-range of hobby level ultrasonic range finders)
They'll also have good precision (probably in centimeters).....
But..... ultrasonic range-finders have a cone shaped detection area. So at the 20m, it'll likely cover a very large area.. which makes it highly doubtful if you're measuring the walls.. or the object. So I'm doubtful if this is going to work.
At these distances, you'll likely need to go the optical route with 2 cameras. This would be WAY beyond the capabilities of an arduino (in fact, it'd probably require a PC).
ok, I'll tell you my goal and then maybe you can help best direct me.
My goal is to create some sort of electronic that will find the distance between two objects and calculate a degree for a physics project.
For example, lets say I could see a target within 20meters (or so).
I want my project to find the distance from where it is and where the target is and then calculate how many degrees (0-90) it is. Then I want to send this information to my computer.
I thought the best way to do this would be to start the stepper at a 0 degrees and then (through my computer and the ardunio) rise the rangefinder/laser to the right degree so that it is on the target.
Then if my rangefinder/laser tells me the distance or the hyp. I can find use hyp (and basic trig) to determine how high it is off the ground. I can calculate this with my computer, but all I really need to know is the angle degree and the hyp.
Does this help you understand it more?
Thanks again!
-James
The red line is a visual of the range finders path.
I want to be able to be capable of telling the stepper to move up or down through my computer. If that is the case I will be able to keep track of what degree the range finder is being held at.
Then I want to forward the distance from the rangefinder to my computer. With this information I will be able to run simulations in my computer.