WEBVTT
Kind: captions
Language: en-US

00:00:00.160 --> 00:00:02.078
Hello again, I am Wenting.

00:00:02.078 --> 00:00:12.365
In the past, I have&nbsp;built a full-frame mirrorless camera. If you don’t know about it, well basically it’s a DIY&nbsp;camera. 

00:00:12.365 --> 00:00:22.130
And I have a few videos about. It was&nbsp;kind of working, though it has some design flaws,&nbsp;so definitely needs a lot more work.&nbsp;

00:00:22.130 --> 00:00:30.000
As a result,&nbsp;I made the most sensible decision, I am&nbsp;just going to start a new project instead&nbsp;of finishing that. 

00:00:30.000 --> 00:00:35.920
My plan is to build a modular&nbsp;camera system, with swappable processor module,&nbsp;&nbsp;

00:00:35.920 --> 00:00:41.122
sensor module, focal plane module, lens mount&nbsp;module, and grip module.

00:00:41.122 --> 00:00:48.320
But then obviously&nbsp;this becomes a very complex system. I have&nbsp;spent most of my time recently developing the&nbsp;&nbsp;

00:00:48.320 --> 00:00:55.920
Eink monitor I showed you last video, and working&nbsp;on contracting work for this small Eink device.&nbsp;&nbsp;

00:00:55.920 --> 00:01:01.440
So honestly I don’t really have much time&nbsp;to work on the camera project. Months passed&nbsp;&nbsp;

00:01:01.440 --> 00:01:08.080
and this is still just on the drawing board,&nbsp;without much real progress. In the meanwhile,&nbsp;&nbsp;

00:01:08.080 --> 00:01:13.440
the previous camera stopped working&nbsp;exactly due to the design flaws,&nbsp;&nbsp;

00:01:13.440 --> 00:01:19.600
so I no longer have a working DIY camera.&nbsp;The goal now becomes, I want a new camera&nbsp;&nbsp;

00:01:19.600 --> 00:01:25.600
that I can build as fast as possible. Then&nbsp;to achieve this, I am just only going to&nbsp;&nbsp;

00:01:25.600 --> 00:01:33.520
build the digital back for now, and install the&nbsp;back on to this Mamiya Super 23 press camera.

00:01:33.520 --> 00:01:38.720
Before we dive into the project, I would like&nbsp;to be transparent about the AI usage here. Here&nbsp;&nbsp;

00:01:38.720 --> 00:01:44.560
is a breakdown of what’s human and what’s not.&nbsp;Basically most of the stuff are made by myself,&nbsp;&nbsp;

00:01:44.560 --> 00:01:48.640
but there are certainly some parts&nbsp;of the firmware were vibe coded.

00:01:48.640 --> 00:01:53.120
I started working, building on top of the&nbsp;mirrorless camera design I already have.&nbsp;&nbsp;

00:01:53.120 --> 00:01:58.880
The new sensor is a 22 mega pixel Kodak&nbsp;medium format sensor. It shares lot of&nbsp;&nbsp;

00:01:58.880 --> 00:02:04.640
similarities with the 11 mega pixel sensor&nbsp;used before, with some key differences:

00:02:04.640 --> 00:02:09.680
First of all, the voltages are different. In&nbsp;some cases, it’s just a matter of changing&nbsp;&nbsp;

00:02:09.680 --> 00:02:15.200
the voltage regulator output. In some other&nbsp;cases, it means replacing the driver IC with&nbsp;&nbsp;

00:02:15.200 --> 00:02:21.920
ones with higher voltage ratings. For example,&nbsp;originally I was just using 74 inverters for&nbsp;&nbsp;

00:02:21.920 --> 00:02:29.120
driving these clock signals, as the voltage&nbsp;requirement was 5.5V. It’s 10V now, so there&nbsp;&nbsp;

00:02:29.120 --> 00:02:36.560
is no hope to drive it with just ordinary&nbsp;74HC or similar low voltage logic series.

00:02:36.560 --> 00:02:41.600
After that, the waveform required to drive&nbsp;these sensors are different. Though for me,&nbsp;&nbsp;

00:02:41.600 --> 00:02:48.160
all waveforms are generated by either the&nbsp;programmable sequence generator in the AFE,&nbsp;&nbsp;

00:02:48.160 --> 00:02:53.920
or by the FPGA, so changing the waveform&nbsp;is just a matter of changing the code.

00:02:53.920 --> 00:02:59.760
One good news about this sensor is that it only&nbsp;has a single channel. In the previous camera,&nbsp;&nbsp;

00:02:59.760 --> 00:03:04.400
I had a lot of issues with matching&nbsp;the 2 channels, and ended up having&nbsp;&nbsp;

00:03:04.400 --> 00:03:08.880
to include a circuit to switch between&nbsp;single and dual channel mode. Here,&nbsp;&nbsp;

00:03:08.880 --> 00:03:13.280
there is only one channel, so no&nbsp;need to worry about the matching.

00:03:13.280 --> 00:03:20.560
That’s pretty much it. With these changes,&nbsp;I really expect the CCD to just work.

00:03:20.560 --> 00:03:27.360
In terms of other hardware, the Mamiya Super 23 is&nbsp;a much larger camera, so I used the opportunity to&nbsp;&nbsp;

00:03:27.360 --> 00:03:34.400
upgrade the 3.4” 480x480 LCD to a 4.2” 1280x960&nbsp;LCD. I also included a small secondary LCD,&nbsp;&nbsp;

00:03:34.400 --> 00:03:41.360
but mostly for cosmetic reasons. Then there are&nbsp;the normal flash sync input and output terminal,&nbsp;&nbsp;

00:03:41.360 --> 00:03:48.880
a full size SD card slot, a 4 pin GPIO connector&nbsp;for additional accessaries, like a light meter.

00:03:48.880 --> 00:03:53.280
Well at least that was the design.&nbsp;When I was purchasing the components,&nbsp;&nbsp;

00:03:53.280 --> 00:03:58.960
the screen just went out of stock, like not&nbsp;even a single one I can get. So the unit I&nbsp;&nbsp;

00:03:58.960 --> 00:04:04.880
am using just doesn’t have that. So while&nbsp;I am waiting for the new screens to come,&nbsp;&nbsp;

00:04:04.880 --> 00:04:13.600
I just installed this 3.7” 320x240 monochrome&nbsp;instead. I do quite like it though.

00:04:13.600 --> 00:04:19.200
The construction is also straightforward. I have&nbsp;a base plate that clips on to the camera. The&nbsp;&nbsp;

00:04:19.200 --> 00:04:26.080
mainboard is screwed onto this plate. The screens,&nbsp;buttons are installed to the back cover first,&nbsp;&nbsp;

00:04:26.960 --> 00:04:34.240
glued down, and then install onto the base plate&nbsp;as a whole. The IR cut filter gets installed onto&nbsp;&nbsp;

00:04:34.240 --> 00:04:39.260
this plate from the other side. Then we have&nbsp;the full thing. This can be then installed on&nbsp;&nbsp;

00:04:39.260 --> 00:04:43.280
to the camera. This obviously doesn’t include&nbsp;any batteries, so an external battery pack is&nbsp;&nbsp;

00:04:43.280 --> 00:04:50.080
installed on the top of the grip. Connecting&nbsp;the power, lens sync, and we are good to go!

00:04:50.080 --> 00:04:53.840
In terms of the firmware, I started&nbsp;with just modifying the previous&nbsp;&nbsp;

00:04:53.840 --> 00:04:59.440
camera’s firmware. That got me to&nbsp;the first image. Not bad at all.

00:04:59.440 --> 00:05:06.480
I then spent some time tuning this camera to, get&nbsp;an actual usable image. You see, the CCD output&nbsp;&nbsp;

00:05:06.480 --> 00:05:12.800
looks like this. For each pixel, it first outputs&nbsp;a reference voltage level, then followed by the&nbsp;&nbsp;

00:05:12.800 --> 00:05:19.120
actual pixel voltage level. The analog front end&nbsp;has something called Correlated Double Sampler, or&nbsp;&nbsp;

00:05:19.120 --> 00:05:26.080
CDS for short. It allows sampling the difference&nbsp;of two voltage points. When we are sampling the&nbsp;&nbsp;

00:05:26.080 --> 00:05:32.720
CCD signal, what we really need to sample is the&nbsp;difference of these 2 levels. From the diagram,&nbsp;&nbsp;

00:05:32.720 --> 00:05:39.680
it’s fairly easy to say that I want to put&nbsp;the sampling points here. But the issue is,&nbsp;&nbsp;

00:05:39.680 --> 00:05:46.080
the exact phase relationship between the CCD&nbsp;output and the AFE’s internal clock is unknown.&nbsp;&nbsp;

00:05:46.080 --> 00:05:51.680
Sure it should be possible to measure on the&nbsp;oscilloscope to see their phase difference, but&nbsp;&nbsp;

00:05:51.680 --> 00:05:58.480
I could also just, do a parameter sweep to find&nbsp;out the phase relationship, and at the same time,&nbsp;&nbsp;

00:05:58.480 --> 00:06:06.880
verify the setting that yields the best image&nbsp;quality. The setup looks like this, the camera,&nbsp;&nbsp;

00:06:06.880 --> 00:06:13.440
an automated lens controlled by the camera,&nbsp;and the object. Then we have the sweep result,&nbsp;&nbsp;

00:06:13.440 --> 00:06:21.360
which looks like this. From that, we can know if&nbsp;the image suddenly changes, there is likely an&nbsp;&nbsp;

00:06:21.360 --> 00:06:27.680
edge on the output waveform. After marking all the&nbsp;edges, given the knowledge of the waveform shape,&nbsp;&nbsp;

00:06:27.680 --> 00:06:33.520
I can deduce that the phase relationship should&nbsp;look like this. And I can crosscheck as well,&nbsp;&nbsp;

00:06:33.520 --> 00:06:39.200
based on the knowledge here, I expect setting the&nbsp;reference point here and signal point here would&nbsp;&nbsp;

00:06:39.200 --> 00:06:45.360
yield pretty good results, and indeed that’s the&nbsp;case. There are other parameters that I don’t need&nbsp;&nbsp;

00:06:45.360 --> 00:06:52.800
to sweep, but I can sweep to ensure what I have is&nbsp;correct. For example the black level calibration,&nbsp;&nbsp;

00:06:52.800 --> 00:06:58.960
it should only calibrate on black pixels. If it&nbsp;ever calibrates on effective pixels, well then&nbsp;&nbsp;

00:06:58.960 --> 00:07:04.880
that whole line would have an offset. And indeed&nbsp;I can observe that if I move the calibration area&nbsp;&nbsp;

00:07:04.880 --> 00:07:11.280
around. That confirmed both the calibration&nbsp;is working, and my settings are correct.

00:07:11.280 --> 00:07:14.199
Enough about tuning for now.

00:07:14.199 --> 00:07:18.240
So, let's take a look at how to operate this camera. First,&nbsp;&nbsp;

00:07:18.240 --> 00:07:23.920
turn the battery pack on. Then turn on the digital&nbsp;back. The screen should say ready after a short&nbsp;&nbsp;

00:07:23.920 --> 00:07:29.280
while. Release the shutter, and it should be&nbsp;triggered automatically. Once the photo has&nbsp;&nbsp;

00:07:29.280 --> 00:07:34.880
been read out, it displays the image preview&nbsp;on the screen for a few seconds. After that,&nbsp;&nbsp;

00:07:34.880 --> 00:07:41.040
it’s ready to take a new photo. There are two&nbsp;buttons, one for playback, another for setting&nbsp;&nbsp;

00:07:41.040 --> 00:07:48.240
the ISO in shooting mode, and delete in the&nbsp;playback mode. Once in the playback mode,&nbsp;&nbsp;

00:07:48.240 --> 00:07:55.840
press the center button to zoom in, then it can&nbsp;be used to navigate around the zoomed in image.

00:07:55.840 --> 00:08:00.000
As mentioned prior, I have recently&nbsp;helped building this small Eink gadget,&nbsp;&nbsp;

00:08:00.000 --> 00:08:05.760
called the Tickey. It’s basically an Eink&nbsp;badge, featuring a Spectra 6 color eink&nbsp;&nbsp;

00:08:05.760 --> 00:08:10.640
display with an interchangeable faceplate.&nbsp;I modified the waveform to achieve faster&nbsp;&nbsp;

00:08:10.640 --> 00:08:16.480
refresh and more color on it. Here I just took the&nbsp;opportunity to add a feature, where the image&nbsp;&nbsp;

00:08:16.480 --> 00:08:24.240
can be transferred directly from the camera to the&nbsp;Tickey to be displayed. Not super useful though.

00:08:27.600 --> 00:08:31.200
I pretty much just finished building&nbsp;this camera like a few days ago,&nbsp;&nbsp;

00:08:31.200 --> 00:08:43.440
so I don’t have much photos to show you&nbsp;yet. Maybe I will do a follow up after this.

00:08:50.000 --> 00:08:54.400
This is about the end of this video,&nbsp;but I am sure there will be more camera&nbsp;&nbsp;

00:08:54.400 --> 00:08:59.360
related videos coming up soon, stayed&nbsp;tuned, and I will see you next time.

