G+_Richard Hedderly Posted May 18, 2015 Share Posted May 18, 2015 Arduino help needed. I need a camera that will focus about 5cm away from the lens, that will work with an Arduino Uno R3. I've only got 2cm in height mounting space so it can't be mounted on a shield. Any recommendations? Link to comment Share on other sites More sharing options...
G+_Brian Goossen Posted May 22, 2015 Share Posted May 22, 2015 [iF your size restriction allows..] I don't know about a specific camera but consider the idea used in bigger cameras... extension tubes. They are extremely simple in that all they do is move the lens away from the sensor/film. For example: On a "35mm" sized sensor/film moving the lens about 2" further away from the normal position will bring focus to about an inch from the front element... or somewhere in that range from memory. Also, I bet there is a calculator out there that will give you exact measurements of focal length dependent on the lens and sensor size. Link to comment Share on other sites More sharing options...
G+_Richard Hedderly Posted May 22, 2015 Author Share Posted May 22, 2015 There lays the problem though. The camera lens has to be flush to surface it is mounted under. I can't lower the camera to take an extension tube and can't use a tube above the flush level because it has to be... flush. I'm thinking of using a microscope camera now to get the focal distance. Link to comment Share on other sites More sharing options...
G+_Brian Goossen Posted May 23, 2015 Share Posted May 23, 2015 That is tough. A "Macro" lens is what it is called for larger cameras. Good luck in your search! Link to comment Share on other sites More sharing options...
G+_Brian Goossen Posted May 23, 2015 Share Posted May 23, 2015 Ok, one last kinda crazy idea I thought of... Could the camera be set up to "look" into a mirror that would "see" the subject? The minimum focusing distance would be measured from the camera to the mirror then to the subject. Not likely from your description that it will work for your project but you never know. Again good luck! Link to comment Share on other sites More sharing options...
G+_Richard Hedderly Posted May 24, 2015 Author Share Posted May 24, 2015 Thanks for the ideas. I've been seeing that people with Raspberry Pi official cameras are unscrewing them to the maximum so that the picture focus is very short. https://www.raspberrypi.org/macro-photography-with-the-camera-board/ The camera module in the Raspberry Pi official camera is an OmniVision OV5647 which appears to be proprietary with no Arduino library. There is a short height module that Adafruit do, which has a manual focus, so this should do the same macro focus trick. https://www.adafruit.com/products/1386 BTW, regarding the mirror approach. I don't have the width to turn the camera module on its side. Link to comment Share on other sites More sharing options...
Recommended Posts