DPReview.com is closing April 10th - Find out more

Basic DIY camera for educational use

Started Apr 8, 2019 | Discussions
bgstcola Regular Member • Posts: 113
Basic DIY camera for educational use

Hello

I'm a physics teacher and I wander if it is possible to build a simple digital camera for teaching. I'm looking for something with a single lens, a sensor (possibly on a pcb) and a cardboard body. Of course the camera would take terrible pictures, but that's not the point. The pictures could be barely recognizable. I just want something low level that illustrates how a camera work with optics, sensors, etc. All I have been able to find are projects with complete camera modules or projects were you just put the camera together like furniture from Ikea.

Does anyone know of such a low level diy camera project?

Thanks

Trebor1 Regular Member • Posts: 401
Re: Basic DIY camera for educational use
1

bgstcola wrote:

Hello

I'm a physics teacher and I wander if it is possible to build a simple digital camera for teaching. I'm looking for something with a single lens, a sensor (possibly on a pcb) and a cardboard body. Of course the camera would take terrible pictures, but that's not the point. The pictures could be barely recognizable. I just want something low level that illustrates how a camera work with optics, sensors, etc. All I have been able to find are projects with complete camera modules or projects were you just put the camera together like furniture from Ikea.

Does anyone know of such a low level diy camera project?

Thanks

There are several projects that use the sensor from an optical computer mouse as a crude digital camera. In some of these the mouse sensor only has 18x18 pixels but there is a later version of this type of sensor that has 30x30 pixels which would be more useful: The original John Logie Baird mechanically scanned TV system. used in the UK in the early 1930s, had 30 lines and was (just about) good enough to recognise a human face.

https://www.bidouille.org/hack/mousecam

https://en.wikipedia.org/wiki/Mechanical_television

Similar projects can be found on YouTube and elsewhere, with a bit of Googling.

And the higher resolution optical mouse sensor (30x30 pixels). This sensor seems to be also used as a motion-flow optical sensor on some DIY drones and is available on a small PCB with lens assembly but you may want to experiment with different focal lengths.

https://www.aliexpress.com/wholesale?catId=0&initiative_id=SB_20150222023845&SearchText=ADNS3080+Optical+Flow+Sensor

http://www.dexsilicium.com/Agilent_188515_ADNB-3081.pdf

These mouse sensor based camera projects are monochrome and yield a low resolution 6 bit image, require electronic and programming skills but may serve in an educational context to illustrate the principles of the digital camera. The sensor spectral response peaks in the red to near infra-red region, so may be interesting if you use the appropriate filters to get the typical black skies and white foliage effect. However, given the very low resolution this may not be that impressive and it might be worth sticking to images of letters of the alphabet and perhaps peoples faces?

If you want much higher resolution colour images then maybe a Raspberry Pi camera linked to a Raspberry Pi Zero computer would be the easiest and inexpensive solution? It will capture still or video images and has a HDMI interface for connecting to standard monitors for displaying photos.

Good luck. I haven't built a 'mouse cam' or played with a Raspberry Pi camera system but hope this is useful anyway.

Heritage Cameras
Heritage Cameras Senior Member • Posts: 2,301
Re: Basic DIY camera for educational use

bgstcola wrote:

I'm a physics teacher and I wander if it is possible to build a simple digital camera for teaching. I'm looking for something with a single lens, a sensor (possibly on a pcb) and a cardboard body. Of course the camera would take terrible pictures, but that's not the point. The pictures could be barely recognizable. I just want something low level that illustrates how a camera work with optics, sensors, etc. All I have been able to find are projects with complete camera modules or projects were you just put the camera together like furniture from Ikea.

Does anyone know of such a low level diy camera project?

How about this one:

https://www.dpreview.com/articles/6018896777/build-your-own-point-and-shoot-with-bigshot-camera

The original price seemed a little high but they are often available cheaper on eBay and elsewhere now.

-- hide signature --

Dave, HCL

 Heritage Cameras's gear list:Heritage Cameras's gear list
Canon EOS 5D Sony a7 Canon EF 24-85mm f/3.5-4.5 USM Canon EF 100-300mm f/4.5-5.6 USM +2 more
ProfHankD
ProfHankD Veteran Member • Posts: 9,147
Re: Basic DIY camera for educational use

bgstcola wrote:

Hello

I'm a physics teacher and I wander if it is possible to build a simple digital camera for teaching. I'm looking for something with a single lens, a sensor (possibly on a pcb) and a cardboard body. Of course the camera would take terrible pictures, but that's not the point. The pictures could be barely recognizable. I just want something low level that illustrates how a camera work with optics, sensors, etc. All I have been able to find are projects with complete camera modules or projects were you just put the camera together like furniture from Ikea.

Does anyone know of such a low level diy camera project?

As a physics experiment, I'd suggest throwing together something using a handful of LEDs as the pixels. My brother, Paul Dietz, wrote a nice little paper about how to use LEDs this way, and with such low resolution, you could even make your own optics (even by 3D printing, with a trick or two).

Alternatively, think about just getting a Canon PowerShot that is supported by CHDK . This gives pretty low-level access to things while still being a cheap consumer packaging. Image quality is also excellent.

 ProfHankD's gear list:ProfHankD's gear list
Canon PowerShot SX530 Olympus TG-860 Sony a7R II Canon EOS 5D Mark IV Sony a6500 +32 more
OP bgstcola Regular Member • Posts: 113
Re: Basic DIY camera for educational use

Thanks, looks cool, but it seems like this is more about hacking a mouse (programming, electronics, etc.) that it is about cameras.

The Raspberry Pi is cool as well, but again I feel like it is more about electronics and programming than it is about cameras (the camera is a complete module if i understand correctly) .

I'm looking for a project where the students should spend their time making the optics work so that they can focus the light on the sensor and so on. Maybe that is not even possible to do in a simple way? So it should be mostly a camera project and not too much about electronics.

OP bgstcola Regular Member • Posts: 113
Re: Basic DIY camera for educational use

Thanks I've already looked at that one. But it seems like you just put the parts together following instructions so you dont really learn anything.

OP bgstcola Regular Member • Posts: 113
Re: Basic DIY camera for educational use

That seems like an exciting project. I will look into that. But maybe it will be a bit too difficult or time consuming.

Thanks

Trebor1 Regular Member • Posts: 401
Re: Basic DIY camera for educational use

bgstcola wrote:

Thanks, looks cool, but it seems like this is more about hacking a mouse (programming, electronics, etc.) that it is about cameras.

The Raspberry Pi is cool as well, but again I feel like it is more about electronics and programming than it is about cameras (the camera is a complete module if i understand correctly) .

I'm looking for a project where the students should spend their time making the optics work so that they can focus the light on the sensor and so on. Maybe that is not even possible to do in a simple way? So it should be mostly a camera project and not too much about electronics.

I did wonder about the intent of the educational project. The trouble with demonstrating the optics of the DIY camera, independently of the sensor, with the projects mentioned is that the image projected onto a ground glass/sheet of paper, or whatever, will be very small and you would need a good magnifying glass in order to make out any details!

The Raspberry Pi camera sensor is a 1/4.0 Sony IMX219PQ and the image-circle is 4.6mm in diameter or 2.6 mm High and 3.68 mm Wide. The sensor used on the iPhone XS (larger than that on the X ) is a not so huge 5.6 mm x 4.2 mm, on a 1/2.5 size sensor.

It sounds like it may be more useful to have a lens that projects a decent size image circle, so that this, when projected, can be seen easily with the naked eye. Medium format lenses from a 6x6 camera will produce an image of 56 x 56 mm which may be about as small as you want to go? There are some inexpensive second hand cameras that might be suitable: Lubitel 166 TLR , the Holga 120N or anything similar as a donor.

Overhead projectors and epidiascopes have useful lenses that will have at least a 200mm image-circle so are capable of use in large-format photography with 4x5 inch images or greater.

This project listed below is rather similar to the system proposed by ProfHankD, except that it uses more expensive photodiodes, rather than LEDs and the self-powered element , of the design is not strictly necessary. They are using a fresnel lens to produce these low resolution 30x40 pixel images.

https://www.vision-systems.com/articles/print/volume-20/issue-7/departments/technology-trends/camera-design-prototype-self-powered-camera-uses-off-the-shelf-components.html

http://www1.cs.columbia.edu/CAVE/publications/pdfs/Nayar_ICCP15.pdf

Finally, a different approach, used by some, is the use of a DIY large-format digital scanning back using a hacked flatbed scanner to produce the images:

https://www.instructables.com/id/DIY-4X5-Camera-Scan-Back/

https://makezine.com/projects/deluxe-scanner-camera/

https://petapixel.com/2014/12/29/medium-format-camera-made-using-parts-epson-scanner/

http://www.stockholmviews.com/diyphotogear/scannercamera.html

Over to you. 

OP bgstcola Regular Member • Posts: 113
Re: Basic DIY camera for educational use

Thank you so much.

I think the scanner camera would fit the purpose. I will look into that.

Thanks again, I don't think I would have found it without your help!

Bernard Delley Senior Member • Posts: 2,041
shed the sensor !!

the sensor, whatever kind, is always a complex electronic blackbox.  I think for an educational project in the image sensing electronics you would have to start at the photodiode. Of course the photodiode and the nano- amperemeter (or better high impedance DC voltmeter) risk to remain blackboxes.  An LED is also a photodiode of course. You could even try a 'crystal detector' as a more hands on diode. But, to bring the light detection out of the black box seems to require  basics of quantum mechanics and Shockley's thermodynamic device equations. So that remains way too much for most pupils unfortunately.

So perhaps do away with the sensor. No electronics at all ! Use a white screen. You may start with a camera obscura .   You could include prisms, gratings and spectra in your optics course.

 Bernard Delley's gear list:Bernard Delley's gear list
Olympus TG-6 Nikon D7200 Nikon D500 Nikon D850 Nikon Z7 II +17 more
ProfHankD
ProfHankD Veteran Member • Posts: 9,147
Re: shed the sensor !!

Bernard Delley wrote:

the sensor, whatever kind, is always a complex electronic blackbox. I think for an educational project in the image sensing electronics you would have to start at the photodiode. Of course the photodiode and the nano- amperemeter (or better high impedance DC voltmeter) risk to remain blackboxes. An LED is also a photodiode of course. You could even try a 'crystal detector' as a more hands on diode. But, to bring the light detection out of the black box seems to require basics of quantum mechanics and Shockley's thermodynamic device equations. So that remains way too much for most pupils unfortunately.

So perhaps do away with the sensor. No electronics at all ! Use a white screen. You may start with a camera obscura . You could include prisms, gratings and spectra in your optics course.

The LED is well within reach (using the charge timing circuit I pointed to). In fact, way back when I was taking my AP Physics class in 1976, I built a circuit using a LED to receive data sent by modulating a laser.

The catch is, you'd probably be talking about really low resolution -- just a few pixels.

Could do just one LED and scan... X/Y motion control is really cheap and easy now using servos, so you could get perhaps 100x100 pixels scanning one LED. (It's cheap and easy to scan using steppers too, but the controllers get more black box-ish.)

 ProfHankD's gear list:ProfHankD's gear list
Canon PowerShot SX530 Olympus TG-860 Sony a7R II Canon EOS 5D Mark IV Sony a6500 +32 more
OP bgstcola Regular Member • Posts: 113
Re: shed the sensor !!
1

Thanks but I think I will go for a scanner camera. I don't mind the sensor (scanner) being a blackbox, since the projekt is more about light and optics.

petrochemist Veteran Member • Posts: 3,619
Re: shed the sensor !!

bgstcola wrote:

Thanks but I think I will go for a scanner camera. I don't mind the sensor (scanner) being a blackbox, since the projekt is more about light and optics.

Large format with a scanner was exactly what I was going to suggest.

If your project is about the optics side then you don't really need the digital part at all just viewing on the ground glass could be sufficient. A normal camera can then be used to record the view on the glass if required.

Home made cameras are reasonably common in large format in a variety of complexities.

 petrochemist's gear list:petrochemist's gear list
Pentax K100D Sigma SD14 Pentax K-7 Panasonic Lumix DMC-GF2 Pentax Q +19 more
ProfHankD
ProfHankD Veteran Member • Posts: 9,147
Re: shed the sensor !!
2

petrochemist wrote:

bgstcola wrote:

Thanks but I think I will go for a scanner camera. I don't mind the sensor (scanner) being a blackbox, since the projekt is more about light and optics.

Large format with a scanner was exactly what I was going to suggest.

If your project is about the optics side then you don't really need the digital part at all just viewing on the ground glass could be sufficient. A normal camera can then be used to record the view on the glass if required.

Home made cameras are reasonably common in large format in a variety of complexities.

I agree. For example, here's a camera obscura I made for my lab's open house a couple of years ago to demonstrate how apertures can shape the out-of-focus point spread function (OOF PSF):

It's literally a box painted black with a single plastic element magnifier lens set in a simple 3D-printed mount... which has a rim that can fit filters.

The half clear, half blocked filter is used to explain that blocking half the rays still produces a full image. The half green, half magenta one then shows that by color-coding rays from left/right sides, you can directly create an anaglyph image (stereo viewable on the obscura using colored glasses). The one with the colored holes then demonstrates the quality improvement from having the left/right apertures have the same shape. Finally, the one with the UK Wildcat logo is used to show how OOF PSF shaping in general works -- making OOF PSFs look like the logo, rather than circular discs.

The screen is nothing more than thin velum in cardboard that you move forward/backward to focus:

And the image quality is, well, what you'd expect from a single-element plastic magnifier used as a lens:

Despite the f/2.5 aperture, the image is quite dim... which is why I usually point it out a window (it's dark and rainy today, so dim outside too) and also why we have black fabric clipped on the back so you can drape it over your head for better viewing.

 ProfHankD's gear list:ProfHankD's gear list
Canon PowerShot SX530 Olympus TG-860 Sony a7R II Canon EOS 5D Mark IV Sony a6500 +32 more
OP bgstcola Regular Member • Posts: 113
Re: shed the sensor !!

Thank you! Looks great!

Keyboard shortcuts:
FForum MMy threads