New guy working with Arduino. help with project?

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)

Any other tips to making this project?

Any input would be most excellent!
Thanks,
-James

sharps proximity ir sensor is what you can use!

and give an accurate distance for up to 20 meters away

That is too far for an IR sensor, you also might be pushing an ultrasonic sensor as well. Also how accurate do you need it to be?

sharps proximity ir sensor is what you can use!

:stuck_out_tongue: sharp ir proximity and 20 meters range ? :stuck_out_tongue: 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

It doesn't have to be super accurate, but I'd like it to be as accurate as I can get it.

And even if it would be rather expensive do you think I could find one for under $50?

Also will the arduino work well for this?

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.

Would there be a way for me to buy something like this

and take the sensor out of it?
Thanks for any input! :slight_smile:

The sensor in this is just like the sensor in a mouse, it measures the rotation of a ball. Is that what you want?

oh! I just now realized that.
No I want it to be able to "see" the objects.

But could it be possible to find something maybe not so expensive that has been massed produced like this, and be able to take parts out of it?

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).

Think about a long-baseline rangefinder, but at 20metres, optics is going to be your main expense.

It seems to me this could become a very expensive project.

Would a Photon Ultrasonic Laser work well?
(such as this one)

I think you need to go into more detail about what you are trying to do and what you hope to achieve. It sounds like you are being too ambitious.

Would a Photon Ultrasonic Laser work well?

It is almost imposable to tap into those things and get a reading out.

edit from last post***
or is this the same as a measuring tape?

Usually, like non-contact thermometers, the laser is just there to tell the operator what they're pointing at.

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

No, it doesn't help - how does the system know what the target is?

View this image I drew.

www3.comli.com/project11.bmp

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.

Is this better?

I think what you're describing is a long baseline or parallax rangefinder, but your diagram looks to me to be the wrong way around.

How is it backwards?
(excluding money as a factor)
would this project be doable? Like is it realistic?