Just for fun: mini UV exposure unit

Summer corn, summer storm

D
Summer corn, summer storm

  • 0
  • 0
  • 11
Horizon, summer rain

D
Horizon, summer rain

  • 0
  • 0
  • 14
$12.66

A
$12.66

  • 6
  • 5
  • 145
A street portrait

A
A street portrait

  • 1
  • 0
  • 161
A street portrait

A
A street portrait

  • 2
  • 2
  • 150

Recent Classifieds

Forum statistics

Threads
198,813
Messages
2,781,175
Members
99,710
Latest member
LibbyPScott
Recent bookmarks
0

koraks

Moderator
Moderator
Joined
Nov 29, 2018
Messages
22,832
Location
Europe
Format
Multi Format
I already have a UV exposure unit made from UV tubes that I use for alt. process prints as well as PCB's. Because I was waiting for components for another project so I had some 'dead time', and I also had some parts in the parts bin that I thought I could put to good use, I did a quick and dirty min UV exposure box. It's essentially a 10W UV COB led with the necessary parts around it to make it work stand-alone. Its primary purpose is really to expose PCB's for my DIY projects, but it should also work fine for smallish alt-process prints; I think anything up to 5x7" would print within an acceptable amount of time.

Excuse the abysmal cameraphone pics. Just to get an impression of the finished contraption.
20210612_105048w.jpg


The main reason for making this is to see if the quasi-point source of a COB LED would give a noticeable resolution advantage over the large bank of UV-B tubes I've been using so far. Not really of of necessity, since the UV-tube source actually works fine as it is, but just...you know, because I can.

It's not going to win any beauty contests in any department - mechanical construction, electronics design or software engineering. It's all done very quick & dirty, but it seems to work. Haven't tested it yet for its intended application, but all seems fine so far. I have in mind to mount it underneath a shelf above my workbench with a couple of brackets so it's conveniently out of the way when I don't need it, but close at hand whenever I do. So that's why the LED output is actually at the bottom of the box as you can see further down this post.

Here's the schematic:
UV%20exposure%20unit%20040621%20schematic.jpg

The actual led is not on the schematic; the CONN3 pins 3 & 4 connect to it offboard. Pins 1 & 2 are for a fan mounted onto a heatsink which is probably a good idea for longer exposures of several minutes.

The schematic is pretty straightforward; I built it around an Atmel 328P, which I like for this kind of small/simple project. It has ample pins and processing power for a simple task like this. A CH340G USB<>UART chip enables convenient programming over USB as well as Serial debugging. The SPI interface (CONN4) is mostly for initial programming of the factory fresh processor which won't talk to the serial port right out of the box before the necessary fuses are set.

Both the CH340G and the 328P run at 12MHz, which allows me to use 3.3V for all the logic. A 328P will usually run fine as well at 16MHz and 3.3V, but it's off-spec and I had some conveniently small 12MHz SMD crystals lying around anyway. For some reason the CH340G seems to work more reliably at 3.3V than at 5V (probably because 5V is often not actually 5, but more around 4.5 after the voltage drop of D3), so that's why I preferred 3.3V for all the logic, provided by an AMS1117.

The board takes 12V in, which is also the voltage used by the MCP24894 led driver (IC2). A 10W UV led will run at something like 9V, so with 12V input this gives more than enough headroom for the led driver to do its thing. The NTD3055 is actually a NIKOS n-channel mosfet I had lying around. I don't think it's made anymore, so not recommended for new designs.

User interfacing is done with a rotary encoder (SW1) with some hardware debounce stuff around it and a 4-digit TM1637 7-segment display (connected to CONN1).

I threw in a little power indicator LED, a 'heartbeat' status LED and some RX/TX LEDs to monitor Serial communications. They're all bog standard 0805 SMD types. I used blue for power and red for the heartbeat/status ones, and both are visible on the finished product just to the bottom left of the rotary encoder. For good measure I also included a piezo buzzer (LS1).

Crammed into the small space I figured I had left (about 4x5cm), it just (barely) fit a double-sided PCB:
UV%20exposure%20unit%20040621%20pcb.jpg

(Copper fill on both top and bottom planes removed for this image, but all black space on both sides is in reality a copper ground plane.)
I didn't take pictures of the PCB because I don't feel like disassembling it all again, but suffice to say that it works, but it's ugly. I DIY all my PCB's and while they generally work after some obligatory troubleshooting, they never end up looking like Miss Universe (which I don't mind, as long as they do their job).

Here you can see the bottom of the finished box; the little white square is the actual light surface of the UV LED.
20210612_105121w.jpg


And here's what's inside:
20210612_105235w.jpg

20210612_105242w.jpg

Second picture, just above shows:
* At the top a standard 230V device plug with fuse and switch.
* Just below it a 230VAC-12VDC 2A SMPS module (cheap Chinese junk, works fine, but has no primary-side filtering.)
* To the left of the 12V supply you can see the PCB of the TM1637 module. I had some of these lying around anyway which I bought for another project and it is kind of appropriate for this contraption.
* Bottom left shows the vertically mounted processor PCB with the micro-USB jack and the SPI connector visible. The PCB mounts to the case by means of the rotary encoder which is soldered directly onto the PCB.
* The UV led is hidden below the fan and the heatsink; those are probably from an old 1st generation Pentium processor and I had those sitting in the parts bin anyway, so put them to good use here. The white cardboard thingy is an airduct which allows the fan to suck air from the case through the heatsink fins, taking the heat from the LED out of the case through the ventilation holes at the bottom of the picture. Above the 230V power inlet there's another series of holes that allow cool air to be sucked in. It's all very basic and improvised, but works fine.

The control software is written in Arduino C++, using a state machine as a central coordinating mechanism for all the inputs & outputs. I did the software architecture for this for my color enlarger project that is underway (and has been for quite a while...) so I reused some software components for this device. This also makes the software kind of tp-heavy and bloated for this purpose (the enlarger head will run on an ESP32S WROOM with oodles of processing power & memory in comparison with the old and trusty 328P), but performance is good and this was the quickest way to get the job done. The device doesn't do anything complicated:
* it allows the user to set the time (in seconds) using the rotary encoder
* shows the time set on the 4-digit display and shows a countdown timer during exposure
* does some led blinks (every second during exposure) and beeps (on exposure start, end and cancel)
* turns on the UV led and the cooling fan when the button is pushed
* during exposure the countdown can be canceled by pushing the button again
* after a successful exposure (i.e. one that counts down to zero without being cancelled by the user) the exposure time that was set is stored into EEPROM so it's loaded the next time the device is switched on
That's basically it. No fancy PWM, fan delays, temperature monitoring, manipulation of system configuration etc. Could all be done, but I considered it overkill for a quick & dirty project like this.

Hope you enjoyed the writeup! Not sure if it's useful in any way to anyone and I don't intend this to be a build guide that allows anyone to copy the project (feel free if you want to). I just felt like sharing a bit of what I've been wasting time on as of late, which isn't exactly photography, but still tangentially related to it.
 

radiant

Member
Joined
Aug 18, 2019
Messages
2,135
Location
Europe
Format
Hybrid
That is pretty nice build and description!

When I was having a talk with Douwe on UV enlarger, he introduced me to the falloff of the COP LEDs. On condenser enlarger that is of course totally another story, but .. What kind of falloff do you have and do you know how much the light is being reduced on certain angles? I assume you're going to expose a bit more far apart then what is in the example photo :smile:
 
OP
OP
koraks

koraks

Moderator
Moderator
Joined
Nov 29, 2018
Messages
22,832
Location
Europe
Format
Multi Format
I just did some very informal 'testing' on this - i.e. holding the device against the shelf I had in mind to get a feeling for the falloff. It seems that the COB led throws quite a wide beam, in fact; I'd estimate it as 100 degrees or even more. Since it's UV, I can only visualize the falloff using a fluorescent surface (office printing paper works fine), but it doesn't seem like a big concern for exposing smallish PCB's or prints. Especially for PCB's it's kind of a moot point since that's line art anyway with a lot of leeway in terms of exposure. Maybe I'll be doing some testing with 4x5" Van Dyke Browns or something like that once I have figured out a way to mount this thing in place. I had hoped I would have some 90deg. brackets sitting here that I could glue to the box, but sadly the ones I have are way too big. It'll probably have to wait until tomorrow or next week.

Either way, the falloff concern is a valid one, but I have good hopes. Of course there's a relationship between coverage area, distance between light source and print and light intensity, but I haven't yet determined if it's favorable for alt. process prints. I'm fairly sure it'll be perfectly fine for PCB exposures which are generally pretty short anyway with the UV resist I've been using (the blue paste you get from China).

The biggest PCB's I anticipate having to make are only 10x16cm anyway, so I'm not really shooting for the stars here. For anything bigger I have my UV tubes anyway which will cover way more than A3 paper size at direct sunlight-equivalent UV levels.
 
OP
OP
koraks

koraks

Moderator
Moderator
Joined
Nov 29, 2018
Messages
22,832
Location
Europe
Format
Multi Format
Looks like the bracket challenge could be solved pretty quickly with some lengths of aluminium L-profile and a dab of polyurethane glue.
20210612_132135w.jpg


20210612_132129w.jpg


Now comes the tricky bit - 24hrs of patience to allow the glue to cure.
 

Truzi

Member
Joined
Mar 18, 2012
Messages
2,651
Format
Multi Format
Very nice write-up & schematic.
 
OP
OP
koraks

koraks

Moderator
Moderator
Joined
Nov 29, 2018
Messages
22,832
Location
Europe
Format
Multi Format
Thank you @Truzi!

To keep it a bit photography related, here's the 'first light' print. It's a random glass plate (a little under 4x5") that happened to be within reach and sort of matched the density range of Van Dyke, which is the quickest way to test for me. Since it's been pushed and shoved around my workbench for 18 months or so, it's scratched quite badly, but that's actually an advantage in this case. Here's the print, on random paper (which actually doesn't work very well for alt. processes, but again, close at hand):
UV%20contact%20printer%201st%20light%20120621.jpg


Here's a closeup of the scratches just to the top right of the vacuum tube at 600dpi:
UV%20contact%20printer%201st%20light%20scratches%20120621.jpg

The scan doesn't do justice to the sharpness of the real print. Even on this rather coarse paper, the sharp rendering of those scratches is quite shocking when viewed with a magnifier. I haven't done side by side comparisons yet, but I'm pretty sure this is significantly sharper than my UV tubes.

Exposure time was 270 seconds at a distance of something like 30 cm or so.

20210612_183120w.jpg


So, it works.
 
OP
OP
koraks

koraks

Moderator
Moderator
Joined
Nov 29, 2018
Messages
22,832
Location
Europe
Format
Multi Format
Much appreciated :smile: Admittedly, I only know quick & dirty :wink: Yeah, light intensity isn't half bad. Better than I anticipated.
The enlarger project is on hold now for want of some new components; I wasn't satisfied with the light source, particularly the soldering of the smd leds. I'll probably boost the total nominal power as well from 250ish Watts to something like 400 or so. Let's see if the house will burn down...
 
Joined
Jul 31, 2012
Messages
3,352
Format
35mm RF
I'll be curious to see how your enlarger turns out. I've been thinking of converting my extra Focomat to LEDs. I have a general plan but not the knowledge about how to do it. I don't really understand LEDs to be honest. Some need a certain voltage, others need a certain wattage or something. Since I don't really understand it, I don't want to attempt it without doing all the research.

I did make a large UV LED exposure unit a couple years ago with string lights. That was pretty simple and didn't really require much knowledge since the electronic stuff is built into the string lights. I just had to attach it to a 12v power supply and cross my fingers... It did require a lot, and I mean a lot, of soldering since I have all the strings in parallel. I just laid a thick copper wire across the ends and soldered everything to it. Positive on one side of the box, negative on the other. Works great though. I get exposures for cyanotype in the 1:30-3:00 range. You could probably build something vastly superior to that if you set your mind to it. If you are getting a pretty fast exposure with the LED you are using, I'd imagine putting a bunch of them in a box would be pretty sweet...
 

radiant

Member
Joined
Aug 18, 2019
Messages
2,135
Location
Europe
Format
Hybrid
I love how this integrates to your darkroom. I can actually see how this could be a product..
 
OP
OP
koraks

koraks

Moderator
Moderator
Joined
Nov 29, 2018
Messages
22,832
Location
Europe
Format
Multi Format
Some need a certain voltage, others need a certain wattage or something.
They're all the same in the end - they like to be run at a specific current, so effectively you're always looking at some kind of constant current source or a current limiter. There are several ways of doing this, and there are multiple ready-made modules that make things easy. If you know what leds you want to use and what current they can handle, it's fairly straightforward to work out the rest. Dimming is in practice always done with pulse width modulation, which is usually fairly easy with a suitable microcontroller. The UV led thingy I presented here doesn't do any dimming; it's just full on or full off. Pretty simple in the end.

I'll be sure to post about the enlarger once I'm at the next stage. So far the power supply, controller and the auxiliary modules (power monitor, input controller, display etc) are working fine, but the head and its current sources could do with improvements, so that's going to be the next stop. They worked, but the safety mechanisms were I'll designed or absent and consequently I blew up a few leds and their drivers when I accidentally shorted two channels (rooky mistake, never solder a circuit that's powered on LOL). So I bit the bullet and decided to reengineer them.
The first version that I built about 2 years ago has been my primary workhorse enlarger and despite its simplicity (which borders on stupidity and outright danger) it's proven to be reliable and functional. To be brutally honest, I'm not going to see all that much improvement to justify the time spent on this new version.

I love how this integrates to your darkroom. I can actually see how this could be a product..
Thanks, I'm happy with how it turned out. Let's see if it's reliable as a "daily driver", but things are looking OK. Yes, it could be reengineered into a commercial product, but frankly, I don't think the economics are ever going to work out with the whole business of setting up sales, customer support etc. Besides, I bet there are products or modules out there that do more or less the same that you can get for $10 from China. I just didn't bother looking for them...for me the fun is in building it from the ground up; as soon as it sort of works I tend to loose interest.
 
Photrio.com contains affiliate links to products. We may receive a commission for purchases made through these links.
To read our full affiliate disclosure statement please click Here.

PHOTRIO PARTNERS EQUALLY FUNDING OUR COMMUNITY:



Ilford ADOX Freestyle Photographic Stearman Press Weldon Color Lab Blue Moon Camera & Machine
Top Bottom