GarethB
Likes to peek
- Messages
- 2,291
- Name
- I don't even know anymore!
- Edit My Images
- Yes
An Idiots guide: DIY Water Drop Controller with Arduinos and stuff.
Hello there fellow TP folks.
Hands up who's seen those amazing images of water drop collisions?
I have. And I became so enthralled with them, I decided to embark on a journey to construct a device that can create such images.
This is what I did and the way I did it.
Firstly I should point out that I am not an expert in electronics or Arduino programming...far from it in fact.
Until a few weeks ago, I'd never even seen an Arduino, let alone knew what they were or what they did!
The last time I did anything electronics related was thirty years ago...and that was only 'O' level electronics!
So I won't be able to go into much technical detail about the components used in this build, sorry!
(I accept no responsibility for damage to any equipment used. Please be careful when messing around with electronics.
I created this thread purely as a record of what I did, it isn't meant to be an exact guide, rather an information resource to apply to your own project.
I encourage further research if you intend to embark upon a similar project.)
So you see I am perfectly qualified to create 'an idiots guide'!
Secondly, I wish to credit the following for their invaluable guides:
- Martyn Currey - Brilliant in depth guides on Arduino water drop controllers - LINK LINK
- Ted Kinsman - 'How to Build a DIY Double Water Drip System for High Speed Photos' on PetaPixel - LINK
- Paul McWhorter - His Arduino programming guides are invaluable for beginners - LINK
- Corrie White - For being awesome and inspirational - LINK LINK
- and our very own @Manxmaid for inspiring me to write my story...thank you Andrea!
I was able to adapt the information from these guides to suit the device I wanted to build.
Specifically I wanted a device that would release two timed drops of water and then trigger a camera to capture the collision event.
I didn't want to build a device that fired only the flashes (and use bulb mode in a dark room), since I wanted to have a light on whilst I'm working with cameras and water!
I will eliminate the ambient light in the room by setting my camera to its maximum flash sync, which for my Canon 7D is 250th of a second.
Clicky Contents:
Here are some images I shot using the controller I built:
IMG_0494 by Gareth Bellamy, on Flickr
drop3 by Gareth Bellamy, on Flickr
I
MG_0579 by Gareth Bellamy, on Flickr
Equipment needed that I already had:
Equipment I needed to buy:
This seems like a long list of things...but most of the electronic components only cost a few pence, and the whole build shouldn't cost more than around £50, which is much less than the commercially available systems.
(All images used in this guide were created by me)
Hello there fellow TP folks.
Hands up who's seen those amazing images of water drop collisions?
I have. And I became so enthralled with them, I decided to embark on a journey to construct a device that can create such images.
This is what I did and the way I did it.
Firstly I should point out that I am not an expert in electronics or Arduino programming...far from it in fact.
Until a few weeks ago, I'd never even seen an Arduino, let alone knew what they were or what they did!
The last time I did anything electronics related was thirty years ago...and that was only 'O' level electronics!
So I won't be able to go into much technical detail about the components used in this build, sorry!
(I accept no responsibility for damage to any equipment used. Please be careful when messing around with electronics.
I created this thread purely as a record of what I did, it isn't meant to be an exact guide, rather an information resource to apply to your own project.
I encourage further research if you intend to embark upon a similar project.)
So you see I am perfectly qualified to create 'an idiots guide'!
Secondly, I wish to credit the following for their invaluable guides:
- Martyn Currey - Brilliant in depth guides on Arduino water drop controllers - LINK LINK
- Ted Kinsman - 'How to Build a DIY Double Water Drip System for High Speed Photos' on PetaPixel - LINK
- Paul McWhorter - His Arduino programming guides are invaluable for beginners - LINK
- Corrie White - For being awesome and inspirational - LINK LINK
- and our very own @Manxmaid for inspiring me to write my story...thank you Andrea!
I was able to adapt the information from these guides to suit the device I wanted to build.
Specifically I wanted a device that would release two timed drops of water and then trigger a camera to capture the collision event.
I didn't want to build a device that fired only the flashes (and use bulb mode in a dark room), since I wanted to have a light on whilst I'm working with cameras and water!
I will eliminate the ambient light in the room by setting my camera to its maximum flash sync, which for my Canon 7D is 250th of a second.
Clicky Contents:
- The start
- The circuit
- The Arduino
- Arduino code - updated: added a section to print time values to serial monitor
- The support structure
- The Mariotte Syphon
- Timings, mixes and finale
- Addendum I - nozzles and other stuff
- Addendum II - connecting the power supply and the solenoid
- Project Updates - adding variable control and LCD to be independent of a PC.
- The revised Arduino code - rewritten to accommodate the new control systems.
- The Buck Converter - powering the Arduino from a battery.
- LCD screens - more details and clearer diagrams
- Potentiometers - better info and diagram
- LCD display problems - weird numbers showing on the display
- Making a box - the ups and downs!
- Project updates - soldering (and ruining!) the circuit
- Revised sketch - possibly for the final time - special thanks to @Leebert @Picareto and @billbillbill
- Images of water drops - early shots and some test shots
- The difficult second album - a late catch up of where the MK 2 version is now
- The button/keypad shield - how to build your own, and use it with a menu sketch
Here are some images I shot using the controller I built:
IMG_0494 by Gareth Bellamy, on Flickr
drop3 by Gareth Bellamy, on Flickr
I
MG_0579 by Gareth Bellamy, on Flickr
Equipment needed that I already had:
- thirty year old multimeter (not an absolute necessity, but handy to check voltages/resistances)
- hot glue gun (to seal the tubes for a Mariotte Syphon)
- soldering iron (not strictly necessary, but useful to neaten up wire ends etc)
- bits of wood, nuts & bolts (to make a support)
- helping hands rig (those bendy arm things with croc clips on the ends for holding small stuff)
- camera, tripod, macro lens and radio flashes (obviously!)
- an old laptop (to run the Arduino software and program it)
- PTFE also known as plumbers tape (to make water tight seals)
- masking tape for labelling
Equipment I needed to buy:
- Arduino Uno R3 - or similar clones...Arduino is open source so there are many good quality clones out there - AMAZON LINK
( I chose the Elegoo basic starter kit from Amazon, which comes with quite a few other useful components like resistors etc )
- A cheap camera shutter release cable with the appropriate fitting for your camera. (Only need the plug fitting - don't need the button bit) - AMAZON LINK
(Some Canon cameras have the N3 style shutter trigger port (like mine), others have a 3.5mm jack plug fitting, but unfortunately I have no knowledge of other brands.)
- A 12 volt DC 2 way N/C solenoid valve - I have used the AirTac valve from Amazon...N/C means normally closed, this is important. - AMAZON LINK
(Normally closed means that when no voltage is applied to it, the valve remains closed....so no leaking when you switch it off!)
- A TIP120 transistor - used to control the higher currents needed for the solenoid valve - works like an electronic switch - BITSBOX LINK
- A 4N35 optoisolator - used to protect the DSLR by isolating it from the rest of the circuitry. - BITSBOX LINK
- A 1N4007 diode - used to eliminate any reverse voltage spikes when the solenoid is activated. - BITSBOX LINK
- A 12 volt DC power supply - used to power the solenoid valve through the transistor, should be able to supply at least 1 Amp current - BITSBOX LINK
(The Arduino board cannot supply enough current to power the solenoid valve alone)
- Various croc leads - for making temporary connections without the need for a soldering iron. - BITSBOX LINK
- A 2.1mm barrel jack power socket - used to take power from the 12 volt power supply and route it to the solenoid circuit. - BITSBOX LINK
- Some lengths of wire - necessary for making longer connecting leads to the solenoid, comes in handy for some other things.
- 3 BSP/NPT 1/4 inch hosetails - 2 with 1/4 inch barbed tails and 1 with 1/8 inch barbed tail - MACHINE MART LINK
(The 1/4 inch barbs are used to connect the reservoir to the solenoid valve, and the 1/8 inch one will be the drop nozzle.
I sourced these from a local plumbing supplier. They can also be obtained from Machine Mart)
- A length of 8mm diameter PVC flexible tubing (about a metre would be plenty) - used to connect the valve to the reservoir.
(I bought this from B&Q, can't seem to link it because their website is rubbish!)
- A length of rigid plastic tubing - anything around 8-10mm diameter - used to create a Mariotte syphon - approx 50cm length should be plenty.
(A Mariotte syphon is a simple device which retains a constant pressure in a sealed reservoir, regardless of the reduction in water level.
Also purchased from B&Q)
- A plastic, clear jar/bottle with an airtight plastic lid - used as a reservoir or Mariotte Syphon bottle. - LAKELAND LINK
(I bought these from the Lakeland shop in Norwich, but anything similar would do)
This seems like a long list of things...but most of the electronic components only cost a few pence, and the whole build shouldn't cost more than around £50, which is much less than the commercially available systems.
(All images used in this guide were created by me)
Last edited: