I am seeking guidance on a remote iPhone camera shutter triggered by lightning. It is based on the project described here.
Everything works. But since I am new to transistors (and catching lightnings on camera) I would appreciate some guidance if anything else is needed (flyback diode? base resistor? optocoupler?) before I commit to pcb.
In a nutshell
Lightning HF signal is picked up by wire antenna, pulled down by 3.3 MΩ resistor and centered by a 20 kΩ voltage divider. The variable resistor lets me adjust the output signal somewhat which goes to pin A0.
When A0 input exceeds a hard coded threshold (500), digital pins go high for 50 ms to close the transistor and blink the LED.
The transistor needs to briefly short two leads coming from a hacked earpod remote, simulating a volume up (or down) press on the remote.
The physical switch lets me adjust the sensitivity without triggering the shutter.
Here is a schematic:
(The reason I use a TIP120 is because that is what I had.)
I realize lightning is potentially hazardous to Arduinos, iPhones and human beings. Aside from that, is there anything I should fix?
Thank you most kindly for your guidance.