Show Posts
Pages: 1 ... 34 35 [36] 37 38 39
526  Using Arduino / General Electronics / Best Arduino book? on: December 08, 2011, 07:13:28 am
Hi all, I'm looking to get a book to learn some more of the arduio. I have seen the make magazine one and also the evil genius one.

Which would you recommend and are there any others?

Thanks
527  Using Arduino / Project Guidance / Re: Canon DSLR time lapse controller with adjustable delay on LCD on: October 28, 2011, 08:27:09 am
I have had a look through all the camera axe stuff, but unfortunately its a bit to in depth for me and I struggle to follow most of the code  smiley-slim
I'm sure the outcome that I want will have a fairlys simple solution but I'm really struggling  smiley-eek
528  Using Arduino / Project Guidance / Re: Canon DSLR time lapse controller with adjustable delay on LCD on: October 28, 2011, 07:05:54 am
Can anyone offer some advice on the programming side for my project?

Many thanks
529  Using Arduino / Project Guidance / Re: Canon DSLR time lapse controller with adjustable delay on LCD on: October 27, 2011, 08:29:26 am
I have seen some examples using IR control they look pretty cool! Mine will be good enough with a cable control though as the rx end will be mounted on the tripod smiley

I have just found the following example, using a 10k pot as the analogue input. I guess it would be possible to display the time on an LCD with some tweaking? I have set up LCD's before but I'm not sure how I could adapt this code yet. Also I would be nicer if select the time with buttons instead of a pot for more precise increments  smiley-roll-blue

Code:
/*
DSLR Intervalometer
 */

//setup variables
int sensorPin = A0;
int sensorValue = 0;
int lapsePeriod = 0;
int x = 0;

void setup() {
  pinMode(2, OUTPUT);
  pinMode(3, OUTPUT);
  pinMode(7, OUTPUT);
  pinMode(8, OUTPUT);
 
 
    //determines how many seconds it should wait between pictures.
    sensorValue = analogRead(sensorPin);
    if (sensorValue >= 20) {
      lapsePeriod = 10 + (sensorValue / 20);
    }
    else {
       lapsePeriod = 10;
    }


  //blink 3 times to indicate it has started
  digitalWrite(7, HIGH);
  delay(250);
  digitalWrite(7, LOW);
  delay(250);
  digitalWrite(7, HIGH);
  delay(250);
  digitalWrite(7, LOW);
  delay(250);
  digitalWrite(7, HIGH);
  delay(250);
  digitalWrite(7, LOW);
  delay(250);
}


void loop() {
 
  //waits however many seconds you have chosen
  while (x < lapsePeriod) {
    delay(1000);
    x++;
  }
  x = 0;
 
  //focus and blink focus LED for one second
  digitalWrite(3, HIGH);
  digitalWrite(8, HIGH);
  delay(1000);
  digitalWrite(3, LOW);
  digitalWrite(8, LOW);
  delay(100);
 
  //shoot and blink shoot LED for one second
  digitalWrite(2, HIGH);
  digitalWrite(7, HIGH);
  delay(1000);
  digitalWrite(2, LOW);
  digitalWrite(7, LOW);

}
530  Using Arduino / Project Guidance / Re: Canon DSLR time lapse controller with adjustable delay on LCD on: October 27, 2011, 07:07:35 am
Hi GregN  smiley

Thanks for the link, I will take a read through when I have some spare time smiley

How did you get on with your project in the end?

Here is the PCB I'm working on at the moment, the camera will be controlled via a simple Opto-coupler (only shutter control). The Big IC is a RF600D decoder IC because it will be wireless, the arduino will sit at the tx end.

531  Using Arduino / Project Guidance / Re: Canon DSLR Time Lapse Controller on: October 27, 2011, 06:02:07 am
Thanks for the link Bperrybap, looks like a vast improvement on the standard firmware! Unfortuniately though I have a EOS 400 so it won't work for me.

Can anyone point me in the direction of some help with implementing selectable variables on a screen?

Thanks all  smiley-eek
532  Using Arduino / Project Guidance / Re: Canon DSLR Time Lapse Controller on: October 26, 2011, 08:17:02 pm
Honest, as in, 'honest' and lol as in 'laugh out loud'   smiley-grin
533  Using Arduino / Project Guidance / Re: Canon DSLR Time Lapse Controller on: October 26, 2011, 05:58:54 pm
I have had a brief look around but I'm pretty new to the arduino environment, and programming itself to be honest lol. Maybe I haven't looked had enough, I will try again.

a rotary encoder sounds like it could work quite nicely for the application - how do they work is it a pot with notches or something?

the camera axe looks amazing, thanks for that link. The product and the software look very complicated though! I think my requirements could be met with a far more simple solution though  smiley-confuse
534  Using Arduino / Project Guidance / Re: Canon DSLR Time Lapse Controller on: October 26, 2011, 11:46:05 am
I have seen a Arduino project in which the operator could select the required time frame via buttons, with visual feedback on a LCD display. How is this done?

Thanks for the help
535  Using Arduino / Project Guidance / Re: Canon DSLR Time Lapse Controller on: October 26, 2011, 11:39:18 am
Hi Awol.

So how would one be able to adjust that variable without having to re-compile the code?
536  Using Arduino / Project Guidance / Canon DSLR time lapse controller with adjustable delay on LCD on: October 26, 2011, 11:17:31 am
Hi all. I want to make a controller for my Canon camera. The hardware side should be fairly straight forward, I'm going to use a couple of opto-couplers for the camera control.

The bit which is baffling me is that I want to be able to set the interval time without having to edit the code. I have found the following code to use as a base starting point, but I really would like to be able to set the interval via buttons and an LCD display? I can hook up the LCD but I'm really at a loss as to how I can have the interval time as a variable?

Any help would be excellent  smiley-mr-green

Code:
/*
 * TimeLapseController
 *
 * Create amazing time-lapse movie sequences using an Arduino and a
 * digital camera.
 *
 * Copyright 2009 Jonathan Oxer <jon@oxer.com.au>
 *
 * http://www.practicalarduino.com/projects/easy/time-lapse-controller
 */

int frameInterval = 300;          // Delay between pictures (in seconds)
int focusPin = 5;                 // Reed relay on digital pin 5
int shutterPin = 6;               // Reed relay on digital pin 6
int ledPin = 13;                  // LED connected to digital pin 13

void setup()
{

  pinMode(focusPin, OUTPUT);      // Set the focus pin as an output
  digitalWrite(focusPin, LOW);
  pinMode(shutterPin, OUTPUT);    // Set the shutter pin as an output
  digitalWrite(shutterPin, LOW);
  pinMode(ledPin, OUTPUT);        // Set the LED pin as an output
  digitalWrite(ledPin, LOW);
}

void loop()
{
  digitalWrite(ledPin, HIGH);     // Turn on activity LED
  digitalWrite(focusPin, HIGH);   // Turn on focus relay
  digitalWrite(shutterPin, HIGH); // Turn on shutter relay
  delay(500);                     // Hold the button for 1/2 second
  digitalWrite(ledPin, LOW);      // Turn off activity LED
  digitalWrite(shutterPin, LOW);  // Turn off shutter relay
  digitalWrite(focusPin, LOW);    // Turn off focus relay
  delay(1000 * frameInterval);    // Wait the required interval before repeating
}
537  Using Arduino / Displays / Re: LCD does not work unless Arduino is reset. on: September 27, 2011, 07:05:46 am
I have been following this topic as I had the same type of error. I finally noticed that the two control signals were swapped. (pins 12 and 11). After fixing that I removed all the delays and the many displays that I tested all worked just fine with the LiquidCrystal440 without the R/W signal.

Thanks, I think I will give that a ago later smiley

I'm sure its something silly that I'm doing to be experiencing it on 3 different types of display
538  Using Arduino / Displays / Re: LCD does not work unless Arduino is reset. on: September 20, 2011, 11:19:17 am
so if if you power up the arduino and the screens at the same time the screen always initialized fine? Really wish I could work out what I'm doing wrong smiley-sad
539  Using Arduino / Displays / Re: LCD does not work unless Arduino is reset. on: September 19, 2011, 05:43:42 am
Thanks for looking into it! Did you see any start up issues at all similar to the ones that I am regularly seeing?
540  Using Arduino / Displays / Re: LCD does not work unless Arduino is reset. on: September 13, 2011, 01:49:37 pm
Hi all, I have tried the liquidcrystal440 lib to no avail sadly smiley-sad

JRaines is currently looking at two of the screens for me too see if he can work out anything I'm missing
Pages: 1 ... 34 35 [36] 37 38 39