A Stereo Vision Board For Hardware Hackers

It’s plenty easy to do lots of vision tasks with a single camera, but using two cameras gives you lots of magical abilities, like depth perception! If you’d like to experiment with stereo vision, you might enjoy this board that [machinehum] built specifically for hackers.

The project came about because [machinehum] was particularly excited about the Rockchip RV1103, a 1.1 GHz single-core ARM chip. It comes with 64 MB of DDR2 RAM and a has a MIPI CSI-2 bus on board, which comes in handy for interfacing cameras. Thus, it was the perfect part to whip up a stereo vision board with on-board compute capability and Linux support right out of the box. The processor is paired with two OV9281 global-shutter cameras, as well as a LI2HH12 3-axis accelerometer to provide motion sensing. There’s also 4 MB of flash memory thrown on board, as well as a 10/100 Mbit Ethernet interface for good measure. [machinehum]’s write-up also lays out the software stack and how everything works in concert with Video4Linux2.

If you’re new to experimenting with stereo vision, you might find this to be a useful platform for getting started. Design files are on GitHub for the curious. We’ve seen similar projects built using the Raspberry Pi before, too, which itself is essentially just a fast ARM powered computer with useful camera interfaces built-in. Funny that.

Continue reading “A Stereo Vision Board For Hardware Hackers” →

A Thermal Camera That Uses WebUSB

When creating a peripheral for a mobile phone, an obvious path is to create a companion app with which to talk to it. But as we all know today’s app is tomorrow’s non-functional abandonware, so to give his infrared camera a long life, [Cezar Chirila] made it talk WebUSB to a browser instead.

The hardware is conventional enough, a FLIR sensor talking to an RP2040. There’s very little in the way of supporting circuitry save for a power supply regulator, as so much that might be on a standalone project is already present in the USB host device. Running the thing is as simple as going to a landing page in a browser that supports WebUSB, and using the camera. The whole lot is in a GitHub repository, if you’re interested.

We’re big fans of WebUSB, for exactly the reason it’s been used here. While there are a few browser features which have been deprecated over the years — who remembers the BLINK and MARQUEE HTML tags — it’s likely WebUSB won’t be one of them. This could only be topped by having the microcontroller share a small USB disk with the landing page as an HTML file.

Meanwhile if you’re strapped for cash, there are cheaper thermal cameras out there.

Building An M7 Pan Tilt Head Controller

The Soonpho M7 Pan Tilt Head is a useful photography tool for remotely aiming a decently-sized camera. Only, [Kyle Housley] wanted a little more control than was available out of the box. Hence, he built a custom controller that could deliver just that.

The project is based around an ESP32-S3 paired with an NRF24L01 wireless module. The ESP32-S3 is hooked up to a computer to receive commands over serial on what movements to make. It then transmits over the NRF24L01 to another NRF24L01 module that has been hacked into the original M7’s controller. In doing so, it can command the M7 to move to a given specific pan and tilt position, or to make a smooth motion along a vector. It can also trigger shutter release in the attached camera as needed, to capture whatever is being looked at.

[Kyle] has used this rig to create a motion tracking system for aircraft photography. With a Yolo vision model running on a laptop, the pan-tilt head can be commanded to track aircraft passing by and photograph them when they’re in frame. It’s a pretty slick setup; we’d love to see similar done with the aid of ADS-B data, too—perhaps even with automatic image tagging and upload.  Continue reading “Building An M7 Pan Tilt Head Controller” →

Upgrading An IPhone Lens To The Max

The camera in a typical mobile phone is now at a standard at which it can be considered a serious device rather than a toy, such has been the effort put in by the phone manufacturers. They are still held back in some ways by their lenses despite the same development effort being pointed in that direction, and there have been projects aiming to replace those lenses with better quality ones. A while back we covered [Evan Monsma]’s replacement of his broken iPhone camera lens with a C-mount item, and now he’s back with a much improved version.

The original was glued on with cyanoacrylate adhesive, and this had parted. It was time to upgrade the phone, so he had a new lens mount covering two of the cameras machined from solid brass and leaving an open view for the third and unmodified camera. This was fixed to the phone with epoxy, and with a set of 3D printed lens covers to protect them he’s ready to go. There’s even a tripod thread machined into the bottom of this thing. He shows us it in action with both C-mount and EF-mount lenses, the latter resulting in a very long effective focal length.

We like this project, but perhaps we’d give it an IR filter to remove the unwanted pink glow. If you’re interested, here’s the original version.

Continue reading “Upgrading An IPhone Lens To The Max” →

Own The OSD Chip In Your Cheap Composite Monitor

[Ogrinz Labs] has built a Robbie the Robot suit, which is super-cool, but has a huge flaw. When inside the suit, he’s too tall to do what the original Robbie actor did, which was to look through the “mouth” grille. He solved this with an inexpensive automotive reversing camera, but then realised its monitor had a built-in on-screen-display chip. After a lot of work, he’s published a GitHub repository that allows access to this thing for custom on-screen graphics.

The chip in question is an AMT630A, which contains video switching hardware, a graphics system for the on-screen-display, and an 8052 microcontroller core. He didn’t manage to get into the 8052’s brain, but the video below details the long path towards controlling it through an I2C port with an ESP32. The software is available as an Arduino library. His intention is to use it as a display for navigational sensor data to aid in maneuvering Robbie.

Given the status of Robbie as a sci-fi movie icon, it should come as no surprise that we’ve featured this suit before,

Continue reading “Own The OSD Chip In Your Cheap Composite Monitor” →

Digital Upgrade Brings Medium Format Camera Into The 21st Century

Large format cameras can produce amazing shots, but are a bit too bulky to be practical. Medium format is a different story, as [Wenting] demonstrates with his Sitina B220M — an open-source digital back for the Mamiya Super 23 camera using a full-frame Kodak CCD.

“Digital back” just means he’s replacing the rear of an existing film camera in order to put a sensor where said film used to live. The sensor is a 22 Megapixel Kodak KAF-22000CE, which measures in at a very respectable 38.8 mm by 50 mm. That’s only a touch smaller than the rolls of 120 the camera was designed for, whose large dimension was 56 mm. How much was exposed at a time was determined by the back you put on the camera, but would never have been below 41.5 mm. Again, the CCD is pretty close.

With Mamiya covering the optics, [Wenting] could focus on the digital end. He’s got a Xilinx Zynq 7010 running the show, making use of both that SoC’s Cortex-A9 cores and its built-in FPGA. There’s some decent info on how that works in the build video embedded below, if you don’t want to dig into the code at the GitLab repository above. The photos look great, and start at 8:25.

[Wenting] has been around the bush with FPGAs before. Not least in his e-ink monitor project, but also with the last iteration of his mirror-less digital camera. This version is perhaps less ambitious, being merely a digital back and not the whole enchilada, but it solves some design issues he had on the “camera” part while he focuses on the “digital” for now.

Continue reading “Digital Upgrade Brings Medium Format Camera Into The 21st Century” →

3D Imaging Without A Lens

There are plenty of ways to capture 3D images or simulations of such if you know what you’re doing with camera hardware and fancy mathematics. However, a little more unusual is the idea of capturing a 3D image while using no lens at all — and yet, [okooptics] has achieved just that!

The basic concept builds on an older project from [okooptics], wherein images were captured from a Raspberry Pi camera with no regular lens element installed. In its place was a thin layer of Scotch tape over the sensor, acting as a diffuser. With the right deconvolution math, it’s possible to actually recover a real image out of the blurry mess this setup initially captures. [okooptics] was then able to push this into three dimensions by weighting the point spread function used to deconvolute the image.

Adding directional bias to the process creates a similar effect to slightly shifting the cameras position, actually revealing a view from a slightly different angle of objects in front of the camera. [okooptics] does a great job of explaining the science behind how this is possible and the practical limitations of the technique, also referencing research papers that have explored these ideas in great depth.

It’s math heavy to extract 3D data from what otherwise looks like blurry nothingness, but it’s possible if you know what you’re doing. For a fuller understanding, it’s worth diving into [okooptics] earlier work in this realm, taking photos with Scotch tape in place of a lens.

Continue reading “3D Imaging Without A Lens” →