Account
Projects Forums Code & Files Design Sketches Photos Videos Chat Sites People Sounds  
 
  •  
 
 
Articles
02.02.2010

This is what I have done so far on my first Arduino NG app that I named:

The Canon EOS Timelapse remote control

It uses an arduino board (of course) a parallax serial lcd, a 4N28 optocoupler and a Canon EOS 350D camera.

It is in working condition but needs tweaking and later on I’ll add a programing part to set the photo interval.

Tutorial for building one will be my next post about this project.

Canon EOS Timelapse Remote

The picture was taken with the camera controlled by the board on the picture.

This is how i connected it all togehter.

Arduino To Canon EOS
I don’t have a specific reason for using DigitalPin10 I just did. And I also have a LED connected at DigitalPin13 mostly for checking functionality.

// * Canon EOS Timelapse Remote Control
// * LCD Parallax 2 Row x 16 Characters
// * Copyleft 2006 Andreas Johansson

// Variable declaration

// LED
int ledPin = 13; // LED connected to digital pin 13
int optoPin = 10;

// Set countdown variables
int hour = 0;
int min = 0;
int sec = 0;

// LCD

// clear the LCD
void clearLCD(){
Serial.print(12, BYTE);
delay(50);
}

// start a new line
void newLine() {
Serial.print(10, BYTE);
}

// End variable declaration

void setup()
{
beginSerial(2400);

// Turn the display ON, with cursor off and no blink
Serial.print(22, BYTE);

// Turn the display ON, with cursor off and character blink
// Serial.print(23, BYTE);

// Turn the display ON, with cursor on and no blink (Default)
// Serial.print(24, BYTE);

// Turn the display ON, with cursor on and character blink
// Serial.print(25, BYTE);

// Print startup text
clearLCD();
Serial.print(”Canon EOS Remote”);
Serial.print(”Andreas 2006″);
delay(1000);
clearLCD();

// Led
pinMode(ledPin, OUTPUT); // sets the digital pin as output

// Opto
pinMode(optoPin, OUTPUT); // sets the digital pin as output

// End void setup
}

// Void loop

void loop()
{

Start:
// Start counters
hour = 0;
min = 0;
sec = 5;

Seconds:
if (hour == 0 && min == 0 && sec == 0)
{
goto TakePic;
}
if (sec > 0)
{
Serial.print(”RUNNING “);
if (hour <=9){
Serial.print("0");
}
Serial.print(hour);
Serial.print(":");
if (min <=9){
Serial.print("0");
}
Serial.print(min);
Serial.print(":");
if (sec <=9){
Serial.print("0");
}
Serial.print(sec);
delay(1000);
newLine();
sec--;
goto Seconds;
}

if (min !=0)
{
sec = 59;
}

Minutes:
if (min >= 0)
{
min–;
goto Seconds;
}
if (hour !=0)
{
min = 59;
}

Hours:
if (hour >= 0)
{
hour–;
goto Seconds;
}

TakePic:
Serial.print(”PICTURE 00:00:00″);
digitalWrite(ledPin, HIGH); // sets the LED on
digitalWrite(optoPin, HIGH); // sets the OPTO on
delay(300);
digitalWrite(optoPin, LOW); // sets the OPTP to off
delay(700);
digitalWrite(ledPin, LOW); // sets the LED off
newLine();
goto Start;

// End void loop
}

 

Via: http://wordpress.bolanski.com/?p=9

 
Comments
Order by: 
Per page: 
 
  •  jackpercy wrote 105 Days Ago (neutral) 
     
    0
    October 13, 5:30 p.m. or so, in foshan, Canada Goose sale guangdong HuangQi traffic accident happened, a van to hit a 2 years after the girls, make a bit, but did not hesitate to get off, but to start saving once again from the girl who run over, and then have a car run again. In a few minutes after, 18 people who pass through the scene, but no one reaches or call the police, until 19 th also is a SheHuang aunt found only after the lift. According to the latest report, girls Canada goose parka sale has been brain death, life could happen at any time, even dangerous estimated future brain-damaged states can't recover. http://www.canadagoosejacket2011sale.com/
     
       
     
     
    -1 point
     
  •  asicsning wrote 176 Days Ago (neutral) 
     
    0
    http://www.toryburchusashoes.com/
     
       
     
     
    0 points
     
Actions
Rating
1 votes
Copyright © 2012 Arduino User Community -
Not affiliated with or endorsed by Arduino (Arduino.cc)