Need program for inductive proximity sensor used to trigger nikon camera-URGENT

i need having uno R3 arduino board. I have planned to use inductive type proximity sensor to trigger nikon D5100 dslr camera through ir sensor. when ever metal comes in contact with sensor it should trigger the camera. (*This is a part of academic project used in high speed photography inside the engine, i m a newbie to arduino progrramming-please help me out, and i need the program in urgent_). :cold_sweat:

I guess you don't need the program at the moment but you have to build the hardware first (at least your post didn't give me the impression that you already have it). We might even give you hints of what hardware might be reasonable for this but you have to provide much more information for that. Don't expect us to do the work for you, we're just helping if you get stuck.

(deleted)