Skip to content →

Month: April 2012

UV Light Box Controller – Part 2

Now, this is why i love the state of electronics at the moment – especially hobby grade ones. I can go from an idea on a piece of paper, to a working prototype, in… about 3 hours? Something like that. Anyway, in the time its taken since the last post, I have built and coded my Light Box controller, or at least prototyped it on a breadboard.

Isn't it pretty? 😀

The breadboarding was actually the easy part – as you can see there are 5 buttons, 9 LED’s, a big Darlington Transistor, and an Arduino (and battery, but thats just for portable power). The buttons, from left to right are: Reset, Pause, Go, Up, and Down, and the LED’s are (again from left to right): Power, Go, 8 minutes, 4 minutes, 2 minutes, 1 minute, 30 seconds, and Array. The array LED is just as a place holder until I actually hook this up to the UV Array I have built (more on that in another post).

So when this is running, the timer counts down (in binary) in 30 second intervals. You can set it to the nearest 30 seconds using the up and down buttons – up to 15 minutes 30 seconds, and down to 30 seconds. The reset button sets it back to 8 minutes, although only when it is paused. The timer can be paused, and will turn off the UV Array when doing so, which would allow you to move or adjust something in the box. This will also allow for the simple addition of a switch to detect if the door is open, although in my current box that is pointless… the door never actually shuts.

The code for this is below (click the read more link to see it!)

Leave a Comment