Nikon D50 intervalometer

Hello,

i'm testing Nikon intervalometer but have little problems.
I'm using sketch from this site: Sensor tutorials - IR remote receiver/decoder tutorial
Arduino can trigger my Nikon D50, but not every time. For 10 fotos it makes only 6 or 8. When I connect LED I can see it blink, so Arduino sends impulses.
Camera works fine with ML-L3 Nikon remote control. I also tried different IR leds and different pins, different delays, but with no success.
I don't know what's the problem, so I hope someone can help me to find the solution.

Thanks.

What is the time between shots?
Is your memory fast enough to write the shots taken?

I tried times from 10 seconds to ten minutes, so I think camera memory is not the problem.

Can you trigger the same number of shots in the same interval using the remote from Nikon?

Yes, Nikon remote works fine.

Do you have an oscilloscope?

No, but I tested my remote signal with arduino and IR sensor via serial monitor and it looks like this one in sketch, there are no big differences. I tried also to send IR pulses more times with 50 microseconds delay, but it didn't help either.

rednaskellar:
No, but I tested my remote signal with arduino and IR sensor via serial monitor and it looks like this one in sketch, there are no big differences. I tried also to send IR pulses more times with 50 microseconds delay, but it didn't help either.

Hello,

Do you have a solution to your problem? I have the same problem with a Pentax K-x and an AVR-Butterfly.

Greets,
Martin

Have you tried Ken Shirriff's fantastic IR library? A Multi-Protocol Infrared Remote Library for the Arduino
I used it before when writing the code for a sensor and remote camera trigger GitHub - nullboundary/Triggertrap: Triggertrap is an universal camera trigger..

If you use his library you can just call the sendRaw() function and input an array of timings. Here is the Nikon code I used in the TriggerTrap

unsigned int MLL3Buffer[] = {2000,27830,390,1580,410,3580,400}; //shutter from: http://www.bigmike.it/ircontrol/
		for (int i = 0; i < 2; ++i) { //send twice
			irsend.sendRaw(MLL3Buffer,7,38); //ML-L3 (Nikon), suppose to be 38.4khz
			delay(63);
		}

If you look in this file, you can find other IR codes used for Pentax or other cameras, around line 700: