Step 3The program
The following signal has been measured from an original Nikon ML-L3 remote:
2.0ms on
27.8ms off
0.5ms on
1.5ms off
0.5ms on
3.5ms off
0.5 ms on
repeated once more after a 63.0 ms pause
I got these values form www.alanmacek.com/nikon/
Using roughly these times I wrote a code that modulates the output at pin 5 of the PIC and drives the LED via a transistor. The supplied assembly code is meant to work with the 4MHz internal oscillator and must be modified for any other clock frequencies. The hex file is guaranteed to work only on a 12F509 chip.
This is not the place to go over programming a microcontroller and there are plenty of instructables out there for that. Just make sure that the thing works for you before you start soldering everything together, it will be hard to fix anything after. I just built the circuit on a breadboard and switched on my sister's camera's remote shutter mode.
| « Previous Step | Download PDFView All Steps | Next Step » |
![]() |
Add Comment
|


















![DSC_0788[1].JPG](http://img.instructables.com/files/deriv/FC5/TE0X/G5W7R341/FC5TE0XG5W7R341.SQUARE.jpg)
![DSC_0789[1].JPG](http://img.instructables.com/files/deriv/F3J/4LOU/G5W7R35O/F3J4LOUG5W7R35O.SQUARE.jpg)



























