Welcome, Guest. Please Login or Register
Arduino: Forum
06.09.2010 at 05:05:16


Pages: 1 2 
First project: Laser tripped flash gun (Read 1726 times)
cowjam
Senior Member
****
Offline

cowjam.net

Posts: 399
Wigan, UK
Gender: male
First project: Laser tripped flash gun
03.05.2010 at 02:28:33
 
I got my arduino yesterday having not messed with electronics since I was at school (over a decade).  I decided to see if I could rig a flash gun so I could do some high speed photography.

I ended up with a laser (cheap laser pen) powered by the arduino and pointing at a photoresistor.  When the light level drops it fires the flash via a relay.  I added a couple of buttons (stop/go) and a couple of LEDs for good measure.

Rather pleasingly, it all worked.  I need to improve the stage for taking photos, but all the kit works:
(I can't post images or links as this is my first post, so you'll have to copy/paste for a pic) cowjam.co.uk/arct/drop.jpg

More details including a rough circuit diagram (again not drawn one in over a decade, so sorry if it's rubbish) and the code on my site: cowjam.net

I have no idea if the resistors are the right values.  I based it on the ones used in the examples given in my starter pack.

CowJam
Back to top
 
 
View Profile | WWW   IP Logged
cowjam
Senior Member
****
Offline

cowjam.net

Posts: 399
Wigan, UK
Gender: male
Re: First project: Laser tripped flash gun
Reply #1 - 03.05.2010 at 02:29:18
 
Here's the pic:

And the link: http://cowjam.net
Back to top
 
 
View Profile | WWW   IP Logged
Pauly
Full Member
***
Offline

Arduino rocks

Posts: 175

Re: First project: Laser tripped flash gun
Reply #2 - 03.05.2010 at 18:39:40
 
Nice project.  Be careful not get the breadboard electronics wet.
How are you triggering the camera?
Back to top
 
 
View Profile   IP Logged
cowjam
Senior Member
****
Offline

cowjam.net

Posts: 399
Wigan, UK
Gender: male
Re: First project: Laser tripped flash gun
Reply #3 - 03.05.2010 at 18:49:23
 
At the moment I'm using a pocket digital camera (an olympus mju 8000), which has a maximum shutter time of four seconds.  I open the shutter then set everything going - the speed of the flash dictates the length of exposure.

I'm doing all this in the cupboard under the stairs as there are no windows.  The process is - half press the camera button to get it to focus, keep my finger half pressed (or it'll change focus).  Turn the light out.  Press Go on the arduino.  Fully press the camera button.  Drop something.

With a bit of luck I'll drop whatever it is through the beam (not that easy in the dark).  It's quite frustrating getting a good shot - my aim has to be right, I have a small window of time to get it done in and the autofocus has to be right and I have to have the camera aimed at the right section of the water.

I've changed the way the flash is fired now - once the the laser is shining it takes a light reading and fires the flash when the light level changes from that (with a sensitivity variable built in as I wasn't sure how sensitive it needed to be).

The next step is to put it in a box, rig the sensor and laser up so they're stable and build some kind of frame for dropping drops/marbles/whatever so they reliably go through the beam.
Once I'm sure it's all sound and reliable I'll get my old SLR out, but I don't want to waste film getting crap shots like I am at the moment.
I can manually focus the SLR, set the aperture and lock the shutter open, so it should be a little more relaxed then.

Sam
Back to top
 
 
View Profile | WWW   IP Logged
bld
Senior Member
****
Offline

I'm Blue, Da Ba Dee

Posts: 421
Vejen, Denmark
Gender: male
Re: First project: Laser tripped flash gun
Reply #4 - 03.05.2010 at 18:52:20
 
Hmm, maybe you could extend it a bit?

If you want to hack the camera too, then try and hook the shutter button up to the arduino too, along with the light in the room. Almost full automated then, and a buzzer to tell you when to make a drop.  Smiley
Back to top
 
 
View Profile | WWW | MSN | GTalk | Skype/VoIP | ICQ   IP Logged
Pauly
Full Member
***
Offline

Arduino rocks

Posts: 175

Re: First project: Laser tripped flash gun
Reply #5 - 03.05.2010 at 18:56:58
 
If your camera has an IR sensor or remote, you could trigger it that way by flashing an IR light at the same time as the flash.  
I'm sure you have already herd of Doc Edgerton, but if not, check him out too.
http://en.wikipedia.org/wiki/Harold_Eugene_Edgerton
Back to top
 
 
View Profile   IP Logged
cowjam
Senior Member
****
Offline

cowjam.net

Posts: 399
Wigan, UK
Gender: male
Re: First project: Laser tripped flash gun
Reply #6 - 03.05.2010 at 19:01:45
 
Thanks for the info.

The digital one might have IR, but from what I've read the response time is too slow for what I'm doing.
Back to top
 
 
View Profile | WWW   IP Logged
cowjam
Senior Member
****
Offline

cowjam.net

Posts: 399
Wigan, UK
Gender: male
Re: First project: Laser tripped flash gun
Reply #7 - 03.05.2010 at 19:07:46
 
bld, I've contemplated using a servo for the physical remote trigger on the SLR (it's not digital, it's an Olympus OM2).

I might get another light - I don't really fancy dabbling with mains - it's a good idea though.
Back to top
 
 
View Profile | WWW   IP Logged
bld
Senior Member
****
Offline

I'm Blue, Da Ba Dee

Posts: 421
Vejen, Denmark
Gender: male
Re: First project: Laser tripped flash gun
Reply #8 - 03.05.2010 at 19:14:06
 
Back to top
 
 
View Profile | WWW | MSN | GTalk | Skype/VoIP | ICQ   IP Logged
cowjam
Senior Member
****
Offline

cowjam.net

Posts: 399
Wigan, UK
Gender: male
Re: First project: Laser tripped flash gun
Reply #9 - 03.05.2010 at 20:24:49
 
Very tempting bld.  Will those components work with 250v 50Hz? I'm British.
Back to top
 
 
View Profile | WWW   IP Logged
bld
Senior Member
****
Offline

I'm Blue, Da Ba Dee

Posts: 421
Vejen, Denmark
Gender: male
Re: First project: Laser tripped flash gun
Reply #10 - 03.05.2010 at 20:45:45
 
http://www.emartee.com/product/41852/Arduino-5V-Relay-Module
Quote:
This relay output driver shield adopts Omron G5LA relay to supply 1 channel control, the max can link to equipment with 250V AC/DC, therefore it can be used to achieve so many effects,such as electric lamp control.


Yep Wink
Back to top
 
 
View Profile | WWW | MSN | GTalk | Skype/VoIP | ICQ   IP Logged
cowjam
Senior Member
****
Offline

cowjam.net

Posts: 399
Wigan, UK
Gender: male
Re: First project: Laser tripped flash gun
Reply #11 - 03.05.2010 at 22:08:44
 
Can't seem to that in a British shop.  I'll have to call in to my local electronics store, I've little idea what I'm doing yet.
Back to top
 
 
View Profile | WWW   IP Logged
liudr
Senior Member
****
Offline

Arduino rocks but I
still miss rep
movsd;

Posts: 329
MN, USA
Re: First project: Laser tripped flash gun
Reply #12 - 03.05.2010 at 22:22:17
 
Awsome! I'm making photo gate measurement systems. I use a photo gate as a trigger for speed measurement but the principle is the same and the photo gate is supposed to be faster in response than the photo reisistor that comes with the starter kit. I think if you set up your laser trip wire at a fixed height from the water surface, say 50cm above water and out of the way of your camera's view, you can trigger the flash at 0.32 seconds after the trigger fires, which is the time it takes any object to fall 50cm from rest, then you can choose when exactly to snap the shot, the object just entering water or say 0.1 seconds after that. Might be good enough to get a few shots at different dropping of the object and stitch into a video.
Back to top
 
 
View Profile   IP Logged
cowjam
Senior Member
****
Offline

cowjam.net

Posts: 399
Wigan, UK
Gender: male
Re: First project: Laser tripped flash gun
Reply #13 - 03.05.2010 at 22:46:41
 
luidr, having the laser/sensor just above the surface of the water (about 1cm) is plenty fast enough.  I've had to add a small delay to get anything other than the object just touching the water Smiley

The video is a good idea.
Back to top
 
 
View Profile | WWW   IP Logged
cowjam
Senior Member
****
Offline

cowjam.net

Posts: 399
Wigan, UK
Gender: male
Re: First project: Laser tripped flash gun
Reply #14 - 03.05.2010 at 23:49:11
 
I've improved the setup somewhat - mainly adding black material at the bottom and behind the stage, using a little 'helping hands' thing with a weighted base and clip on an arm to hold the laser in place.

Anyway, I just took this:

Full size shot (5MB): http://cowjam.net/images/dolly_mix_full.jpg
Cheesy
Back to top
 
 
View Profile | WWW   IP Logged
Pages: 1 2