Focus Stacking with a Raspberry Pi – Design Refinements
The parts for making the lighting control box arrived and I was spurred into action before Christmas to modify the rig to accommodate the revised lighting controls and to build the light control box itself. In the end it took a whole day as I decided to take the opportunity to remove some redundant wiring and to reallocate the push buttons on the sledge mounted control box. I also updated the wiring diagrams to keep track of what I had done.
So now I have a lighting control box that sits behind and below the camera; there is also a momentary switch to operate the camera shutter so that I can make a blank exposure between stacks very easily.
The remote camera shutter is now a remote stop button for the stage which makes it much easier to control the set up of near and far focus points, eyes on the camera and remote in hand.
The lights are plug and socket connected to the sledge as is the control box, for easy dismantling and storage. When I need to work on the main module I can quickly disconnect it from everything, and there are no trailing wires getting in the way.
The redundant 6v lights switch on the sledge mounted control box has been replaced by a push button to operate the camera shutter – mainly to put something useful there instead of having a hole!
The light diffusion box has also been modified to enable the top and back to be taken off leaving the front and the camera/lens set-up undisturbed. This makes it much easier to tweak the specimen during set up and after successive stacks.
I am still not totally satisfied with the light diffusion box and may make yet another one, even bigger. I am finding it fiddly to get at the lab jack even with the removable top and back, and the lights would ideally be sited a bit further away from the subject to allow for more diffusion and baffling.
I have forgotten to manually enter the time and date on at least one occasion, and have given up on the software solution to updating Pi time as too difficult, and so I recently obtained an Adafruit real time battery operated clock module (RTC). It is very compact and is supplied with its battery. It sits neatly in the junction box under the rack where the two wires that need to connect it to the Pi are already present and unused having been taped back originally at the time of build “for a rainy day” – there was a stroke of good luck! It also needs Pi 5v and GRND which were both there too. The assembly and installation was easy. Modifying the config files on the Pi was not difficult. Installing the drivers for the RTC was impossible………. why, because……..you need the Pi to be connected to the internet. If it was connected to the internet I wouldn’t need the RTC, would I? The driver goes by the name of i2c and enables one chip to talk to another. There is, apparently, no reliable way to download the correct version of i2c (there are many and various!) and install it without being connected to the internet, which is a bit daft. There are plenty of people wanting to do this judging by the forum talk on the web, but the experts issue dire warnings of workarounds messing up your PI configuration big time. Later versions of Debian whatever, have the drivers in the supplied library. But not mine. Back to square one for the time being.