Hi all,
I have never done any projects with a camera before but am interested in doing the following.
Imagine a camera suspended in the air, pointing downwards, looking at the floor of a dark room. I position an LED somewhere on the floor, so all the camera sees is a bright spot in the darkness. I somehow read out the x,y position of that bright spot in the camera's field of view (i.e. find which pixel is the brightest -- there will be some gaussian lump of brightness and i find the center), and thereby track where the light is in x,y coordinates (which can be related back to true x,y coordinates by knowing the relative positions of the camera and the floor.
Now, I realize that a big color webcam or something is very complicated in terms of drivers etc and Arduino may not be able to handle it. So instead I'm wondering if there is a small low-resolution (like, 16x16 pixels) black and white CCD camera out there -- i.e. essentially just a small array of photodiodes with a lens over the top -- that I could use for this, so Arduino could interface directly with each pixel. Does anyone know of any sensors like that, or anyone that's done something similar with Arduino? I've looked around but all the projects I've seen have interfaced with computers via e.g. USB and a driver, rather than interfaced with a microcontroller. I'm trying to cut the computer out of this.
However if there is a better way, where I can use an actual higher-resolution camera, then please let me know that too.
Thanks!