The Smell of Molten Projects in the Morning

Ed Nisley's Blog: Shop notes, electronics, firmware, machinery, 3D printing, laser cuttery, and curiosities. Contents: 100% human thinking, 0% AI slop.

Category: Photography & Images

Taking & making images.

  • Spectrometer: Quick and Dirty Camera Mount

    This is a proof-of-concept lashup for a camera-mounted spectrometer; I wanted to find out if the image processing would work, but needed some images without devoting a lot of time to the hardware.

    The general idea is that a direct-view spectrometer produces a focused-at-infinity image for your eye. Substitute a camera for your eye and you get an image with the spectral components laid out in a spatial array, suitable for measurement and calculation.

    The trick is holding the spectrometer on the lens axis while blocking ambient light. I figured that I could mount the spectrometer in a disk that fit into the camera’s 58 mm filter threads, then hold it in place for the few pix I’d need to get started.

    The end result was Good Enough for the purpose, although it’s definitely a kludge…

    Spectrometer mounted on camera
    Spectrometer mounted on camera

    The (admittedly cheap) prism-based direct-view spectrometer has a slide-to-focus mechanism that substitutes heavy grease for mechanical precision. A guide screw in a slot prevents the focusing tube from rotating in the body tube, so I decided to replace that with a locking screw to clamp the tubes together. It’s a very fine thread, undoubtedly metric, screw, but a bit of rummaging in my teeny-screw drawer turned up a match (those are mm divisions on the scale):

    Spectrometer screw vs standard thread
    Spectrometer screw vs standard thread

    I think the spectroscope makers filed down the head of an ordinary brass screw to fit the slot, rather than using an actual fillister screw. That’s a Torx T-6 head on the flat-head screw, which probably came from a scrapped hard drive. I eventually found a round-head crosspoint screw (requiring a P-1 bit) that worked better, with a brass washer underneath for neatness.

    That got me to this stage:

    Spectrometer with locking screw
    Spectrometer with locking screw

    Making the adapter disk involved, as usual, a bit of manual CNC to enlarge the center hole of a CD from 15 to 15.75 mm, then cut out a 57 mm cookie. A stack of CDs makes a perfectly good sacrificial work surface for this operation, with some fender washers clamping the pile to the tooling plate. Those homebrew clamps are smaller than the Official Sherline clamps and work better for large objects on the small table.

    Milling outside diameter
    Milling outside diameter

    I briefly considered milling a thread into the OD, but came to my senses… I still have that pile of 10-32 taps, but now is not the time!

    While in the Machine Tool Wing of the Basement Laboratory, I bored a short plastic bushing to a tight slip fit on the focusing tube to clamp the disk to the eyepiece, with the intent of keeping the eyepiece from whacking the camera lens. That’s the small white cylinder in the first picture.

    As it turned out, I had to mount the whole affair on a sunshade that screwed into the camera filter mount, because the eyepiece protruded far enough to just barely kiss the lens.

    A liberal covering of black electrical tape killed off all the stray light. Hand-holding all the pieces together and aiming it at the CFL tube over the Electronics Workbench produced this First Light image:

    First light - warm-white CFL - no adjustments
    First light – warm-white CFL – no adjustments

    Believe it or not, that’s pretty much in focus. Much of the width in the red & green lines seems to come from the phosphors, as there’s a bar-sharp narrow blue line to the far right, beyond the obvious blue line.

    Settings: manual focus at infinity, manual exposure 1/60 @ f/2.4, auto ISO = 100. Maybe 30 cm from the 27 W CFL tube: way more light than I’ll ever get through a liquid sample in a cuvette.

    Now to fiddle with ImageMagick and Gnuplot…

  • What Do Squirrels Do When It Rains?

    Rain-soaked squirrel
    Rain-soaked squirrel

    Although I’m not a big fan of tree rats squirrels, I’ll admit this one was having a tough time of it during a recent rainstorm. He (she?) sat motionless on that stub of a branch for well over half an hour, no doubt thinking gloomy thoughts.

    Taken through two layers of mid-1950s window glass, so it’s not the sharpest image in my collection, but I’m not going out in the rain just to take a picture of a squirrel!

  • Our Old Studebaker: Back in the Day

    In addition to those after-restoration images, here are some pix from an old family album that show our 1957 Studebaker President in its prime.

    I think these were taken around 1970, but I really don’t know. As with many family pix, I also have no idea why these were so important…

    The photos were in bad shape, as you can see in the lower-right image, with the magenta dye having faded very little over the decades compared to cyan and yellow; they’ve been brutally color-corrected and contrast-stretched. They were also printed on horrible satin-finish paper and that fishnet overlay is painfully obvious.

    If you need an original image for some perverse purpose, let me know…

  • Turtles on a Log

    If there’s anything to reincarnation, next time around I’m going to put in a request to be a Staff Turtle at the Vassar Farm Environmental Station.

    Vassar Farm Turtles
    Vassar Farm Turtles

    Taken with my Casio EX-Z850 pocket camera, underexposed 2/3 stop to avoid blowing out the highlights even more. This is a dot-for-dot crop from the middle of a much larger 8 MP image, crisped up just slightly. Terrible results, but it’s better than the big camera I didn’t drag along on a guided geology tour (which ended with a generous handful of fine clay from the stream a bit further along).

    And, yeah, I know the whole reincarnation thing says you get what you deserve, not what you want. On the other flipper, nobody really knows how it all works, so I’m not losing hope.

  • AA Cell Holder: Fragile Contacts

    Broken cell holder contact
    Broken cell holder contact

    It seems I applied a bit too much pressure to one of the contacts on a metal AA cell holder: the outer rim of the rivet holding the solder tab in place departed for the distant reaches of the Basement Laboratory.

    No big deal, I thought: pop another rivet in place and get back in operation…

    You really want the rivet to go in with the flat head inside the cell holder where the original flat head was. Unfortunately, the rivet yanker’s head won’t fit into the holder; I’m pretty sure the manufacturer has a Special Machine to make that happen.

    So I put the reinforcing washer and lumpy end inside. That meant switching the insulating washers to keep the overall distance from the negative cell contact about the same.

    Cell holder rivet - inside
    Cell holder rivet – inside

    The outside looks much better…

    Cell holder rivet - outside
    Cell holder rivet – outside

    For what it’s worth, these pix came from the Sony DSC-H5 with the flash turned down 1 EV. Much better results than the Casio EX-Z850, even with its flash set to Soft (whatever that is). The H5 has much better macro capability… and with the new Eneloop cells, it lasts long enough to make it usable in the shop.

  • Sanyo Eneloop: First Charges

    So I bought an octet of Sanyo Eneloop NiMH cells from the usual Amazon source and ran a few charge / discharge tests, with the hope of powering my Sony DSC-H5 for more than a few dozen minutes at a time. It’s Marching Band season!

    The cells bear a laser-etched 09-10-IF date code that I assume means October 2009, because they arrived in early September 2010. Rumor has it that Eneloop cells come off the manufacturing line factory-charged to 75% of their nominal 2.0 Ah; all eight arrived with the same charge: 1.43 Ah. Given the vagaries of measuring battery capacity, that’s 95% of what they started with, nearly a year ago.

    The eight 500 mA constant current discharge curves are essentially identical:

    Eneloop - As received
    Eneloop – As received

    The first charge after that test was individual cells in a 400 mA charger, the second as a complete 8-cell pack with a 900 mA charger. Those two discharge curves for the pack, again at 500 mA, also overlay nicely:

    Eneloop - 8-cell pack
    Eneloop – 8-cell pack

    The pack voltage remains above 9.6 V for about 1.5 Ah, far better than the tired assortment of cells in my collection (albeit those were measured at 1 A, not 500 mA).

    These should get me through an entire day of Marching Band travel, setup, practice, and competition!

  • A Night Visitor

    One of those midnight “I heard such a clatter” events: somebody or something was kicking a can all over the driveway.

    Turned out that a raccoon found the stack of carefully rinsed salmon cans in the recycling bin and was puzzling over how to get them apart. Evidently he figured there was something really delicious hidden in there somewhere!

    I had time to fiddle with the camera before he gave up and wandered away on his rounds…

    These are in near-IR “Nightshot” mode with my ancient DSC-F717 and the 1.7X teleconverter. They’re automagic crops from larger frames, walloped en masse with ImageMagick:

    
    for f in *jpg ; do mogrify -crop 1200x900+700+450 -resize 750x563 $f ; done
    
    

    The gritty texture plays hell with JPEG compression, but that’s what the camera delivers. An incandescent spotlight on the driveway contributes the deep shadow, but an ordinary camera (my DSC-H5) produced completely black images, even with the high-power flash setting.

    Memo to self: start keeping the recycling bin inside the garage. But will that just piss off the bears that are moving (back) into the county?