Build your Own PCB Exposure Box with Fluorescent Lamps and Countdown System
Tired of spending hours and hours in wire soldering? Do your circuits look ugly and you are looking for a way to produce professional-like PCBs? Then you had better try photoetching. And the first step to do that is to have the right equipment that is an Automated Exposure Box. Moreover if you like tinkering with microcontrollers, here is the challenge and it’s high time you launched the design of your own PCB Exposure Box.
In the following lines I describe the procedure I followed to build the Box, the Lamp System
and the Countdown System which is based on the AVR mega8 microcontroller.
Four blacklight lamps, 15W each, emit radiation at the region of UVA, with a peak around 350nm where the thin surface above the copper of the photosensitive board, is… sensitive. The lamps are taken by two and are connected in series thus shaping two similar modules. Each module has its own ballast and can be connected to 220V AC via a relay.
A microcontroller counts a user defined countdown and upon reaching zero activates a relay. The time remaining is displayed on four 7-segment led displays. The maximum countdown is 99 minutes and 59 secs.
The desired countdown is entered using only two buttons, SET and START/STOP. Short term push of the SET button will increase the current digit while prolonged push will change the digit from secondss to decades of seconds, to minutes and so on. Pushing once the START/STOP button, will make the MCU accept the desired countdown. Pushing the START/STOP button one more time, will start the countdown and connect the lamp system to 220V AC, via the relay. If START/STOP button is pushed again before countdown reaches zero, the lamp system will be deactivated. When the countdown reaches zero the lamp system is deactivated and a 3 seconds beep is sounded. The timer remembers the last used countdown and uses it as default every time the system is switched on.
All things above are housed in a wooden box. You can design the box by yourself however I had it done by a technician.
There are 3 distinctive parts that constitute your PCB Exposure Box; the Box the Lamp System and the Counter System along with the display.
You are gonna need a wooden box with dimensions aproximately 50x30x60 cm3. The box must have an extra room for hosting the countdown board and the two ballasts. The height of that room, that is the distance between the bottom of the box and the shelf, can be 5-8 cm. On the one side of the shelf will be installed the four starter bases and on the other side the four lamps along with their G13 bases.
Here is a very detailed description on how to build your own box, upon which I relied to decide the dimensions of my box. However the final design I used is the same as Papanikolaou’s box in his Darkroom Timer project. Many thanks to both of them!
The Lamp System
For the lamp system you will need:
4 x 15W Black Light UVA fluorescent lamps with a peak of radiation at ~350nm. Those lamps are suitable for photochemical procedures and can usually be used in insect killing. Examples are F15W/T8/BL from Syllvania and Actinic BL from Phillips
(approx. cost 10/lamp)
2 x 40W Ballast. This is the common ballasts used in fluorescent lamps (approx. cost 2/ballast)
4 x Starters that can support 15W lamps
(ex 22W starters approx. cost 0.5/starter)
4 x Starter bases
(approx. cost < 0.2/base)
8 x Bases for the lamps with holes so they can be screwed on the wood (approx. cost 0.6/base)
Wire. Prefer flexible wire which is commonly used in fluorescent lamps.
20 x Screws. Use the size you thing that best fits.
This is a very popular connection for two low wattage fluorescent lamps connected in series.
There are two identical modules connected in parallel. In each module, initially, the AC current flows through the two starters and the ballast. After a while one of the starters goes open-circuited and the current in the circuit is halted. This brings the ballast inductor in an extremely uncomfortable situation and it reacts violently developing a great voltage across its terminals. The value of the voltage can be as large as some kV and that is exactly what the fluorescent lamps need in order to be turned on. After that transition effect the voltage accross each lamp gets stabillized around the 50~60V which is the lamps operation voltage shown in the manuals.
As for the construction details, I put the lamps and the starters on the two sides of the wooden shelf and the two ballasts on the bottom of the box.
So, as far as the shelf is concerned. First, I screwed the starters’ bases on the I made the following connections one side of the shelf
The Countdown Timer
This is the most amusing part of the story. Here you have to deal with Software and Hardware.
As for the Software part I wrote the code in C using the winAVR and avr-gcc plugin along with avrStudio. Using ProteusVSM I tested the code in simulation environment which saved me a lot of effort and time. Then I downloaded the hex code to the chip with the STK500. I strongly recommend that you try and write the code by yourself so I don’t attach any code here except for the downloadable hex. If you need any help about the code, please mail me at aetheodhotmail.com
As for the Hardware there has been a lot talk about on how to do it. The Darkroom Timer of Vassilis Papanikolaou contains quite apprehensive schematics plus PCBs. My schematic contains all the variations required for the substitution of the PIC with the AVR mega8. In addition I use only two buttons and I put the regulators in parallel instead of in series.
QTY PART-REFS VALUE
— ——— —–
10 R1 – R10 220R
1 R11 470R
1 R12 4K7
2 C1,C2 1uF
1 C3 1000u
2 C4,C5 100n
1 U1 CD4511 BCD to 7segm. Com. Cath. Decoder
1 U2 ATMEGA8 AVR 8bit RISC microcontroller
1 U3 OPTOCOUPLER-NPN
1 U4 7812 12V Regulator
1 U5 7805 5V Regulator
6 Q1-Q5,Q7 BC328 pnp 800mA transistor
1 Q6 2N2222A npn 800mA transistor
1 D4 1N4001
1 BR1 Any diode bridge > 1A
1 FU1 1A fuse
1 J1 AC OUT socket
1 J2 CONN-DIL14 14 pin header for the connection with the
1 J3 BUZZER
1 J4 SET button
1 J5 START/STOP button
1 J6 POWER LED
1 J7 AC IN socket
1 RL1 12V relay
1 TR1 220V/14V 1VA transformer (from an old Radio)
EasyEDA: Ideas for Circuit Design, Innovation for Electronics Access
Free Circuit Design: Schematic – Simulation – PCB Layout – Gerber Viewer
JLCPCB Prototype: Only $2 for 10pcs 10×10cm, 24 hours Quick Turn, DHL Delivery in 3 days