Distance of an object

Hey everyone!

To get into context with my situation, you might want to see my previous post on the link bellow:

Anyways, I was wondering if it was possible to detect how far a specific object is with an Arduino.

If I'm able to recognize a certain object using a PIXY or an ESP32, how could I detect the distance at which this object is from the camera?

Thanks for your help!

WB

What kind of detector do You intend to use? What's the size of the object and what's the distance?

HC-SR04 ultrasonic sensor,up to about 4 meters. Garmin Lidar Lite, up to about 40 meters.

What do you mean by detector?

The objects will be a target (the target is about a 2 by 2 foot hole with a wooden structure suspended approximately 6 to 8 feet in the air) and balls (yellow and blue, about 6 inches in diameter)

I recommend you look at the attached document for further dimensions.

Dimensions.pdf (2.3 MB)

Hope this helps!

WB

Thanks! I'll look into it.

But do you think it's possible with a camera?

WB

Measuring distance to an object can be done with two or more cameras using stereo vision.
This inexpensive stereo camera from Luxonis works quite well, and also performs object recognition. However, a Raspberry Pi (Zero W at minimum) or laptop/desktop PC to work with it.

The device doing the job, the detecting...

To identify and detect the objects? Probably a PIXY, but I'm open to other options.

The problem is that we can only use Arduino for the competition.

have a look at laser TOF sensors

Hi,
A picture saves howmany thousand words.
Clip from @Arduino-NCC-1701 pdf.

I think you will need to know, azimuth, elevation, and range.

Tom... :grinning: :+1: :coffee: :australia:

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.