Collaborated w/ Ziv, Alex, Jorge, and Kristina.
Long long time ago(Oct, 2013), Ziv came out of an idea for the photo booth of ITP Halloween party–> Photoboo, which is using strong light to frighten whoever walk in and taking pictures of them. Big success.
I was responsible for the light part and came out of an idea that just using the external flashlight kit of Canon 5D. With this reference, flashlight worked like a charm with a simple button(P.s. We used transistor instead of optoisolator).
Connected to the complicated Max/MSP patch Alex made, the flashlight triggered once infrared sensor detecting people approaching.
Here’s the simple circuit.
And here’s the code for Arduino.
#define CAMERA_FLASH_PIN 8 #define BUTTOM_PIN 2 void setup() { pinMode(BUTTOM_PIN, INPUT); pinMode(CAMERA_FLASH_PIN, OUTPUT); digitalWrite(CAMERA_FLASH_PIN, LOW); Serial.begin(9600); // open serial Serial.println("Press the button to trigger the flash"); } void loop() { if (digitalRead(BUTTOM_PIN) == HIGH) { digitalWrite(CAMERA_FLASH_PIN, HIGH); delay(100); digitalWrite(CAMERA_FLASH_PIN, LOW); } else { digitalWrite(CAMERA_FLASH_PIN, LOW); Serial.println("Press the button to trigger the flash"); } }
And…. I also designed some frames for the Photoboo!
Happy time 😀