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.

  • Foraging Skunk, Cautious Mouse

    Foraging Skunk, Cautious Mouse

    Early one morning, a skunk dashed toward the garden:

    Skunk and Mouse - fast skunk - 2023-07-15 01-49-38
    Skunk and Mouse – fast skunk – 2023-07-15 01-49-38

    If you look very closely, you’ll see a mouse watching from the end of a 4 inch drainpipe stashed along the garden fence:

    Skunk and Mouse - fast skunk - mouse detail - 2023-07-15 01-49-38
    Skunk and Mouse – fast skunk – mouse detail – 2023-07-15 01-49-38

    The skunk went exploring near the garden gate (off to the right) while the mouse continued watching the proceedings:

    Skunk and Mouse - mouse keeping watch - 2023-07-15 01-49-53
    Skunk and Mouse – mouse keeping watch – 2023-07-15 01-49-53

    When the skunk returned, the mouse decided discretion was the better part of valor and vanished into the pipe:

    Skunk and Mouse - skunk - hidden mouse - 2023-07-15 01-50-01
    Skunk and Mouse – skunk – hidden mouse – 2023-07-15 01-50-01

    With the skunk gone about its business, the mouse returned to its duty:

    Skunk and Mouse - mouse watching - 2023-07-15 01-50-24
    Skunk and Mouse – mouse watching – 2023-07-15 01-50-24

    Just another night at the office, out in the back yard …

  • SJCAM M20 Camera: NP-BX1 Battery and Charger Holder

    SJCAM M20 Camera: NP-BX1 Battery and Charger Holder

    A little tweakage to the NP-BX1 battery holder for the astable multivibrator blinkies produced a simple version with the wire exit holes on the bottom:

    NP-BX1 Simple Holder - solid model
    NP-BX1 Simple Holder – solid model

    The four corner holes hold locating pins in the layered acrylic base:

    SJCAM M20 Battery Replacement - case layers
    SJCAM M20 Battery Replacement – case layers

    Those pins got cut slightly shorter to fit in the battery holder; in this photo they’re serving to align the layers and adhesive sheets while I stacked them up.

    The geometry is straightforward, with the outer perimeter matching the 3D printed battery holder:

    SJCAM M20 Car-Mode Battery Hack - battery case
    SJCAM M20 Car-Mode Battery Hack – battery case

    Cut one base and two wall layers from 3 mm (or a bit less) transparent acrylic, plus three adhesive sheets. I stuck adhesive on both sides of one wall layer, using the pins to align the adhesive, stuck the layer to the base, then topped it with the second wall layer, again using the alignment pins.

    The motivation for transparent layered acrylic is being able to see the charge controller’s red and green status LEDs glowing inside the box. This probably isn’t required, but seemed like a Good Idea™ for the initial version.

    With all that in hand, wire it up:

    SJCAM M20 Battery Replacement - charger wiring
    SJCAM M20 Battery Replacement – charger wiring

    The USB charger PCB sits atop a layer of double-sided foam tape. After verifying that the circuitry worked, I globbed the wires in place with hot-melt glue to make it less rickety than the picture suggests.

    The alert reader will have noticed the holes in the 3D printed NP-BX1 holder were drilled, not printed. In the unlikely event I need another case, the holes will automagically appear in the right place.

    I haven’t yet peeled the protective paper off that top adhesive sheet to make a permanent assembly:

    SJCAM M20 Battery Replacement - trial install
    SJCAM M20 Battery Replacement – trial install

    We use the car so infrequently that it’ll take a while to build up enough confidence to stick it together and stick it to the dashboard.

    On the whole, it’s ugly but sufficient to the task.

    A doodle with key dimensions, plus some ideas not surviving contact with reality:

    SJCAM M20 Car-Mode Battery Hack - case doodle
    SJCAM M20 Car-Mode Battery Hack – case doodle

    I truly hope this entire effort is a waste of time.

  • SJCAM M20 Camera: Battery Case Salvage

    SJCAM M20 Camera: Battery Case Salvage

    Remove the spicy pillow from an M20 battery case and carve a notch in one side to see if this might work:

    SJCAM M20 Battery Replacement - battery interior
    SJCAM M20 Battery Replacement – battery interior

    The circuit board is the charge controller for the evicted high-voltage lithium pouch cell, but I started by connecting an ordinary lithium cell with a Schottky diode to the PCB’s battery terminals.

    This worked about as poorly as you’d expect, because the lower battery voltage minus the forward drop of the diode minus whatever happens in the PCB put the final voltage below the camera’s instant low-battery shutdown.

    The terminals connecting to the camera in the rectangular bump are soldered to the back of the PCB, but the whole affair snaps out of the battery case. Unsoldering the PCB from the terminals, gingerly soldering directly to them, and adding a bulk storage capacitor produced a better result:

    SJCAM M20 Battery Replacement - circuitry
    SJCAM M20 Battery Replacement – circuitry

    The cap stores just enough energy to keep the camera happy while writing to the Micro-SD card, although the LCD screen dims slightly during each pulse.

    Cut a pad from a sheet of closed-cell foam that happened to be exactly the right thickness:

    SJCAM M20 Battery Replacement - wrapper layout
    SJCAM M20 Battery Replacement – wrapper layout

    The elaborate thing below the case is a cardboard pad atop the sticky side of a PSA non-PVC vinyl sheet, laser-cut to fit:

    SJCAM M20 Battery Replacement - case wrapper top
    SJCAM M20 Battery Replacement – case wrapper top

    The bottom view, showing the latch retaining the contact block:

    SJCAM M20 Battery Replacement - case wrapper bottom
    SJCAM M20 Battery Replacement – case wrapper bottom

    Admittedly, that’s the last iteration of the wrapper, starting with a hand-trimmed Kapton tape version and three paper versions to get the dimensions right before trying vinyl. Looks good to me!

    The final geometry has a 0.5 mm radius on all the corners:

    SJCAM M20 Car-Mode Battery Hack - battery wrapper
    SJCAM M20 Car-Mode Battery Hack – battery wrapper

    The fillets reduced (but did not eliminate) mechanical oscillations while slinging the laser gantry around those corners. If I don’t point them out, maybe nobody will notice.

    The PSA vinyl is marginally thicker than the original plastic wrapper, so the battery fits very snugly into the camera. On the other paw, getting the swollen battery out required a major effort; this one should not get tighter.

  • SJCAM M20 Camera: Car Mode Battery Hack

    SJCAM M20 Camera: Car Mode Battery Hack

    The last lithium cell (a.k.a. battery) for the longsuffering SJCAM M20 transformed itself into a spicy pillow:

    SJCAM M20 - spicy pillow lithium battery
    SJCAM M20 – spicy pillow lithium battery

    SJCAM no longer sells those batteries and nobody else does, either, surely because the +4.35V marking shows they’re a special-formula high-voltage lithium mix that doesn’t work with ordinary chargers. Worse, you can’t substitute an ordinary (i.e. cheap) battery, because applying a high-voltage charger to a 4.2 V cell makes Bad Things™ happen.

    Putting the M20 camera in Car Mode makes it begin recording when it sees 5 V on its USB input and shut down a few seconds after the USB input drops to 0 V. Without the internal battery, the camera’s clock doesn’t survive when the external power vanishes, which seems critical for a camera sitting on a dashboard.

    Mashing all that together, I wondered if I could use one of the many leftover low-voltage NP-BX1 batteries from the Sony AS30V helmet camera without starting a dashboard fire, by preventing the camera from charging the battery, while still using it when the USB input is inactive (which, for our car, is pretty nearly all the time).

    The circuitry, such as it is, uses a cheap 1S USB charge controller and a Schottky diode:

    SJCAM M20 Car-Mode Battery Hack - circuit doodle
    SJCAM M20 Car-Mode Battery Hack – circuit doodle

    Power comes in on the left from a USB converter plugged into the Accessory Power Outlet in the center console and goes out to the camera’s USB jack, using a butchered cable soldered to the charge controller’s pads in the middle. The controller manages the NP-BX1 battery as usual, but a diode prevents the camera from trying to send charge current into the controller.

    This should just barely work, as the diode reduces the battery voltage by a few hundred millivolts, so the camera will see the fully charged low-voltage battery as a mostly discharged high-voltage battery.

    Suiting action to words:

    SJCAM M20 Battery Replacement - circuitry
    SJCAM M20 Battery Replacement – circuitry

    It’s built inside the gutted remains of an M20 battery case. The 100µF tantalum cap provides local buffering to prevent the camera from browning out during bursts of file activity while recording. The wire emerges through holes gnawed in the battery case and the camera housing:

    SJCAM M20 Battery Replacement - camera cable exit
    SJCAM M20 Battery Replacement – camera cable exit

    The charge controller on the other end of the wire lives in a layered laser-cut acrylic case attached to a modified version of the venerable 3D printed NP-BX1 battery holder:

    SJCAM M20 Battery Replacement - charger wiring
    SJCAM M20 Battery Replacement – charger wiring

    More on the cases tomorrow.

    Putting it all together, the lashup goes a little something like this:

    SJCAM M20 Battery Replacement - trial install
    SJCAM M20 Battery Replacement – trial install

    The battery pack will eventually get stuck to the dashboard underneath the overhang, out of direct sunlight. Things get hot in there, but with a bit of luck the battery will survive.

    The rakish tilt puts the hood along the bottom of the image, although raising the camera would reduce tilt and cut down on the skyline view:

    SJCAM M20 Car-Mode Battery Hack - test ride
    SJCAM M20 Car-Mode Battery Hack – test ride

    The battery icon instantly switches from “charging” to “desperately low” when the USB power drops, which is about what I expected, but the camera continues to record for about ten seconds before shutting down normally.

    The NP-BX1 battery in the holder comes from the batch of craptastic BatMax batteries with a depressed starting voltage. An actual new cell with a slightly higher voltage would keep the camera slightly happier during those last ten seconds, but … so far, so good.

    Another possibility would be a trio of 1.5 V bucked lithium AA cells, with the diode to prevent charging and minus the charger.

  • Garden Bypass

    Garden Bypass

    Mary had been thinking of blocking the narrow path between the neighbor’s fence and her garden, so I set up the trail camera to see what went on out there when we weren’t around.

    The Midnight Possum must have another appointment:

    IM_00003 - Midnight opossum - 2023-06-21
    IM_00003 – Midnight opossum – 2023-06-21

    Raccoons definitely use the path as a highway:

    IM_00013 - Early raccoon - 2023-06-28
    IM_00013 – Early raccoon – 2023-06-28

    And, as if we didn’t have enough deer already:

    Back yard deer - new fawn - 2023-06-24
    Back yard deer – new fawn – 2023-06-24

    My recommendation: don’t block the path, because we are badly outnumbered!

  • SJCam M50 Condensation

    SJCam M50 Condensation

    I put the camera in the front yard to monitor a new groundhog hole, then mowed the lawn. Although smoke drifting in from the Canadian fires has posed a problem, the air quality wasn’t this bad:

    SJCam M50 camera condensation - foggy image
    SJCam M50 camera condensation – foggy image

    It turns out the camera’s case seal isn’t quite up to the task:

    SJCam M50 camera condensation - detail
    SJCam M50 camera condensation – detail

    The lip around the front half of the case presses against a rubber gasket around the rear half, which means the water on the electronics chassis is inside the camera case:

    SJCam M50 camera condensation - case edge
    SJCam M50 camera condensation – case edge

    Fortunately, the water condensed on the inside of the glass lens protector, rather than on the camera itself:

    SJCam M50 camera condensation - interior
    SJCam M50 camera condensation – interior

    I let the whole thing dry out on the bench for a few days and all seems right again.

    The leak does make me think leaving it out in the rain is a Bad Idea™, which isn’t the sort of thought one should have about a trail camera.

    Diurnal pumping can explain many electronic failures. For the record, the monitoring station on the Walkway Over the Hudson vanished a while ago, probably due to rampant electronic corrosion.

  • Raccoons In the Night

    Raccoons In the Night

    The only reason we haven’t seen a standing raccoon is because we’re not awake when it happens:

    Raccoons vs wheelbarrow - 2023-06-09
    Raccoons vs wheelbarrow – 2023-06-09

    The glowing dot over on the far right is a third raccoon!

    They are athletic critters:

    Raccoons in wheelbarrow - 2023-06-09
    Raccoons in wheelbarrow – 2023-06-09

    Mary puts garden clippings in the wheelbarrow before hauling them over the hill to our organic dumping ground. Something must smell pretty good in there:

    Raccoons around wheelbarrow - 2023-06-09
    Raccoons around wheelbarrow – 2023-06-09

    The wire mesh over the new plantings in the garden seems to be holding them at bay, but it must come off before it snares the growing plants. We hope whatever is in the fertilizer will have worn off by then!