Drawing a whale with a pencil in sketch book

This article is not finished and not reviewed thoroughly. If for some reason you want to continue reading, do it at your own risk, but do not forget to come back later to enjoy the final version.

I wouldn't be so puzzled if I had to choose what I buy, but this was left from playing cards recognition system I did at work. Raspberry Pi High Quality HQ Camera requires a lens. A lens!

Raspberry Pi 4 and High Quality camera

That strange cylinder connected with white ribbon is the camera. It only shows pink or blue, because this thing requires a lens! I'm surprised.

Specs

  • Sony IMX477 sensor datasheet
  • 12.3 megapixels
  • Sensor size: diagonal 7.857 mm (Type 1/2.3)
  • FPC cable for connection to a Raspberry Pi computer

Lens

Lens for Raspberry Pi HQ Camera? Anyone?

Speaking of lenses. I'm thinking to make my own lens instead of buying an official one for $50.

Of course I first looked up how to make camera lens DIY so to speak, but then I found sets of glass lenses on Amazon. Which means I need to find a formula and scheme of camera lens.

Also:

  • Fabrication of optical components using a consumer-grade lithographic printer (link)
  • 3D and 4D printing for optics and metaphotonics (link)

What type?

I found a lot on Amazon that offers 6x 50mm Diameter

  • 3 Double Convex (20, 30, 50cm FL) and
  • 3 Double Concave (20, 30, 50cm FL)

Or what if made out of acrylic https://www.amazon.com/Hemobllo-Pcs-Optical-Lens-Magnifying/dp/B083Y27K3S. And I guess that 1.5" is accurate size https://www.amazon.com/Optical-Double-Convex-Diameter-Length/dp/B00CLC7USU

Lens types

So what do I need?

Real lenses are complex inside. For example here's Canon EF-S 18-55 mm f/ 3.5-5.6 IS optical design

camera lens diagram

lens cross section

https://www.ni.com/en-us/support/documentation/supplemental/18/calculating-camera-sensor-resolution-and-lens-focal-length.html

Camera lens inside

lens mechanism for projector lens

raytracing in all known camera lenses

https://www.myminifactory.com/object/3d-print-3d-printed-photography-lens-mechanism-for-projector-lens-125175

  • depth of field?

field of view

  • aperture?

On the diagrams you can see that lenses usually come by 2-3 touching each other. This has nothing to do with zoom or focus. Their sole purpose is to fight with chromatic abberation

Dive into physics

Literature

My favourite textbook of all time remains Introduction to Fourier Optics by Goodman. There are some chapters I must have read 100s of times!

Stephen Gruppetta

Calculators

Two lens system

Let's start with two lens system.

Focal length calculator

https://www.studiobinder.com/blog/focal-length-camera-lenses-explained/

point of convergence

https://www.photonstophotos.net/GeneralTopics/Lenses/OpticalBench/OpticalBench.htm

Photo, video and streaming

So how to take pictures, record video and stream from the camera?

What software to use, and how to stream covered in this article

Reference

Projects:

Theory:

Rate this page