Weatherproof Raspberry Pi Camera Enclosure, In A Pinch

The Raspberry Pi is the foundation of many IoT camera projects, but enclosures are often something left up to the user. [Mare] found that a serviceable outdoor enclosure could be made with a trip to the hardware store and inexpensive microscopy supplies.

A suitably-sized plastic junction box is a good starting point, but it takes more than that to make a functional enclosure.

The main component of the enclosure is a small plastic junction box, but it takes more than a box to make a functional outdoor enclosure. First of all, cable should be run into the box with the help of a cable fitting, and this fitting should be pointed toward the ground when the enclosure is mounted. This helps any moisture drip away with gravity, instead of pooling inconveniently.

All wire connections should be kept inside the enclosure, but if that’s not possible, we have seen outdoor-sealed wire junctions with the help of some 3D-printing and silicone sealant. That may help if cable splices are unavoidable.

The other main design concern is providing a window through which the camera can see. [Mare] found that the small Raspberry Pi camera board can be accommodated by drilling a hole into the side of the box, cleaning up the edges, and securing a cover slip  (or clover glass) to the outside with an adhesive. Cover slips are extremely thin pieces of glass used to make microscope slides; ridiculously cheap, and probably already in a citizen scientist’s parts bin. They are also fragile, but if the device doesn’t expect a lot of stress it will do the job nicely.

[Mare] uses the Raspberry Pi and camera as part of Telraam, an open-source project providing a fully-automated traffic counting service that keeps anonymized counts of vehicle, pedestrian, and bicycle activity. Usually such a device is mounted indoors and aimed at a window, but this enclosure method is an option should one need to mount a camera outdoors. There’s good value in using a Raspberry Pi as a DIY security camera, after all.

Photography, The Stereo Way

Most consumer-grade audio equipment has been in stereo since at least the 1960s, allowing the listener to experience sounds with a three-dimensional perspective as if they were present when the sound was originally made. Stereo photography has lagged a little behind the stereo audio trend, though, with most of the technology existing as passing fads or requiring clumsy hardware to experience fully. Not so with the DIY stereoscopic cameras like this one produced by this group of 3D photography enthusiasts, who have also some methods to view the photos in 3D without any extra hardware.

The camera uses two imaging sensors to produce a stereo image. One sensor is fixed, and the other is on a slider which allows the user to adjust the “amount” of 3D effect needed for any particular photo. [Jim] is using this camera mostly for macro photography, which means that he only needs a few millimeters of separation between the two sensors to achieve the desired effect, but for more distant objects more separation can be used. The camera uses dual Raspberry Pi processors, a lithium battery, and a touch screen interface. It includes a ton of features as well including things like focus stacking, but to get a more full experience of this build we’d highly recommend checking out the video after the break.

As for viewing the photographs, these stereoscopic 3D images require nothing more than a little practice to view them. This guide is available with some simple examples to get started, and while it does at first feel like a Magic Eye puzzle from the late 90s, it quickly becomes intuitive. Another guide has some more intricate 3D maps at the end to practice on as well. This is quite the step up from needing to use special glasses or a wearable 3D viewer of some sort. There are also some methods available to create 3D images from those taken with a regular 2D camera as well.

Thanks to [Bill] for the tip and the additional links to the guides for viewing these images!

Continue reading “Photography, The Stereo Way”

Interesting Optical Journey Results In Hybrid Viewfinder For Smartphones

Fair warning: if you ever thought there was nothing particularly interesting with optical viewfinders, prepare to have your misconception corrected by [volzo] with this deep-dive into camera-aiming aids that leads to an interesting hybrid smartphone viewfinder.

For most of us, the traditional optical viewfinder is very much a thing of the past, having been supplanted by digital cameras and LCD displays. But some people still want to frame a photograph the old-fashioned way, and the optical principles that make that possible are actually a lot more complicated than they seem. [volzo]’s blog post and video go into a great deal of detail on viewfinder optics, so feel free to fall down that rabbit hole — it’s worth the trip. But if you’d rather cut to the chase, the actual viewfinder build starts at about the 23:00 mark in the video.

The design is an interesting combination of lenses and beamsplitters that live in a 3D-printed enclosure. The whole thing slips over one end of a smartphone and combines an optical view of the scene that corresponds to the camera’s field of view with a small digital overlay from the phone’s screen. The overlay is quite simple: just some framing gridlines and a tilt indicator that’s generated by a little Android app. But it’s clear that much more information could be added now that [volzo] has all the optical issues sorted out.

We appreciate this deep dive into something that appears to be mundane and outdated, which actually proves to be non-obvious and pretty interesting. And if you have any doubt about the extreme cleverness of the camera engineers of yore, look no further than this sort-of solar-powered camera from the 1960s.

Continue reading “Interesting Optical Journey Results In Hybrid Viewfinder For Smartphones”

Rocket Mounted 3D Printed Camera Wheel Tries, Succeeds, And Also Fails

[Joe] at BPS.space has a thing for rockets, and his latest quest is to build a rocket that will cross the Kármán Line and launch into the Final Frontier. And being the owner of a YouTube channel, he wants to have excellent on-board video that he can share. The trouble? Spinning. A spinning rocket is a stable rocket, especially as altitude increases. So how would [Joe] get stable video from a rocket spinning at several hundred degrees per second? That’s the question being addressed in the video below the break.

The de-spun video looks quite good

Rather than use processing power to stabilize video digitally, [Joe] decided to take a different approach: Cancelling out the spin with a motor, essentially making a camera-wielding reaction wheel that would stay oriented in one direction, no matter how fast the rocket itself is spinning.

Did it work? Yes… and no. The design was intended to be a proof of concept, and in that sense there was a lot of success and some excellent video was taken. But as with many proof of concept prototypes, the spinning camera module has a lot of room for improvement. [Joe] goes into some details about the changes he’ll be making for revision 2, including a different motor and some software improvements. We certainly look forward to seeing the progress!

To get a better idea of the problem that [Joe] is trying to solve, check out this 360 degree rocket cam that we featured a few years ago.

Continue reading “Rocket Mounted 3D Printed Camera Wheel Tries, Succeeds, And Also Fails”

Bring Out The Fine Detail In Small Objects With This Coaxial Lighting Rig

All things considered, modern photography is pretty easy. It’s really just a matter of pointing the camera at the thing you want to take a picture of and letting the camera do the rest. But that doesn’t mean good photographs are easy to make, especially when fine detail is required. And that’s the reason this 3D printed coaxial lighting setup was built — to make quality photographs of small objects a snap.

The objects of [Peter Lin]’s photographic desire are coins, no doubt of the collectible variety. Since the condition of a coin is essential to determining its value, numismatic photographers really need to be meticulous about the quality of their work. The idea here is to keep the incoming light parallel to the optical axis of the camera, for which purpose ring lights around the camera lens are often used. But they can result in lighting artifacts, and can be awkward to use for such smaller subjects.

So for this setup, [Peter] essentially built a beam-splitter. The body is a printed block that’s painted matte black to keep reflections down; a little self-adhesive flocking paper helps with that too. The round aperture on the top is for the camera lens, with the square window on the side admitting light. The secret is a slot oriented at 45 degrees to both of those openings, into which the glass element from a cheap UV filter is inserted. The filter acts like a beam splitter which reflects light down onto the coin on the bottom of the block and lets it pass up into the camera lens directly above the coin, parallel to the optical axis. Genius!

The video below shows it in use with both DSLR and smartphone cameras, and the image quality is amazing. While most of us probably aren’t photographing coins, we do enough high-resolution photography of small objects that this seems applicable. In a way, it reminds us of [Big Clive]’s “TupperCam” method of high-res PCB photography (final item).

Continue reading “Bring Out The Fine Detail In Small Objects With This Coaxial Lighting Rig”

Taking (Good) Pictures Of PCBs

Snapping pictures is not technically difficult with modern technology, but taking good photographs is another matter. There are a number of things that a photographer needs to account for in order to get the best possible results, and if the subject matter isn’t particularly photogenic to start with it makes the task just a little more difficult. As anyone who’s posted something for sale online can attest, taking pictures of everyday objects can present its own challenges even to seasoned photographers. [Martijn Braam] has a few tricks up his sleeve for pictures like this in his efforts to photograph various circuit boards.

[Martijn] has been updating the images on Hackerboards, an online image reference for single-board computers and other PCBs, and he demands quality in his uploads. To get good pictures of the PCBs, he starts with ample lighting in the form of two wirelessly-controlled flashes in softboxes. He’s also using a high quality macro lens with low distortion, but the real work goes into making sure the image is sharp and the PCBs have well-defined edges. He’s using a Python script to take two pictures with his camera, and some automation in ImageMagic to composite the two images together.

While we’re not all taking pictures of PCBs, it’s a great way of demonstrating the ways that a workflow can be automated in surprising ways, not to mention the proper ways of lighting a photography subject. There are some other excellent ways of lighting subjects that we’ve seen, too, including using broken LCD monitors, or you can take some of these principles to your workspace with this arch lighting system.

Telnet Gets Stubborn Sony Camera Under Control

According to [Venn Stone], technical producer over at LinuxGameCast, the Sony a5000 is still a solid option for those looking to shoot 1080p video despite being released back in 2014. But while the camera is lightweight and affordable, it does have some annoying quirks — namely an overlay on the HDMI output (as seen in the image above) that can’t be turned off using the camera’s normal configuration menu. But as it so happens, using some open source tools and the venerable telnet, you can actually log into the camera’s operating system and fiddle with its settings directly.

As explained in the write-up, the first step is to install Sony-PMCA-RE, a cross-platform suite of tools developed for reverse engineering and modifying Sony cameras. With the camera connected via USB, this will allow you to install a program on the camera called Open Memories Tweak. This unlocks some developer options on the camera, such as spawning a telnet server on its WiFi interface.

With the a5000 connected to your wireless network, you point your telnet client to its IP address and will be greeted by a BusyBox interface that should be familiar to anyone who’s played with embedded Linux gadgets. The final step is to invoke the proper command, bk.elf w 0x01070a47 00, which sets the specific address of the camera’s configuration file to zero. This permanently disables the HDMI overlay, though it can be reversed by running the command again and setting the byte back to 01.

As you might expect, the Sony-PMCA-RE package is capable of quite a bit more than just unlocking a telnet server. While it might not be as powerful as a firmware modification such as Magic Lantern for Canon’s hardware, those looking for a hackable camera that won’t break the bank might want to check out the project’s documentation to see what else is possible.

Continue reading “Telnet Gets Stubborn Sony Camera Under Control”