This is one of those projects that turns out to be a good thought exercise.
You have a Pixycam, an Arduino uno, and a lcd screen. (Lucky you - you also have a computer, and usb cords to hook the electronics up and program with!). You need to know the distance of "something" from where you are sitting.
Looking around you - you find, a ruler and some colored construction paper - a little glue, and thin card board.
Well you could use the ruler to find the distance - that is true - but where is the fun in that! :-)
Being an electronics kind of person, you think - How can I use the Pixycam to give me a distance!
That's what this instructable is all about. :-)
Ok, so really, "We" (meaning me and members of the Automation Technology Club I attend) have been thinking about doing some distance detection using some pretty simple parts, and trying to keep the cost low. With as little hardware, and parts as we can. Mainly we are wanting some longer ranges for some of our robotic projects.
In terms of hardware, this is pretty simple, in terms of cost - it's not the cheapest option. In terms of setting up the Pixy - well it can get tricky. In terms of is this good for a robotic project (?) Well from my few attempts, I'd say no. But it maybe good for other things. And again, it's good to start thinking. Use this as a thought exercise :-)
Curious about how it works - but don't care about my build? Jump ahead to Step 4.
Let's get started -