|
Osram SFH409 IR Diode |
CHF 0.75 |
|
× |
1 |
|
|
Battery holder CR1220 |
CHF 0.65 |
|
× |
1 |
|
|
Coin Cell Battery CR1220 3V |
|
|
× |
1 |
|
|
|
× |
1 |
|
|
|
× |
1 |
|
|
Micro Slide Switch SK12D07 |
CHF 0.28 |
|
× |
1 |
|
Hand tools and fabrication machines: |
 |
|
|
|
 |
|
|
|
Story

Introduction
Canon SLR cameras have two ways of remote triggering: Either via wire, or via infrared.
A wire based remote trigger is very easy to build, you simply need a cable with a 2.5″ jack connector and shortcut two of the three contacts. More details on blog.dbrgn.ch.
The other method – triggering via infrared – is a bit more challenging. There are a lot of cheap remote controls from China for around 10$, but building your own remote is muc more interesting…
First you need to find out how the protocol for the IR control works. Fortunately there’s a post on doc-diy.net that describes the RC-1 protocol in detail. Summary: Send two bursts of 16 pulses each and get the timing right.
Casing
The casing was created using OpenSCAD and can be printed on a 3D printer. It is based on a Design by Ted Lin. The sourcecode for the case is on Github and Thingiverse.
Software
The Atmel C code for the ATtiny is quite simple. In the main function first the I/O is initialized:
DDRB = _BV | _BV | _BV;
PORTB = _BV;
Then unnecessary features of the microcontroller are disabled to save energy.
For more detail: DIY Canon IR Remote