Plenty of solutions have been proposed and a number of circuits were published in the electronics monthly 'Elektor' but frankly, generally these proved not to work or at least cause problems with a lot of people trying to build them.
I managed to build a working unit with a minimum of parts that I have build several times and they all work, so it is certainly 'reproducable'. The picture shows two finished units: one with a fototransistor and one with a fotodiode
One thing though. The circuit I am proposing is for a camera with 1 preflash. Also, it is not an original circuit. I first found something like it on foto website Flickr that had a working version and a non working version and after some digging i came on a russian website (!) that gave me a lot of useful information as well.
The circuit is pretty sensitive: I got it to react inside with a distance of 5 meters and an indirect flash
Let's start with the Bill of materials:
Phototransistor (e.g. BPW 40) or photodiode (e.g. BP104)
CD4001 quadruple NOR-gate
R 220k 3x
R 120 K
R 620 k
R 27 k
R 10 k
C 1uF (elco)
C 10uF (elco)
perfboard (18x12 holes) (I did build one on a 9x10 holes but you dont want to torture yourself)
9V battery clip
14 pin IC foot
small bridge rectifier
switch 1 x make
switch 1x switch
The circuit is pretty straightforward: The photo transistor/-diode picks up a pulse that gets filtered and amplified in the circuit around the BC547.
I will not go into detail in the exact signals on the various nandgates but what happens is that the first pulse of the flash opens the nandgates for about 100ms, waiting for a second puls if that comes the final nand gate becomes high, opening the Thyristor T3.
T3 can be used to directly trigger a flash, if you are sure about the polarity (most likely the center pin is the positive and should go to the anode) but one could add 4 diodes or a small bridge rectifier (make that a couple of 100 Volt unless you are sure about the voltage on the flash shoe) to make the polarity unimportant.
If you are using a photodiode make sure the kathode is connected to the '+' and the anode is connected to the junction of R1 and C6, as is shown in the second figure.
If you are pretty sure about what the + and the - of your sync jack are, then you can leave out the bridge diodes as in figure 3
If you want to feed the circuit from your flash rather than from a battery, figure 4 is for you. Realise though that not all flashes will work with that so if you are building it, I suggest you wait with soldering the 4M7 in place and test the circuit first with a battery, so if things dont work you will know it is the circuit and not your flash having a bad reaction.
Step 1: Slaveflash for Automatic Camera's With Pre Flash: Construction
My way of constructing it was to solder a 14 pin IC holder on the perfboard and first start connecting the pins of the various nand gates: so i put a blob of solder between pin 1 and 2 and between 8 and 9. Then I took a bit of wire and connected 5 with one and 2. Then I took the components and found them a place as close as possible to the connections that needed to be made and used wires at the underside of the perfboard to connect everything. That seems daunting, but in fact it proved quite easy, just make sure that you cross out the connections you made with a felt pen on a print of the circuit and you'll be fine.
You could add the switch to switch off the supply voltage, but I did not bother, i just unhook the battery. You could also use a switch as indicated to switch between preflash ignore and no preflash ignore but I did not bother with that either.
It is possible to omit the 9Volt battery and to feed the circuit from the sync jack (via a resistor a diode and a zener) but I would not bother. I tried it and it works for some flashes but not for others: apparently the load on the sync jack can influence the recycling time.
PCB: it is of course very well possible to build this on a PCB and you might be able to make it pretty small if you use smd components.
I have added a fritzing file to print the PCB. Realize though that I have not build it on this print, I uesed the perfboard as seen above. I have added the PCB design for your convenience and I double checked it, but I have not tested it (yet)
I put my finished circuit in a small translucent plastic box, the kind that is used to pack bolts, nuts and screws (I use a lot of these boxes in my projects). They are quite handy, they are basically free as I already bought the bolts and it is a kind of recycling by keeping them out of the waste circuit. The box is translucent enough to still let the phototransistor/-diode pick up the flash
Step 2: Slave Flash: Testing
Whip out your camera aim it at the unit + the flash and take a picture.
If you see the slaveflash flash: great. Now make sure the timing is good. The easiest way is to look at the picture you just took: do you see the slave flash actually lit up in your picture?
Rats, it does not work
Don't panic, everything can be solved by thinking, trying and eliminating.
First check the most obvious:
is your camera actually giving of 2 flashes?
is your battery OK?
is your flash charged and working?
there basically could be 4 places where things go wrong:
The pick up circuit around the transistor
The timing circuit around the gates
The wiring to your flash.
If your circuit is not working at all, do the following:
Just check your circuit: no shorts? no forgotten wires or bridges? Sure all the wires are connected to where they should be connected?
If that is the case go on as follows:
Remove the CD4011 from its foot (you did use one right?)
short the anode and the cathode of your Thyristor. Do you get a flash? yes, then your flash is hooked up right.
Connect the battery, make sure the flash is connected and charged. Take a resistor of 10 k and make a brief connection with that resistor between the + and the gate of the thyristor. Do you get a flash? Ok then the fault is before the Thyristor, if not then recheck if you connected it right and if necessary replace the thyristor. Also newly store bought thyristors can be faulty.
If it did flash, then take a wire and make a connection between the '+' and pin 4 of the IC foot. Does it flash. Ok, you have narrowed it down, if it did not flash, the fault must be around the gate resistor. Check if it is hooked up right? did you connect it to the right pin? If in doubt redo the test but now hold the wire between + and the 'gate'side of the resistor.
If you did get a flash, then connect a wire between pin 1 and pin 4 of the ic foot. Connect your battery and let your camera flash again. do you see the slave flash go off? Great, then it must be around the CD4011. recheck all its connections and solder joints and if necessaryreplace the chip.
If you did not get a flash: then it must be in the circuit around the transistor, recehck all of its connections, did you connect the photdiode as it should be? Yes!! the kathode should be at the +Vcc.
OK it flashes, but it does not ignore my preflash
Are you sure your camera gives off only 1 pre-flash? Watch the light when you flash yr camera (dont look immediately in the flash): sometimes you can see if it is one flash or two or three.
make sure your camera is not on RED-EYE correction,
If that is all OK, then the fault must be an impoper connection between the nand gates. Perrhaps 2 inputs got connected where the should not be. carefully check all your connections.