|
KiCADKicad
|
|
|
Visual StudioMicrosoft
|
|
|
Visual Micro |
Focus Stacking Circuit For Macro Photography
This circuit is mainly designed to serve as a tool for shooting pictures for focus stacking macro photography. But it is actually a simple stepper motor driver panel which can be used for other purposes where we want to program the movement of a stepper motor.
Focus stacking is a nice technique to increase the depth of field of a -typically macro, but it can also be a landscape- photo. One takes several images focused on a different spot of the field of interest and then combines the "sharp parts" of the images with a dedicated software (e.g. Adobe Photoshop). This will create an image where every single pixel is in focus.
The working principle of this circuit is that one can program the necessary parameters, and then the circuit will drive a stepper motor (linear actuator) and trigger the shutter of a camera (it is tested for Sony A6000). Since this specific application focuses on macro photography, we can decide whether we put the camera on the linear actuator, or the object (e.g. a bug) itself. Then, by moving the linear actuator and taking pictures we get the pictures for the focus stacking. Finally, we just need a software to compile the set of images into one single picture.
The code I developed works in the following way:
- Upon startup, the user can do a homing or can skip it
- The user has to enter the chosen aperture (f-number, written on the lens)
- The user has to enter the chosen magnification (can be read from the lens if it is a macro lens, or can be calculated)
- The code calculates the depth of field (DOF) and suggests a step size (DOF/2) for the stacking
- The user can optionally override the suggested step size with a unique value
- The user has to move the carriage to the desired finish point, the point where the last picture is taken for the stack
- The user has to move the carriage to the starting point. The carriage will move from this point back to the finish point. This point is where the stacking starts
- The user has to start the stacking (GO!)
Once the parameters are set, the code automatically recalculates the necessary parameters. For example, if you change the f-number, the DOF and step size are automatically recalculated. If you change the starting point or finishing point, the travel distance and the number of steps are automatically recalculated.
After the stacking is initiated, the progress can be followed on the display. After a picture is taken, the progress is updated on the display. As the code proceeds further, more and more pictures will be taken and at the end, the number in the "progress" box will be equal to the number in the "number of steps" box.
Focus Stacking Circuit For Macro Photography
*PCBWay community is a sharing platform. We are not responsible for any design issues and parameter issues (board thickness, surface finish, etc.) you choose.
- Comments(0)
- Likes(8)
- Engineer Sep 28,2024
- Jaime Ortiz May 10,2024
- Engineer May 08,2024
- Scott Heimendinger Mar 10,2024
- Prasanna K Oct 08,2023
- Engineer Aug 12,2023
- Engineer May 31,2023
- Mariusz Gasik Apr 02,2023
- 1 USER VOTES
- YOUR VOTE 0.00 0.00
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
-
9design
-
9usability
-
9creativity
-
9content
More by Curious Scientist
- USB PD Breadboard Power Supply In this article, I show you my new creation. It is a USB PD decoy-based breadboard power supply. All...
- ADS1256 - RP2040 Custom DAQ Front Panel with GPIO This is just a simple PCB panel that belongs to my other project which is a high-performance DAQ.A r...
- ADS1256 - RP2040 Custom DAQ Front Panel without GPIO This is just a simple PCB panel that belongs to my other project which is a high-performance DAQ.A r...
- 10th Anniversary Badge I designed this small badge for PCBWay's 10th anniversary.I tried to make a deeper meaning to the bo...
- ADS1256 - Atmega32u4 Custom DAQ board IntroductionIn this project, I show you two things. One is a new version (v1.2) of my custom DAQ bas...
- Debounced rotary encoder module In this project, I show you my approach to making a rotary encoder module.One can buy different rota...
- Custom ADS1256 board with ATmega32U4 I created my own ADS1256 PCB after working with this AD converter for several years. I wanted to bui...
- 2-channel breadboard voltmeter The project originally stems from my CH32 tutorial series. I started working with this chip not so l...
- ADS1256 - RP2040 Custom DAQ Rear Panel This is just a simple PCB panel that belongs to my other project which is a high-performance DAQ.A r...
- ADS1256 - RP2040 Custom DAQ with GPIOs This is my (hopefully) last iteration of the ADS1256-based DAQ board. I replaced the ATmega32U4 micr...
- High-performance 3-axis stepper motor control panel In this project, I show you my new development which is a high-performance 3-axis stepper motor cont...
- STM32F070F6P6 miniature USB microcontroller board A small but powerful Arduino-compatible STM32 board.I designed this board because I was curious if i...
- Stepper motor developing platform IntroductionIn this project, I show you my newest device which is a stepper motor developing platfor...
- Custom-made self-contained DC power meter This project realizes a tiny "self-sufficient" power meter that can be inserted into any DC power li...
- 10-channel NTC thermistor-based temperature logger This project is designed to be a 10-channel temperature logger based on 10k NTC thermistors.I design...
- Educational board for strain gauges, Wheatstone bridges and op-amps I show you a little device that I built so I can explain more things related to strain gauges, Wheat...
- Focus Stacking Mechanism In my previous project, I shared the PCB for this mechanism. In this project, I share the parts of t...
- Focus Stacking Circuit For Macro Photography This circuit is mainly designed to serve as a tool for shooting pictures for focus stacking macro ph...
-
-
kmMiniSchield MIDI I/O - IN/OUT/THROUGH MIDI extension for kmMidiMini
74 0 0 -
DIY Laser Power Meter with Arduino
87 0 2 -
-
-
Box & Bolt, 3D Printed Cardboard Crafting Tools
121 0 2 -
-
A DIY Soldering Station Perfect for Learning (Floppy Soldering Station 3.0)
418 0 1 -
Custom Mechanic Keyboard - STM32
244 0 3