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.

  • Fly6 Directory / File Naming Convention & Mass Deletion Thereof

    There is, somewhat to my surprise, a standard for digital camera directory and file names, although it looks rather ad hoc and ex post facto to me, and the Cycliq Fly6 camera follows it to the, ah, letter.

    In their implementation, we have nnnymmdd, where:

    • nnn = a unique, but not necessarily sequential, number
    • y = last digit of year
    • mm = month
    • dd = day

    That produces these entries in my NAS hard drive full of bicycle action camera “footage”:

    ll /mnt/video/Fly6/DCIM/
    total 0
    drwxr-xr-x 2 ed root 0 2015-12-10 14:18 10051210
    drwxr-xr-x 2 ed root 0 2015-12-21 12:47 10051221
    drwxr-xr-x 2 ed root 0 2015-12-24 20:26 10151224
    drwxr-xr-x 2 ed root 0 2015-12-25 14:42 10251225
    drwxr-xr-x 2 ed root 0 2015-12-26 15:26 10351226
    drwxr-xr-x 2 ed root 0 2015-12-31 16:37 10451231
    drwxr-xr-x 2 ed root 0 2016-01-16 16:56 10560115
    drwxr-xr-x 2 ed root 0 2016-01-16 16:56 10660116
    drwxr-xr-x 2 ed root 0 2016-01-31 13:28 10760131
    drwxr-xr-x 2 ed root 0 2016-02-04 12:59 10860204
    drwxr-xr-x 2 ed root 0 2016-02-07 17:05 10960207
    drwxr-xr-x 2 ed root 0 2016-02-20 13:08 11060220
    drwxr-xr-x 2 ed root 0 2016-02-21 12:03 11160221
    drwxr-xr-x 2 ed root 0 2016-02-22 14:02 11260222
    drwxr-xr-x 2 ed root 0 2016-03-06 18:16 11360306
    drwxr-xr-x 2 ed root 0 2016-03-07 14:33 11460307
    drwxr-xr-x 2 ed root 0 2016-03-08 14:57 11560308
    drwxr-xr-x 2 ed root 0 2016-03-09 13:48 11660309
    drwxr-xr-x 2 ed root 0 2016-03-10 11:24 11760310
    drwxr-xr-x 2 ed root 0 2016-03-11 13:51 11860311
    drwxr-xr-x 2 ed root 0 2016-03-12 16:04 11960312
    drwxr-xr-x 2 ed root 0 2015-11-22 17:02 12051122
    drwxr-xr-x 2 ed root 0 2015-11-25 19:14 12151125
    drwxr-xr-x 2 ed root 0 2015-11-29 17:42 12251129
    drwxr-xr-x 2 ed root 0 2015-11-30 16:53 12351130
    drwxr-xr-x 2 ed root 0 2015-12-05 16:35 12451205
    drwxr-xr-x 2 ed root 0 2015-12-07 16:53 12551207
    drwxr-xr-x 2 ed root 0 2015-12-08 14:05 12690102
    

    Annoyingly, the first three digits are not in ascending order of date, perhaps because the firmware recycles numbers previously used for now-deleted directories.

    The year digit 9 in the last directory (12690102) came from the camera’s default 2009 startup date. You set the camera’s clock by editing its configuration file and rebooting that sucker, which I hadn’t done when I got a new Fly6 as a warranty replacement for the old one; apparently the battery shook itself loose after half a year of riding.

    Deleting the directories created last November and December goes a little something like this:

    rm -rf /mnt/video/Fly6/DCIM/???51[12]*
    

    You probably want to dry-run that with a directory listing command (perhaps ls -al) just to be sure it will wipe out what you want and nothing else.

    Within each directory, the file names follow a more rigid hhmmnnnn format:

    • hh = hour
    • mm = minute
    • nnnn = ascending sequence number

    Which produces a set of files like this:

    ll /mnt/video/Fly6/DCIM/11960312/
    total 6.6G
    -rwxr-xr-x 1 ed root 607M 2057-09-06 19:40 13120005.AVI
    -rwxr-xr-x 1 ed root 810M 2057-09-06 19:40 13190006.AVI
    -rwxr-xr-x 1 ed root 962M 2057-09-06 19:40 13290007.AVI
    -rwxr-xr-x 1 ed root 573M 2057-09-06 19:40 13390008.AVI
    -rwxr-xr-x 1 ed root 523M 2057-09-06 19:40 13470009.AVI
    -rwxr-xr-x 1 ed root 596M 2057-09-06 19:40 13570010.AVI
    -rwxr-xr-x 1 ed root 672M 2057-09-06 19:40 14070011.AVI
    -rwxr-xr-x 1 ed root 716M 2057-09-06 19:40 14150012.AVI
    -rwxr-xr-x 1 ed root 505M 2057-09-06 19:40 14250013.AVI
    -rwxr-xr-x 1 ed root 497M 2057-09-06 19:40 14350014.AVI
    -rwxr-xr-x 1 ed root 221M 2057-09-06 19:40 14450015.AVI
    
    

    The NAS drive does not, for reasons I cannot explain, record the actual file creation timestamp; touch-ing the file afterward does update the timestamp correctly. So it goes.

    The camera attempts to write the files in 10:00 minute chunks, but, because it deletes files (or, perhaps, entire directories) one-by-one in FIFO style, the actual file duration / size seems limited by the space made available by the deletions. The default 8 GB MicroSD card has something like 6.6 GB available and holds a bit under two hours of video; I should bump that to a 16 GB card to get a complete record of longer rides.

  • Panasonic Eneloop Pro NiMH Cells: First Charge

    The Sony DSC-H5 expects a much higher voltage from its pair of NiMH AA cells than the tired Sanyo Eneloops from 2010 can provide these days.

    Eneloop - 8-cell pack - 2010 - 2016 - merged
    Eneloop – 8-cell pack – 2010 – 2016 – merged

    The two upper curves show the first two charges for those eight cells back in 2010.

    The lower curve(s) started out with the wrong endpoint voltage (purple part of the middle curve), so I restarted the test (green curve) and edited the graph image to splice the two curves together into the purple/red curve.

    Although the capacity measured in mA·h isn’t much lower, the voltage depression reduces the available energy and trips the “low battery” alarm much earlier. In round numbers, the old cells were good for a few pictures, even hot off the charger, and didn’t have much energy left without being recharged before use.

    A quartet of Panasonic Eneloop Pro cells just arrived from BatterySpace, a nominally reputable supplier, all sporting a 14-05 date code suggesting they’re just shy of two years old. The packaging claims 85% charge retention after a year, so they should have a bit more than half of their rated 2.45 A·h “minimum” (or 2.55 mA·h “typical”, depending on whether you trust the label on the cell or the big print on the package) capacity remaining (although we don’t know the original state of charge, done from “solar power”). The lower curves say they arrived with 1 A·h remaining:

    Panasonic Eneloop - First Charge
    Panasonic Eneloop – First Charge

    However, the terminal voltage on those bottom curves would have any reasonable device reporting them as dead flat almost instantly, so you really can’t store Eneloops for two years: no surprise there.

    One pass through the 400 mA Sony charger produced the upper curves, with the dotted red curve from Cell A lagging in the middle. After that test, another pass through the charger brought Cell A back (upper solid red line) with the others, so I’ll assume it took a while to wake up.

    A pair of these in the camera will produce 2.2 V through 2.2 A·h, far better than the aged-out Sanyo Eneloops.

    Charging them at 400 mA = C/6 certainly counts as a slow charge. I’ve been charging the Sanyo cells in slow chargers in the hope that they’ll remain happier over the long term.

    The Panasonic Eneloops perform much better than some other cells you’ve seen around here, which may be due to the fact that I paid $5 each for them…

     

  • Sony NP-FS11 Lithium Battery Rebuilds: 2016

    It seems that two years is about as long as the NP-FS11 batteries last, as shown by the two lower curves from the ones I rebuilt in December 2013 with cells from 2011:

    Sony NP-FS11 2011-2016 Packs
    Sony NP-FS11 2011-2016 Packs

    The two middle curves with those same colors show the “back then” performance of those batteries: they’re shot in both total capacity and terminal voltage.

    I bought enough cells back in 2011 to leave two cells unused until now, which I built into a pack and charged. The green curve in the middle shows the result: those cells haven’t lost anything over the last five (!) years, as their performance still matches the other two batteries when they were new.

    The red curves come from a pair of batteries made with fresh new cells from batteryspace.com. They’re nominally 650 mA·h cells, so the NP-FS11 configuration (two parallel cells) should produce 1300 mA·h; surprisingly, they show 1500 mA·h with a nice voltage curve.

    So, although the 2011 cells work as well as their (now defunct) siblings, that pack can’t deliver the same capacity as the new cells. I expect I’ll rebuild it with 2016 cells in about a year.

    For whatever it’s worth, rebuilding these batteries goes much faster when I don’t have to saw them open. The Kapton tape wrapped around the case halves secures them well enough; there’s no need for fancy gluing.

    NP-FS11 Battery Rebuilds - 2016-03
    NP-FS11 Battery Rebuilds – 2016-03

    Yeah, I should make better labels. It’s hard to form a deep emotional attachment to the poor things, though.

    Here’s a case where something performs better than expected; I don’t always buy cheap junk from the usual eBay vendor…

     

     

     

     

  • Monthly Image: Red Oaks Mill Dam

    Heavy rain during an unseasonably warm spell rearranged the deadwood over the Red Oaks Mill Dam:

    Red Oaks Mill Dam - 2016-03-04
    Red Oaks Mill Dam – 2016-03-04

    Much of the wood collects around the pool on the other side of the bridge where the Mighty Wappingers Creek makes a right-angle turn to the left and continues toward the Hudson.

    After the rain, the weather became much colder (which was OK, as I didn’t have to shovel the rain off the driveway), and the spray froze on the deadwood:

    Red Oaks Mill Dam - icicles on deadwood
    Red Oaks Mill Dam – icicles on deadwood

    A few weeks ago, we walked by the dam at the right moment to catch the sun highlighting the rubble upstream of the decaying dam breast:

    Red Oaks Mill Dam - dam breast upstream rubble
    Red Oaks Mill Dam – dam breast upstream rubble

    There won’t be much left in a few more decades …

  • Vacuum Tube LEDs: Fire in the Noval

    Replacing the original Noval socket in the string with the platter-friendly version, bracing the wiring with duct tape, balancing it on my desk, and firing it up:

    Noval socket - red phase
    Noval socket – red phase

    The green phase looks nice, too:

    Noval socket - green phase
    Noval socket – green phase

    Those screws are too big.

    The getter flash covers the entire top of the tube; shining an LED down through the evacuation tip won’t work and even a laser doesn’t do much. That saves me the trouble of trying to create a cap that doesn’t wreck the tube’s good looks.

    I originally planned to use white / natural PETG for the socket, but the more I see of those things, the more I think black is the new white. The sockets should vanish into the background, to let the tubes (and their reflections) carry the show.

    The (yet to be designed) base must vanish under the platter edge, too, which puts a real crimp on its overall height. I’m not sure how to fit an Arduino Pro Mini and an FTDI board beside the existing socket; perhaps this calls for a unified socket-base design held on by those screws, rather than a separate socket inside a base enclosure.

    Even though I know the tubes are inert and cool, I still hesitate before removing them from their sockets with the Neopixels running: you simply do not unplug a hot, powered device!

  • Sony 64 GB MicroSDXC Card: The Final Failure

    The fourth Sony MicroSDXC card went into service in late September 2015 and has now failed after about 60 sessions in my Sony HDR-AS30 Action Camera. This one sported a U3 speed rating and I had hopes that would improve its longevity, but that doesn’t seem to be true.

    The defunct Sony card (marked in red to avoid confusion) will join its defunct compadre and the Sandisk Extreme Pro card goes in the camera:

    Sony 64 GB MicroSD SR-64UX - failure
    Sony 64 GB MicroSD SR-64UX – failure

    The 16 bike rides in December added up to 220 GB; call it 13.75 GB/trip. January 2016 shows only three rides and it failed after two February rides: barely 60 rides for a total of 825-ish GB of video data. The three previous Sony cards failed after less than 1 TB of data, putting this one in the same ballpark.

    I have no way to measure the actual write speed, but the camera shuts down after recording less than a minute of 1920×1080 @ 60 f/s video. Previous cards worked fine at lower video resolutions and recording speeds; I’ll assume this one behaves similarly. It might make a capacious “disk” for a Raspberry Pi.

    When the previous card failed, Sony’s “customer support” decided that there might be something wrong with the camera’s firmware causing it to trash the cards, so there was no point in replacing the card under warranty and I should send the camera in for a checkup. When I pointed out that they’d strung me along for a year, until the camera was out of warranty, without mentioning even the possibility that the camera might be at fault and asked whether they’d pick up the $100+ bill for having the camera “examined”, the Nice Man said Level 2 would get back to me after “48 working hours”. When prodded, he agreed that “48 working hours” equaled “6 working days” and didn’t include weekends; when we had that settled, I knew they had no further interest in this matter.

    Sony hasn’t called back and, by now, I don’t expect they ever will. It’s not worth my time to pursue this any further, but if you’re wondering how well Sony MicroSD cards work in Sony cameras and how well they support the failures, now you know.

    So, starting with this riding season, we’ll see how long a Sandisk Extreme Pro card survives…

     

     

  • Monthly Image: Frost Growth

    The northeast vent on the well pit grew an ice rim during the same night that frosted the roofing nails:

    Well Pit Vent Frost
    Well Pit Vent Frost

    The other vent remained clear, so the prevailing breeze definitely goes in one hole and out the other:

    Well Pit Vent Frost - inlet
    Well Pit Vent Frost – inlet

    Well Pit Vent Frost – inlet

    A waterproof Hobo datalogger hangs from the string.