Crypto Photography and Custom Firmware

Imagine a camera that took encrypted pictures. If your camera is stolen, the only thing on the memory card would be random data that can only be unlocked with a key. If you hire a photographer, those images cannot be copied without the key. At the very least, it’s an interesting idea made impressive because this actually exists.

[Doug] recently got his hands on a Samsung NX300, a nice camera for the price that conveniently runs Linux and is kinda open-sourced by Samsung. With special firmware, [Doug] created public/private key encryption for this camera, giving only the person with the private key the ability to unlock the pictures taken with this camera.

[Doug] started his build by looking at the firmware for this camera, figuring out how to take everything apart and put it back together. With a few modifications that included encryption for all images taken with this camera, [Doug] repackaged the firmware and upgraded the camera.

The encryption firmware is available on the site, but considering how easily [Doug] was able to make this hack happen, and a great walkthrough of how to actually do it raises some interesting possibilities. The NX300 is a pretty nice camera that’s a little bit above the Canon PowerShot cameras supported by CHDK. It also runs Linux, so if you’re looking for something cool to do with a nice camera, [Doug] has a very good resource.

Towards More Interesting Instant Cameras

When [Ch00f] was getting jeans rung up at Nordstroms, he noticed how fast thermal receipt printers can put an image on a piece of paper. This observation isn’t unique to the circles [Ch00f] frequents – there are a few small receipt paper printers out there that connect to the Internet, iPhones, and a whole bunch of other Kickstarter-friendly keyword devices.

Nevertheless, a device that can make a hard copy of an image quickly and cheaply isn’t something you just stop thinking about. After rolling the concept around in his head for a few years, [Ch00f] finally came up with the perfect build – a camera.

The hardware for the build is based around an STM32F4 Discovery board. It’s a bit overpowered for this sort of application, and this is one of [Ch00f]’s first adventures in ARM-land. The rest of the hardware consists of a thermal receipt printer and a JPEG camera, the latter of which replaced a cellphone CMOS camera module that was lost in a move.

A custom camera requires a custom enclosure, and for this [Ch00f] made something remarkable. The entire enclosure is CNC milled out of a beautiful piece of figured walnut. The end result looks far too good for a prototype, but it does polish up nicely with a bit of linseed oil.

Now [Ch00f] has an instant camera that takes the idea of a Polaroid and turns it into something that produces a print for tenths of a cent. There’s a time-lapse function – just a zip tie on the shutter button – filters with the help of highlighters, and the ability to record movies in flipbook format.

It’s a great project, and also something that will make for a great crowdfunding campaign. [Ch00f] has already started work on this. He already has a sleek, modern-looking website that requires far too much scrolling than should be necessary – the first step to a winning Kickstarter. [Ch00f] also learned a lot about ARMs, DMA, dithering, gamma correction, and the JPEG format, but that’s not going to get anyone to open up their wallet. You know what will? A slick video. You’ll find that below.

Continue reading “Towards More Interesting Instant Cameras”

Improving A Modern Instant Camera

Instant film never went away – Fujifilm has been producing instant film for decades before Polaroid ceased production. Yes, cries of a lost photographic heritage were all for naught, and you can still buy an instant camera. [Dan] picked up a Fujifilm Instax Wide camera – an instant camera that produces not-square images – and figured some electronic tinkering could vastly expand the capabilities of this camera. He took it apart and made some modifications, giving it a bulb mode for long exposures and multi-exposure capability.

[Dan] began his tinkering by figuring out how to put multiple exposures on one frame of film. The Instax Wide camera has an eject sensor, a wire for the shutter button, and a few wires leading to the motor. By adding a switch to turn off the motor and a pushbutton to bypass the ejection sensor, [Dan] can stack multiple exposures on a single frame of film.

Multiple exposures are one thing, but how about longer exposures for light painting and all those other cool things you can do with microcontrolled LEDs? Modding the camera for that is pretty easy. All you need are a few mini toggle switches. It’s just a simple matter of opening the shutter for as long as you need, painting a scene with light, and flipping a few more switches to eject the film. [Dan] is getting some pretty respectable exposures with this – somewhat impressive considering the camera’s fixed aperture.

Serial Camera, Courtesy of the STM32F4

Look around for a small, embedded camera module, and you’ll find your options are rather limited. You have the serial JPEG cameras, but they’re rather expensive and only have VGA resolution. A Raspi, webcam, and power supply is a false economy. GoPros are great, but you’re still looking at some Benjamins used.

The guys at GHI Electronics are taking a different tack. They’re using image sensors you would normally find in cellphones and webcams, adding a powerful ARM processor, and are still able to sell it for about $50. It’s called the ALCAM, and they’ve stumbled upon a need that hasn’t been met by any manufacturer until now.

On board the ALCAM is an OV3640 3-Megapixel image sensor. On the back of the board is a STM32F4 and a microSD card slot. The board can be set up for time-lapse videos, stop motion animation, or all the usual serial board camera functions, including getting images over a serial connection.

The ALCAM operates either connected to a PC though a 3.3V serial adapter cable, through a standalone mode with pins connected to a button or sensor, to the SPI bus on a microcontroller, or a serial to Bluetooth or WiFi bridge. Images can be saved to the uSD card, or sent down the serial stream.

It’s a pretty cool board, and if you’re thinking it looks familiar, you’re right: there’s a similar DSI camera/STM32F4 board that was an entry to The Hackaday Prize. Either way, just what we need to get better cameras cheaper into projects.

Astrophotography and Data-Analysis Sense Exoplanets

[David Schneider] was reading about recent discoveries of exoplanets. Simply put these are planets orbiting stars other than the sun. The rigs used by the research scientists include massive telescopes, but the fact that they’re using CCD sensors led [David] to wonder if a version of this could be done on the cheap in the backyard. The answer is yes. By capturing and processing data from a barn door tracker he was able to verify a known exoplanet.

Barn Door trackers are devices used to move a camera to compensate for the turning of the earth. This is necessary when taking images throughout the night, as the stars will not remain “stationary” to the camera’s frame without it. The good news is that they’re simple to build, we’ve seen a few over the years.

Other than having to wait until his part of the earth was pointed in the correct direction (on a clear night) at the same time as an exoplanet transit, [David] was ready to harvest all the data he needed. This part gets interesting really quickly. The camera needed to catch the planet passing in between the earth and the star it revolves around (called a transit). The data to prove this happened is really subtle. To uncover it [David] needed to control the data set for atmospheric changes by referencing several other stars. From there he focused on the data for the transit target and compared points across the entire set of captured images. The result is a dip in brightness that matches the specifications of the original discovery.

[David] explains the entire process in the clip after the break.

Continue reading “Astrophotography and Data-Analysis Sense Exoplanets”

Analog Instagram

Several decades ago, the all the punks and artsy types had terrible lenses with terrible camera that leaked light everywhere. Film was crap, and thus was born the fascinating world of Lomography, with effects and light leaks unique to individual cameras. Now, everyone has a smartphone with high-resolution sensors, great lenses, and Instagram to replicate the warm look of filters, light leaks, and other ‘artististic’ photographic techniques. The new version of this photography is purely in the digital domain, and wouldn’t it be great if there was a way to make your digital selfies analog once again? The SnapJet team has your back.

Instead of adding filters and other digital modifications to smartphone snaps, the SnapJet prints pictures onto Polaroid film. Yes, you can still buy this film, and yes, it’s exactly how you remember it. By putting a smartphone down on the SnapJet, you’ll only need to press a button, wait for the film to be exposed, dispensed, and developed. What comes out of the SnapJet is an analog reproduction of whatever is displayed on your phone’s screen, with all the digital filters you can imagine and the option to modify the photos in the analog domain; eac Polaroid can be turned into a transparency, with backlit LEDs being an obvious application:

gif

Continue reading “Analog Instagram”

Simple Thermal Imager with a Lepton Module

[Andrew] designed a simple thermal imager using the FLIR Lepton module, an STM32F4 Nucleo development board, and a Gameduino 2 LCD. The whole design is connected using jumper wires, making it easy to duplicate if you happen to have all the parts lying around (who doesn’t have a bunch of thermal imaging modules lying around!?).

The STM32F4 communicates with the Lepton module using a driver that [Andrew] wrote over a 21MHz SPI bus. The driver parses SPI packets and assembles frames as they are received. Images can be mapped to pseudocolor using a couple different color maps that [Andrew] created. His code also supports min/max scaling to map the pseudocolor over the dynamic range present in the image.

Unfortunately the Lepton module that [Andrew]’s design is based is only sold in large quantities. [Andrew] suggests ripping one out of a FLIR ONE iPhone case which are more readily available. We look forward to seeing what others do with these modules once they are a bit easier to buy.