A DIY intervalometer for the Sony NEX 5N camera designed for time-lapse photography. This intervalometer is compatible with most Sony cameras, including the NEX and Alpha series. The circuit utilizes an infrared LED and a Serial LCD with four outputs: GND, VCC, SDA, and SCL. The SDA (data) pin connects to Arduino Analog In 4, while the SCL (clock) pin connects to Analog In 5. The VCC pin connects to the 5V output of the Arduino, and GND connects to the GND of the Arduino. The circuit is powered by a 9V battery, with the positive terminal connected to the Vin input of the Arduino. The Arduino has a built-in 5V voltage regulator to power the Serial LCD. The anode of the infrared LED is connected through a current-limiting resistor to pin 10 of the Arduino, and the cathode is connected to GND.
The intervalometer setup involves an Arduino microcontroller interfacing with a Serial LCD and an infrared LED to control the camera shutter. The LCD is initialized with an I2C address of 0x27, supporting a 16x2 character display. The joystick module is utilized to adjust the interval between shots and to navigate the menu. The joystick's X-axis is connected to Analog 0, the Y-axis to Analog 1, and the Z-axis button to Digital 2 of the Arduino.
In the setup function, the pin modes are configured, and the LCD is initialized. The loop function continuously reads the joystick's position to determine user input. Depending on the joystick's position, the interval for capturing images can be adjusted. When the joystick button is pressed, the intervalometer enters a working mode where it captures images at the specified interval. The onboard LED provides visual feedback during operation.
The software includes functions to display the menu and the current working status on the LCD. The intervalometer can automatically turn off the LCD backlight after a specified duration of inactivity to conserve power. The code structure includes error handling for joystick inputs and ensures the interval remains within a valid range. The integration of the infrared LED allows for triggering the camera shutter remotely, making it suitable for time-lapse photography projects.A DIY intervalometer for my Sony NEX 5N camera so that I could do time-lapse photography. This intervalometer should work with most Sony cameras: NEX, Alpha and other. To work intervalometer used infrared LED Serial LCD has 4 output: GND, VCC, SDA, SCL. SDA (data) connect to Arduino Analog In 4, SCL (clock) connect to Analog In 5. Vcc connect to 5V Arduino, and GND connect to GND Arduino. Circuit is powered by 9V battery. Battery positive output connected to the input Vin Arduino. Arduino has a built-5V voltage converter that we need to power the Serial LCD. The anode of the IR LED is connected through current limiting resistor and connected to 10-pin Arduino. Cathode of the IR LED connected to GND. // Article // Version 1. 0 #include "Wire. h" #include "LiquidCrystal_I2C. h" #define axis_X 0 // axis X of Joystic connected to Analog 0 #define axis_Y 1 // axis Y of Joystic connected to Analog 1 #define axis_Z 2 // axis-button Z of Joystic connected to Digital 2 #define pinIRLED 10 // IR LED #define LEDgreen 13 // onboard LED #define autoOFF 10 // autoOFF backlight LCD LiquidCrystal_I2C lcd(0x27, 16, 2); // set the LCD address to 0x27 for a 16 chars and 2 line display int value_X, value_Y, value_Z = 0; // axis values int pos = 0; // current position (0 - delay, 1 - work) int interval = 1; // pause between shots (sec) int cntPict = 0; // shots count boolean working = false; unsigned long currentTime; unsigned long TimeShot, TimeLCDOff; void setup() { pinMode(axis_Z, INPUT); // Joystic button pinMode(pinIRLED, OUTPUT); // IR LED lcd.
init(); // init LCD lcd. backlight(); // turn LCD backlight ON lcd. clear(); // clear LCD show_menu(); // function show menu currentTime = millis(); TimeShot = currentTime; // shots timer TimeLCDOff = currentTime; // backlight timer //Serial. begin(115200); } void loop() { value_X = analogRead(axis_X); // read the analog value of the X axis value_Y = analogRead(axis_Y); // read the analog value of the Y axis value_Z = digitalRead(axis_Z); // read the digital value of the Z axis (button) value_Z = value_Z1; // invert the value if(working = false){ if(value_Y > 540){ // joystick up pos = 0; lcd.
backlight(); // LCD backlight ON TimeLCDOff = currentTime; // new value of TimeLCDOff show_menu(); } else if(value_Y < 500){ // joystick down pos = 1; lcd. backlight(); // LCD backlight ON TimeLCDOff = currentTime; // new value of TimeLCDOff show_menu(); } if(value_X > 530){ // joystick left lcd.
backlight(); // LCD backlight ON TimeLCDOff = currentTime; // new value of TimeLCDOff if(pos = 0){ -interval; if(value_X > 900) interval = interval-10; // joystick full left if(interval < 1) interval = 1; } show_menu(); } else if(value_X < 490){ // joystick right lcd. backlight(); // LCD backlight ON TimeLCDOff = currentTime; // new value of TimeLCDOff if(pos = 0) { +interval; if(value_X < 100) interval = interval+10; // joystick full right } show_menu(); } } if(value_Z = 1){ // joystick button press lcd.
backlight(); // LCD backlight ON TimeLCDOff = currentTime; if(working = true){ working = false; pos = 0; show_menu(); } if(pos = 1) show_working(); // turn on work mode } delay(200); currentTime = millis(); if(working = true){ if(currentTime >= (TimeShot + (interval*1000){ digitalWrite(LEDgreen, HIGH); // blink onboard LED delay(100); digitalWrite(LEDgreen, LOW); takePicture(); // send IR TimeShot = currentTime; +cntPict; // increase the counter shots show_working(); // refresh LCD } } if(currentTime >= (TimeLCDOff + (autoOFF*1000){ lcd. noBacklight(); // LCD backlight OFF } } void show_menu() { cntPict = 0; // zero out counter shots lcd.
This compact device serves as a replacement for the input transistors and related circuitry on a single TO-220 style package. A decision was made to substitute the original driver board with a newly fabricated printed circuit board (PCB) designed...
The Nexus 4 was chosen due to its traditionally open nature, exemplified by the availability of Ubuntu Touch images. Unexpectedly, it was discovered to be highly hackable. After packaging the Mako kernel on Mer OBS for a personal project,...
Gently bend the leads of the LEDs and, using the provided schematic circuit diagram, begin to solder. Once soldering is complete, it should...
To successfully assemble the LED circuit, it is essential to follow a systematic approach. Start by preparing...
A simple low-end audio function generator is being designed to utilize a sine wave output for testing ADC resolution and as a baseband signal for RF projects, with an emphasis on achieving very low total harmonic distortion (THD). The...
A DIY kinetic energy harvester utilizing the electromagnetic method to generate electricity. The materials that will be used are currently known.
The project involves creating a kinetic energy harvester that converts mechanical energy from motion into electrical energy through electromagnetic...
Over-Temperature Alarm Circuit Uses Common, Inexpensive Components | Negative-temperature-coefficient (NTC) thermistor, ICs.
The Over-Temperature Alarm Circuit is designed to detect excessive temperatures and provide an alert using readily available and cost-effective components. The core sensing element of this circuit is...
We use cookies to enhance your experience, analyze traffic, and serve personalized ads.
By clicking "Accept", you agree to our use of cookies.
Learn more