Water Droplets – update 1

Here’s an update on where I am with the water droplet project …

I have now rigged the Arduino board up with my black box and the 12v solenoid valve in what I hope will be something like the finished arrangement. This is how it looks …

Arduino-3

The valve is clamped to the arm of a retort stand – the sort of thing I struggled with in the chemistry lab at school ( it’s funny how these things come back to haunt you) …

Arduino-5

… with a bowl of water underneath where, hopefully, the water will fall and those elusive collisions will occur.
To the top of the retort stand is clamped a 20ml syringe – my reservoir of water to feed the valve and produce the droplets …

Arduino-4

The rubber tube connects the syringe to the inlet side of the valve. So far, so good.

Water droplets are produced by opening and closing the solenoid valve for just long enough for water to flow through the valve. Leave the valve open for too long and you get a dribble of water, or several drops; don’t leave it open long enough – and nothing happens: the solenoid clicks, but no water appears. So the first task is to find out how long the valve has to be open to produce a decent droplet.

There is a small program that you have to upload onto the Arduino board that does all the clever stuff – like opening and closing the valve, and how long it stays open is determined by the value of a number that you write into the program! ( We are talking in thousandths of a second here – this all happens very fast, something which I’ll come back to in a minute! ) So each time you need to adjust the length of time that the valve stays open you have to edit the program, do some magic which ‘they’ call ‘compiling’ and then upload the result to the board. It’s a sort of iterative process, continually adjusting the number until you get it right.

I should add here that more sophisticated equipment – the sort you have to pay real money for – does this adjustment in a much more efficient, intuitive and user-friendly way. As already stated, this setup is absolutely basic – there are no bells or whistles attached.

Anyway, I spent a cold afternoon in my garage finding the length of time the valve has to be held open to produce a droplet. And I did get there – or thereabouts. ( I’ll give you a run down of the values I’m using when I get closer to a more refined setup. )

But you will remember that what I am really after is the collision of two water droplets. And, as you may guess, that introduces another issue. Having produced the first droplet, I then want the program to wait for some fraction of a second before producing a second droplet that will fall towards the bowl of water and crash into the first droplet which has, by then, bounced off the water and is traveling upwards to meet the down-comimg second droplet! Of course, this delay is also dependent on the distance between the outlet nozzle on the valve and the surface of the water in the bowl.

And all of this is happening so fast that you can’t see what is happening. But I happen to have a Nikon Coolpix 100 camera that will record video at 240 frames per sec ( fps ) and then play it back at 30 fps, 16 times slower. It was a matter of videoing the two droplets, replaying the recording, trying to work out what was happening and then adjusting the delay value in the program. After two more hours in the garage ( and nine recording / replays and a couple of adjustments of the drop height ) I had worked out the delay to give the required collision.

But I now have those values embedded in the program – the length of time the valve has to be open to produce the droplets – and the delay between the two droplets that is needed to cause the collision, given the drop from the valve to the bowl.

Next step, try and get some initial shots of the collisions. This will probably involve my PhotoTrigger box, a laser trigger, three or four strobe lights and shooting in the dark.

Happy days!

Water Droplets & Electronics

For some time now I have been interested in photographing water droplets – I even used a couple of basic droplet shots in my ARPS panel that some of you may already have seen in an earlier posting.

But i would like to take this further – initially to capture some droplet collisions, and even – maybe – venture into the world of multi coloured liquids and multiple valves.

I’ve had some experience with a unit called PhotoTrigger by Binary Logic ( be aware that there is another box out there with a very similar name ), but the basic PhotoTrigger will control your camera and/or strobe lights using inputs from visual and audio signals ( eg breaking laser beams and using microphones to detect sounds ). But this device can’t control solenoid valves, and (apparently) that’s what you need to be able to do if you are into droplet collision.

Naturally there are boxes out there that will do everything that I want to do, but they don’t come cheap. And for some perverse reason I decided that I would like to have a go at building at least a basic piece of kit that will control a single valve – and take it from there.

So, with the help of some friends who know a lot more about electronics than I do ( and I have to say, that’s not difficult ) over the last couple of weeks I’ve been putting together such a ‘black box’. The whole device is built around an Arduino board – a small, inexpensive device that gives you the hardware to control the valve.

I’m at the stage where I have the box and the associated program running and operating the valve as required – but I repeat, it is basic. All it will do at present is to open the valve long enough to produce a single droplet of water. At least, I’m hoping that’s what it will do once I have sorted out the plumbing. I need to feed water into the top of the vale in some controlled way – and that’s where I am at the moment. It seems that I have to put basic electronics to one side for a while and begin a new battle with leaking joints and wet work surfaces.

All I wanted to be was a photographer. I could become the local odd-job-man at this rate! I just hope none of what’s coming next involves brick laying!

Anyway, here are a couple of pictures of what I have produced.

Arduino -1

Arduino -2
A word of explanation

1 – the Arduino board
2 – the 12v solenoid valve ( what it’s all about, really! )
3 – 12v supply for the solenoid
4 – the BDX 33 transistor
5- the radio frequencies for London VOLMET and Stanstead ATIS

6 – the USB power supply for the Arduino board, and how the program is downloaded from the computer to the board
7 – switch to operate the valve
8 – red LED to show that the system is armed and waiting to go 9 – green LED to show that the system has triggered the valve.

I’ll update you as I sort out the plumbing issues and then hopefully produce some pictures to show something for all of the hard work!!
Of course, I’m still not fully independent of PhotoTrigger. that will still be used in the taking of the final images, probably by firing the strobes when the water droplets break a laser beam.

Stick around. It could get interesting.
Or on the other hand …….