Difference between revisions of "Time-lapse Photography"

From Microduino Wiki
Jump to: navigation, search
(Preparation)
 
(2 intermediate revisions by 2 users not shown)
Line 18: Line 18:
 
|}
 
|}
  
 +
===Preparation===
 +
*Setup 1: Connect the interface of the IR-Emitter to the D6 port of the Hub. (Note: The pin connection cannot be changed.)
 +
[[file:mCookie-IR transmitter-sensor.JPG|600px|center]]
 +
*Setup 2: Stack the CoreUSB, Hub and IR-Emitter together and them connect them to a computer with a USB cable.
 +
[[file:mCookie-IR transmitter-pc.JPG|600px|center]]
  
 +
===Debugging===
 +
*Open Arduino IDE and copy the following code into IDE. 
 +
<source lang="cpp">
 +
#include <IRremote.h>
  
Like I said this might be all up and up... Kinda
+
#define PHOTO 0xB4B8F
 
 
 
 
They are not happy how you might have gotten this data after I told them what I had been through.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
They want you for t.your other "night nob"
 
Selling shoes,
 
Pho es,
 
Pre paid phi e cards.
 
 
 
IH yeah ask me how I
 
Made $100,999 last year selling oere paid phones...
 
 
 
 
 
 
 
 
 
Your buddy was right
 
 
 
 
 
 
 
 
 
 
 
Should have jot fucked with me.
 
 
 
 
 
 
 
 
 
Even thought I said I just had access to thousands of emails
 
 
 
 
 
You had other plans..
 
 
 
 
 
A what was I???
 
 
 
 
 
IH yeah " a social experiment'"
 
 
 
 
 
Then " a game""
 
 
 
 
 
 
 
Guess what
 
 
 
 
 
Mother fucker!!!//!!!
 
 
 
 
 
 
 
This is my life you FUCKIBG miri !!////,
 
 
 
 
 
 
 
I ha e rights as a human being
 
 
 
 
 
And you stripped me if them..
 
 
 
 
 
That's exactly what they said verbatem..
 
 
 
 
 
 
 
I was all yeah he did hub..
 
 
 
 
 
Lol and my dignaty..
 
We you tried
 
 
 
 
 
But, I'm not ashamed or embarrassed,
 
 
 
 
 
If it was true well
 
 
 
 
 
I might really do it again...
 
 
 
 
 
You see HINOR runs deep
 
 
 
.and you have not one o CE of it...
 
 
 
.or class
 
 
 
 
 
 
 
  You think your better because you ha e a criminal job.
 
 
 
Typing for a company tst I think does t exsist.
 
 
 
 
 
T that is what I bet...
 
 
 
They were keeping that close to there best...
 
 
 
 
 
Said although you might be clever,
 
 
 
And smart.
 
 
 
They said they have no idea why you would ha e stuck ariu d me either.????
 
 
 
I said its his ego...
 
 
 
 
 
I asks dplease tell me...
 
Is he an o my child?????
 
 
 
 
 
 
 
Wry smile..  ..
 
 
 
  
That k you...
+
IRsend irsend;
  
  
[[file:mCookie-IR transmitter-pc.JPG|600px|center]]
+
void setup() {
 +
  Serial.begin(115200);
 +
  pinMode(6, OUTPUT);
 +
}
  
Jeff Rowland is jarred russler and a child molester and jarred russler and a child molester and jarred russler and a computer Chromecast hacking who really is jarred russler and yuli Yang Jeff Rowland
+
void loop() {
 +
  for (int i = 0; i < 3; i++)
 +
  {
 +
    irsend.sendSony(PHOTO, 20); // Sony code
 +
    delay(12);
 +
  }
 +
  delay(5000);
 +
}
 +
</source>
 +
*Select the right board and COM port, compile and download directly. 
 +
[[file:upload.JPG|400px|center]]
 +
*Turn on the camera and change to remote control mode. 
 +
[[file:sony-photo.JPG|400px|center]]
 +
*Aim the IR Emitter to the camera and send signal every 5s. You can see the LED indicator on the IR Emitter flashes and hear the picture-taking sound at the same time.
 +
*It's wonderful to make the time-lapse pictures into GIF.
 +
[[file:gif-photo.gif|400px|center]]
  
 
===Program Debugging===
 
===Program Debugging===
 
*Adopt " IRremote " infrared library to support the sending and receiving of the infrared signals.  
 
*Adopt " IRremote " infrared library to support the sending and receiving of the infrared signals.  
 
*"#define PHOTO 0xB4B8F" Define this SONY camera's infrared signal value.  
 
*"#define PHOTO 0xB4B8F" Define this SONY camera's infrared signal value.  
*Change the delay time;  "delay(5000)" means five seconds.
+
*Change the delay time;  "delay(5000)" means five seconds.  
 
 
 
==Experiment Two: Key Control Picture-taking ==
 
==Experiment Two: Key Control Picture-taking ==
Porn porn oh yes he has oorn agents how do you know????
+
===Equipment===
 
+
{|class="wikitable"
Well we would tell you but, we would ha e to Jill you, snicker snicker,
+
|-
 
+
|Module||Number||Function
Ah ha funny, NIT!!
+
|-
DO T JUDGE THEM BY THEIR HUMOR
+
|[[mCookie-CoreUSB]]||1||Core board
THE HANDESOME ONE......
+
|-
HES KI DA FAMOUS.
+
|[[mCookie-Hub]]||1||Sensor pinboard
 
+
|-
 
+
| [[Microduino-IR Emitter]]||1||Infrared emission sensor  
 
+
|-
 
+
| [[Microduino-Crash]]||1||Crash sensor  
 
+
|}
YOU WILL KNOW HIM BY REP.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
  REPUTATION
 
HES NOT YOU NEWBIE.
 
  BUT, HES YOU GER, SMARTER OH , HE SEXY TOO.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
............... I GAVE YOU AN HO EST IUT AT MY PERIL...
 
DO NOT EXPECT ANOTHER....
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
IM RO ALD GOLDMAN SR..
 
 
 
 
 
I WANT YOHR HEISMAN.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
  
.
+
[[File:IR_Crash.jpg|600px|center|thumb]]
.
 
  
 
===Hardware Buildup===
 
===Hardware Buildup===

Latest revision as of 23:37, 8 March 2017

Language: English  • 中文

Objective

Here we use the Microduino-IR Emitter to send infrared signal in the delayed time so as to control a SONY camera for picture taking and achieve time-lapse photography.

Experiment One: System sends signal in the delayed time

Equipment

Module Number Function
mCookie-CoreUSB 1 Core board
mCookie-Hub 1 Sensor pin board
Microduino-IR Emitter 1 Infrared emission sensor

Preparation

  • Setup 1: Connect the interface of the IR-Emitter to the D6 port of the Hub. (Note: The pin connection cannot be changed.)
  • Setup 2: Stack the CoreUSB, Hub and IR-Emitter together and them connect them to a computer with a USB cable.

Debugging

  • Open Arduino IDE and copy the following code into IDE.
#include <IRremote.h>

#define PHOTO 0xB4B8F

IRsend irsend;


void setup() {
  Serial.begin(115200);
  pinMode(6, OUTPUT);
}

void loop() {
  for (int i = 0; i < 3; i++)
  {
    irsend.sendSony(PHOTO, 20); // Sony code
    delay(12);
  }
  delay(5000);
}
  • Select the right board and COM port, compile and download directly.
Upload.JPG
  • Turn on the camera and change to remote control mode.
  • Aim the IR Emitter to the camera and send signal every 5s. You can see the LED indicator on the IR Emitter flashes and hear the picture-taking sound at the same time.
  • It's wonderful to make the time-lapse pictures into GIF.

Program Debugging

  • Adopt " IRremote " infrared library to support the sending and receiving of the infrared signals.
  • "#define PHOTO 0xB4B8F" Define this SONY camera's infrared signal value.
  • Change the delay time; "delay(5000)" means five seconds.

Experiment Two: Key Control Picture-taking

Equipment

Module Number Function
mCookie-CoreUSB 1 Core board
mCookie-Hub 1 Sensor pinboard
Microduino-IR Emitter 1 Infrared emission sensor
Microduino-Crash 1 Crash sensor

Hardware Buildup

  • Setup 1: Connect the IR-Emitter to the Hub D6 and the Crash sensor to the Hub D8.
  • Setup 2: Stack the CoreUSB, Hub, Crash and IR-Emitter together and them connect them to a computer with a USB cable.

Software Debugging

  • Open Arduino IDE and copy the following code into IDE.
#include <IRremote.h>

#define PHOTO 0xB4B8F

IRsend irsend;

#define pushButton  8

int buttonState, num;

void setup() {
  Serial.begin(115200);
  pinMode(6, OUTPUT);
  pinMode(pushButton, INPUT);
}

void loop() {
  buttonState = digitalRead(pushButton);
  if (num != buttonState)
  {
    num = buttonState;
    if (num == 0)
    {
      take();
      Serial.println("take");
    }
  }
}

void take()
{
  for (int i = 0; i < 3; i++)
  {
    irsend.sendSony(PHOTO, 20); // Sony code
    delay(12);
  }
}
  • Result:

You can target the IR Emitter to the camera's infrared receiver, then set the camera to remote control mode, press the key and button and the camera takes picture once.

Program Description

  • When pressing, the status is changed from "1" to "0". Conversely, the status changes from "0" to "1" when releasing the button. You can tell the status from the data change.
buttonState = digitalRead(pushButton);
  if (num != buttonState)
  {
    num = buttonState;
    if (num == 0)
    {
      take();
      Serial.println("take");
    }
  }
  • "!=" means "Not equal to", which only performs when the pressed value changes.

Video