Close
0%
0%

Large Format Camera

Building a digital large format camera

Similar projects worth following
After finding the TSL1412 sensor on Mouser I knew immediately I wanted to build my own large format digital camera.

Photography have always been a passion of mine, ever since I got a Nikon 5700 camera in exchange for doing some coding about 10 years ago. 

The heart of this camera is the TAOS TSL1412S sensor. This is a linear array sensor with 1x1536 pixels, each 63.5um square. By scanning the sensor in the focus plane I get a monochrome 4190x1536 image. The physical image size is 138x97mm. These numbers give non-square pixels, but that is easily adjusted in Photoshop.

I use an Arduino Due to A/D convert the image and an EasyDriver drives a stepper motor from ITeadStudio. A 2.2" TFT from Adafruit displays the light meter , settings and the image in progress. It also holds the SD-card.

I take full advantage of the 12 bit A/D in the Due. Using oversampling I can get 15 bits/pixel images.

The focuser is taken from an old film enlarger i found at second hand. I made the bellows myself.

It takes a while to scan the image. In daylight/sunlight I get an image in about two minutes (2ms shutter), but in twilight it takes about 45 minutes (200ms shutter).

I also added an adjusteable delay between each column. This way I can take an image over several hours, for example during sunset/sunrise.

Since a 10x100mm IR filter would probably be quite expensive I opted to skip it, giving near-IR images.

Connected: A Wifi module will hopefully allow me to store the pictures directly to an Android phone, avoiding SD-card latency and making it easier to use. By storing the pictures directly in the DCIM directory on the phone I can take advantage of the phone's connectivity and immediately upload them to the service of my choice.

Open: The source code for this project is released without any licence whatsoever. You are free to use it in any way you like. All drawings I made are published as well. But since most of the hardware is hand-built I don't have many of those. See the links on the left side of the page for source code and drawings.

This project uses the Adafruit_CC3000 library [ Copyright 2013-2014 Limor Fried, Kevin Townsend for Adafruit Industries & Tony DiCola. ]

And the Adafruit_ILI9340 library, slightly modified [ MIT licence, Written by Limor Fried/Ladyada for Adafruit Industries.]

Also the Adafruit_GFX library is used. [ BSD licence, Copyright (c) 2012 Adafruit Industries. ]

First light! It took about two months to get to this point.

A macro image of some flowers during sunset. Image is scanned from right-to-left.

An image from a mountaintop near where I live.

  • Blowing up the apple

    jimmy.c.alzen08/20/2014 at 10:37 0 comments

    Here is a higher resolution version of the apple picture from the video:

  • New focus screen is ready

    jimmy.c.alzen08/18/2014 at 08:00 0 comments

    The new focus screen is hinged in the bottom and a lot more solid than my earlier attempt. 

    Also it is adjustable, something I found out is necessary. The tolerance needed to get a good focus is a lot less than 1mm.

  • WiFi module

    jimmy.c.alzen07/20/2014 at 13:58 0 comments

    Success! WiFi module is working and connects to AP!

    Running all three external devices on the same SPI bus caused some trouble. After a lot of debugging I found out that the CC3000 and the ILI9340 TFT uses different SPI modes, plus the CC3000 library uses an SPI interrupt. The quick-and-dirty fix was to add this to each driver function in Adafruit_ILI9340.cpp:

    noInterrupts();

    SPI.setDataMode(SPI_MODE0);

      // function code

    SPI.setDataMode(SPI_MODE1);

    interrupts();

    The elegant fix would be to take advantage of the SAM3X's enhanced SPI capabilities to select the correct mode and speed automatically when accessing different devices on the same bus, but then I would have to rewrite all three libraries.

  • Further developments

    jimmy.c.alzen07/08/2014 at 18:26 0 comments

    Two main things are in the pipeline right now: 

    1) Replace focus screen. The old one is way too flimsy. The new one will be made of glass. I have sanded a suitable glass plate, now it's just a matter of mounting it.

    2) It would be nice with a larger display. That way I can see immediately if the picture is going to be any good and save time by cancelling it if it is not. I think WiFi+Android is the way to go here. I have ordered a CC3000 breakout board. Also I get to learn writing Android apps, something I wanted to try for a long time now. Maybe I can also get rid of the awful maximum latency on sd cards by storing the pictures on the phone (and letting Android buffer the data in RAM). Most writes takes milliseconds but once in a while it takes .5 seconds. That really is not acceptable when photographing something moving.

  • Apertures

    jimmy.c.alzen07/04/2014 at 16:09 0 comments

    So the camera is more or less finished. After using for a week or two I find I really miss a manual aperture stop. When using a 140mm F/3.2 from an old dia projector I can't set the shutter fast enough to avoid overexposing the images in daylight. This is because the Due can't A/D convert faster than about 300k samples/second without really complicating the code. 

    So this is what I came up with:

    Why limit yourself to round holes when you can have some fancy shapes instead? Now I just have to find a way to make it quick and easy to change aperture stops.

View all 5 project logs

Enjoy this project?

Share

Discussions

michaelkoras wrote 09/06/2023 at 20:54 point

Great Project

I created a scanner camera out of an old lide Canon scanner, but this project appears to be much better as I won't require a computer to scan. you can see here oldroll camera https://oldrollapkmod.com

  Are you sure? yes | no

kurageart wrote 03/31/2018 at 16:13 point

Very nice project, I built one scanner camera out an old lide canon scanner, but this prohect looks very good, since, if I understood correctly, I won't need a pc to scan. Any suggestion on what to use instead of the TAOS TSL1412S  in 2018, as it seems discontinued right now?

  Are you sure? yes | no

Krystian wrote 04/10/2019 at 19:56 point

Somebody knows?

  Are you sure? yes | no

Helium6072 wrote 07/02/2019 at 13:22 point

I've been working on a similar project using Sony ilx508 linear ccd. It has 7926 pixels over about 55 mm, which makes it a perfect match for medium format lenses. It is also quite easy to drive, requiring only two inputs. As far as I know it was discontinued a long time ago but there're still quite a few floating around on Aliexpress. I'm not sure if there are any large (medium / large format sized) and easy-to-drive linear ccds in production. If you find one, be sure to share with us!

  Are you sure? yes | no

Josh Lewis wrote 03/21/2018 at 15:26 point

Wonderful project. I know it's been years. Any updates or places to find more pictures from this project?

I built my own scanner camera around an off the shelf scanner:

Build: https://flic.kr/s/aHskHkcm5v

Best photos: https://flic.kr/s/aHskTmUSsk

I like that yours is very smooth looking and not shooting off the ground glass or focusing screen. 12 or 15 bit grayscale must be insanely great. You might - in a future design - incorporate a fresnel lens 1 or 2 cm in front of the focusing plane. Bends the diverging light so it comes in more perpendicular to the sensor. Gives a stronger picture and reduces the vignetting in the corners. Makes the focusing screen much brighter. The 1-2cm distance keeps dust, scratches and the fresnel pattern out of focus for the image.

  Are you sure? yes | no

Luis wrote 09/21/2017 at 10:03 point

Awesome. I really like it.

  Are you sure? yes | no

ralph wrote 06/07/2016 at 18:51 point

Interesting Camera - i built a 1x2048 version using a ilx551  * and a Due  in 2013  -- though rather than scan the sensor i have been keeping the sensor still / or rotation -- to create slitscan images    -- currently building a colour version 3x2700  with plans for a 5000x1  after ..   see http://ralph.ca (slightly out of date) or https://www.facebook.com/RalphNevinsPhotography  

  Are you sure? yes | no

jim wrote 04/11/2016 at 15:37 point

Very Cool.

Back in 1974, with another engineer we made a document scanner using a linear array.

Back then it was a "state-of-the-art" 1x1024 element .   I was in research at Xerox and it went into the first laser fax machine code named "Redeye".  This project brings back memories for sure.

I have an assortment of large format lenses from my 4x5 days and this will be a fun project.

I did this from Yosemite Falls Trail ~ a mile up.  The air was a cold 20 some degrees so there was no atmospheric haze in the way.


   

Looking forward to following your project sharing findings.

Jim     http://wwwphoto.org

  Are you sure? yes | no

tomikapc wrote 12/10/2015 at 07:10 point

Hey! Awesome project!

I only have one question about the sensor.

In the code you only do 1536 clock cycles instead of 1536+18. 

(But you have 1536+18 in comment.)

Can you tell me why did you make this decision? The datasheet of the sensor is a bit confusing for me. Thanks!

  Are you sure? yes | no

josephchrzempiec wrote 05/30/2015 at 18:23 point

I Must Say i love Old things Cameras, Phones, Tv's, radios and so forth and what you done taking a old camera and making something new and better is way to awesome thanks :)

  Are you sure? yes | no

Øystein wrote 02/05/2015 at 11:41 point

Really nice project! What is the F-stop on the lens?

  Are you sure? yes | no

jimmy.c.alzen wrote 02/05/2015 at 21:22 point

Thank you :) The lens is 140mm f/3.2.

  Are you sure? yes | no

Matt wrote 08/18/2014 at 01:04 point
Hey Jimmy, maybe this UV/IR filter would work for you? Don't know your filter thread but maybe you can find the right one for that lens. http://www.ebay.ca/itm/ROCOLAX-52mm-Optical-UV-IR-CUT-filter-UV-IR-Blocking-Filter-for-camera-lens-/181151296236?pt=Camera_Filters&hash=item2a2d756aec

  Are you sure? yes | no

jimmy.c.alzen wrote 08/18/2014 at 07:52 point
Yeah that would work. Well there is no filter thread on my old dia projector lens..

  Are you sure? yes | no

Jasmine Brackett wrote 08/15/2014 at 23:23 point
Hello Jimmy, now is the time to add a few more details to your project to give it the best chance of going through to the next round of The Hackaday Prize.

By August 20th you must have the following info on your project page:
- A video. It should be less than 2 minutes long describing your project. Put it on YouTube (or Youku), and add a link to it on your project page. This is done by editing your project (edit link is at the top of your project page) and adding it as an "External Link"
- At least 4 Project Logs
- A system design document. Please highlight it in the project details so we can find it easily.
- Links to code repositories, and remember to mention any licenses or permissions needed for your project. For example, if you are using software libraries you need to document that information in the details.

You should also try to highlight how your project is 'Connected' and 'Open' in the details and video.

There are a couple of tutorial video's with more info here: http://hackaday.com/2014/07/26/4-minutes-to-entry/

Good luck!

  Are you sure? yes | no

Mattimus wrote 07/23/2014 at 22:50 point
for the exposure, what if you put a spring loaded screen such that the due would only have to fire once and the mechanics of the spring would control the shutter speed? you could rig it up to a mechanism that would tighten/loosen the spring to control shutter speed.

just a thought, not sure how feasible that is.

  Are you sure? yes | no

rifo wrote 07/09/2014 at 17:06 point
Hello, I have checked the datasheet of TSL1412. It says 1536 x 1 Linear Sensor Array with hold. In a similar project I saw a TCD132D 1024x1 Linear Image Sensor being used.
What is the difference between a linear sensor array and a linear image sensor
they seem to have different inputs
thanks for your help

  Are you sure? yes | no

jimmy.c.alzen wrote 07/09/2014 at 20:41 point
As far as I can tell the sensors are very similar electronically. The TCD132 is harder to use since it needs two clocks, and it is a lot smaller with 14mm active area.

  Are you sure? yes | no

rijrunner wrote 07/08/2014 at 22:45 point
Looks interesting. Have been thinking about doing something like this since I heard about Adam Magyar.. http://nofilmschool.com/2014/01/adam-magyar-high-speed-camera-film-series-stainless/ He shoots a very similar system from cars or subways..

  Are you sure? yes | no

S Kilian wrote 07/08/2014 at 21:04 point
For replaceable apertures, I've liked the LensBaby method of replacing aperture cutouts: a ring magnet around the lens opening and a mildly magnetic paper that likes to just fit itself in the circular front opening.

no idea if it's a patented paper or if it is something that is easy to get in other sizes.

  Are you sure? yes | no

jimmy.c.alzen wrote 07/09/2014 at 08:22 point
Yeah magnets would work great, I just thought it would be better to have the aptertures behind the lens instead of infront. My thinking is that you get less vignetting this way. Well it doesnt matter if it is patented to me since it is only for personal use and I live in Sweden, where lawsuits are a lot less common.

  Are you sure? yes | no

Felix L. Esser wrote 07/08/2014 at 14:19 point
Hi Jimmy, I came across your project on DIY photography on would like to report on it for a major US photography website (I'm a freelance tech journalist.) How can I best get in touch with you? Thanks!

  Are you sure? yes | no

jimmy.c.alzen wrote 07/08/2014 at 14:25 point
Contact me on my hackaday name at gmail dot com :)

  Are you sure? yes | no

LeoM wrote 07/08/2014 at 12:46 point
Hi !
Great project, I'm developping myself an SLR camera and this could be a great feature to adapt to it and make an DSLR ! ^^
You can have a look to my project here : http://www.kisskissbankbank.com/en/projects/openreflex
Fell free to contact me.

  Are you sure? yes | no

Comedicles wrote 07/07/2014 at 23:17 point
There was a group some years ago that started a World wide network of small units with a linear array and a camera lens - about like a 200mm lens on a 35mmm camera. The idea was to get a full sky image every 24 hours that was continuously updated. The project kind of decayed as good DSLR for astronomy came along and the members were on to better things.

Have you thought about centering the array and not moving it as you scan a slow moving train? I think that would be pretty cool.

  Are you sure? yes | no

dcgill wrote 07/07/2014 at 21:14 point
I see your point however whether or not the device is tracked will depend on the maximum exposure time the CCD can accept which may be MORE than that achieved just by allowing the sky to pass across it!

  Are you sure? yes | no

jimmy.c.alzen wrote 07/08/2014 at 12:42 point
You are right about that. I did some calculations and using the 140mm lens, field-of-view is 38 degrees giving 2.5 hours vertical. Going horizontal we have 2.9 hours. Four times oversample at 5kHz (4*310ms) = 2.8 hours. I think 1.2 seconds total exposure is a bit on the low side. It's doubtful I will see much at that exposure, escpecially considering I have no gain circuit on the CCD output.

  Are you sure? yes | no

DusteD wrote 07/07/2014 at 21:02 point
That is beautiful! Very interesting idea! :)

  Are you sure? yes | no

jimmy.c.alzen wrote 07/09/2014 at 08:23 point
Thanks! Much appreciated!

  Are you sure? yes | no

Similar Projects

Does this project spark your interest?

Become a member to follow this project and never miss any updates