Twitch Stream Turned Infinity Mirror

Most Hackaday readers are likely to be familiar with the infinity mirror, a piece of home decor so awesome that Spock still has one up on the wall in 2285. The idea is simple: two parallel mirrors bounce and image back and forth, which creates a duplicate reflection that seems to recede away into infinity. A digital version of this effect can be observed if you point a webcam at the screen that’s displaying the camera’s output. The image will appear to go on forever, and the trick provided untold minutes of fun during that period in the late 1990’s where it seemed everyone had a softball-shaped camera perched on their CRT monitors.

Making use of that webcam in 2018.

While you might think you’ve already seen every possible variation of this classic visual trick, [Matt Nishi-Broach] recently wrote in to tell us about an infinity mirror effect he’s created using the popular streaming platform Twitch. The public is even invited to fiddle with the visuals through a set of commands that can be used in the chat window.

It works about how you’d expect: the stream is captured, manipulated through various filters, and then rebroadcast through Twitch. This leads to all sorts of weird visual effects, but in general gives the impression that everything is radiating from a central point in the distance.

While [Matt] acknowledges that there are probably not a lot of other people looking to setup their own Twitch feedback loops, he’s still made his Python code available for anyone who might be interested. There’s a special place in Hacker Valhalla for those who release niche software like this as open source. They’re the real MVPs.

If you’d like to get started on your infinite journey with something a bit more physical, we’ve covered traditional infinity mirror builds ranging from the simplistic to the gloriously over-engineered.

RGB Sensor’s New Job: Cryptocurrency Trade Advisor

[XenonJohn] dabbles in cryptocurrency trading, and when he saw an opportunity to buy an RGB color sensor, his immediate thought — which he admitted to us would probably not be the immediate thought of most normal people — was that he could point it to his laptop screen and have it analyze the ratio of green (buy) orders to red (sell) orders being made for crypto trading. In theory, if at a given moment there are more people looking to buy than there are people looking to sell, the value of a commodity could be expected to go up slightly in the short-term. The reverse is true if a lot of sell orders coming in relative to buy orders. Having this information and possibly acting on it could be useful, but then again it might not. Either way, as far as out-of-left-field project ideas go, promoting an RGB color sensor to Cryptocurrency Trading Advisor is a pretty good one.

Since the RGB sensor only sees what is directly in front of it, [XenonJohn] assembled a sort of simple light guide. By enclosing the area of the screen that contains orders in foil-lined cardboard, the sensor can get a general approximation of the amount of red (sell orders) versus green (buy orders). The data gets read by an Arduino which does a simple analysis and sends alerts when a threshold is crossed. He dubbed it the Crypto-Eye, and a video demo is embedded below.

Continue reading “RGB Sensor’s New Job: Cryptocurrency Trade Advisor”

Vlogging With Vintage 1980s Equipment

[Dan Mace] decided to try vlogging 1980s style. To do this, he built Pram Cam — a one-man mobile video recording setup using vintage gear. [Dan] is a YouTuber from Cape Town, South Africa. His goal for this project was to motivate people to get out there and make videos. Smartphones, action cams, and modern video equipment all have made it incredibly easy to create content.

[Dan] reminds us of this by grabbing a vintage 1984 video camera – a Grundig vs150 VHS recorder. He couples the camera with a sturdy video tripod, blimp microphone, CRT TV as a monitor, and everything else needed for a period-accurate recording setup.

In a build sequence even the A-Team would appreciate, [Dan] tears down a rusty old three wheel pram, or baby carriage for the Americans out there. He then mounts the video setup to the pram frame using duct tape, zip ties, and a few odd pieces of wood. The result is a proper hacked off-road rolling video studio.

He then uses Pram Cam to film some of the great scenery in Cape Town — beaches, rocky cliffs, and even a helicopter ride. To say the pram was a bit more cumbersome than a cell phone would be the understatement of the year.

The video quality from the camera looks quite a bit worse than we would expect. Some of this may be due to Dan’s digitizing system though the chances are it’s from the camera itself. The Grundig captured video using a Saticon, which was Hitachi’s version of the video camera tube. That’s right, this is a tube based camera – no CMOS sensor, nor CCD. Tubes might not have Jello effect, but they do have all the blooming, motion blur, and other problems one might expect from a 34-year-old device.

What becomes of the Pram Cam? You’ll have to watch the video below to find out. Dan’s message is clear though: get out there and film something. Of course this is Hackaday, so if we’ll add that you should build something — then film it!

Continue reading “Vlogging With Vintage 1980s Equipment”

Trashed Vector Game Console Revived With Vintage IBM Monitor

We’ve all had the heartbreak of ordering something online, only to have it arrive in less than mint condition. Such are the risks of plying the global marketplace, only more so for used gear, which seems to be a special target for the wrath of sadistic custom agents and package handlers all along the supply chain.

This cruel fate befell a vintage Vectrex game console ordered by [Senile Data Systems]; the case was cracked and the CRT was an imploded mass of shards. Disappointing, to say the least, but not fatal, as he was able to make a working console from the remains of the Vectrex and an old IBM monitor. The Google translation is a little rough, but from what we can gather, the Vectrex, a vector-graphics console from the early 80s with such hits as MineStorm, Star Castle, and Clean Sweep, was in decent shape apart from the CRT. So with an old IBM 5151 green phosphor monitor, complete with a burned-in menu bar, was recruited to stand in for the damaged components. The Vectrex guts, including the long-gone CRT’s deflection yoke assembly, were transplanted to the new case. A little room was made for the original game cartridges, a new controller was fashioned from a Nintendo candy tin, and pretty soon those classic games were streaking and smearing across the long-persistence phosphors. We have to admit the video below looks pretty trippy.

If arcade restorations are your thing, display replacements like this are probably part of the fun. Here’s a post about replacing an arcade display with a trash bin CRT TV, an important skill to have is this business.

Continue reading “Trashed Vector Game Console Revived With Vintage IBM Monitor”

No-Battery HD Video Streaming Does It With Backscatter

What if Google Glass didn’t have a battery? That’s not too far fetched. This battery-free HD video streaming camera could be built into a pair of eyeglass frames to stream HD video to a nearby phone or other receiver using no bulky batteries or external power source. Researchers at the University of Washington are using backscatter to pull this off.

The problem is that a camera which streams HD video wirelessly to a receiver consumes over 1 watt due to the need for a digital processor and transmitter. The researchers have separated the processing hardware into the receiving unit. They then send the analog pixels from the camera sensor directly to backscatter hardware. Backscatter involves reflecting received waves back to where they came from. By adding the video signal to those reflected waves, they eliminated the need for the power-hungry transmitter. The full details are in their paper (PDF), but here are the highlights.

Battery-free camera design approach

On the camera side, the pixel voltages (CAM Out) are an analog signal which is fed into a comparator along with a triangular waveform. Wherever the triangle wave’s voltage is lower than the pixel voltage, the comparator outputs a 0, otherwise, it outputs a 1. In this way, the pixel voltage is converted to different pulse widths. The triangular waveform’s minimum and maximum voltages are selected such that they cover the full possible range of the camera voltages.

The sub-carrier modulation with the XOR gate in the diagram is there to address the problem of self-interference. This is unwanted interference from the transmitter of the same frequency as the carrier. And so the PWM output is converted to a different frequency using a sub-carrier. The receiver can then filter out the interference. The XOR gate is actually part of an FPGA which also inserts frame and line synchronization patterns.

They tested two different implementations with this circuit design, a 112 x 112 grayscale one at up to 13 frames per second (fps) and an HD one. Unfortunately, no HD camera on the market gives access to the raw analog pixel outputs so they took HD video from a laptop using USB and ran that through a DAC and then into their PWM converter. The USB limited it to 10 fps.

The result is that video streaming at 720p and 10 fps uses as low as 250 μW and can be backscattered up to sixteen feet. They also simulated an ASIC which achieved 720p and 1080p at 60 fps using 321 μW and 806 μW respectively. See the video below for an animated explanation and a demonstration. The resulting video is quite impressive for passive power only.

If the University of Washington seems familiar in the context of backscatter, that’s because we’ve previously covered their battery-free (almost) cell phone. Though they’re not the only ones experimenting with it. Here’s where backscatter is being used for a soil network. All of this involves power harvesting, and now’s a great time to start brushing up on these concepts and building your own prototypes. The Hackaday Prize includes a Power Harvesting Challenge this year.

Continue reading “No-Battery HD Video Streaming Does It With Backscatter”

IKEA Lamp With Raspberry Pi As The Smartest Bulb In The House

We love to hack IKEA products, marvel at Raspberry Pi creations, and bask in the glow of video projection. [Nord Projects] combined these favorite things of ours into Lantern, a name as minimalist as the IKEA lamp it uses. But the result is nearly magic.

The key component in this build is a compact laser-illuminated video projector whose image is always in focus. Lantern’s primary user interface is moving the lamp around to switch between different channels of information projected on different surfaces. It would be a hassle if the user had to refocus after every move, but the focus-free laser projector eliminates that friction.

A user physically changing the lamp’s orientation is detected by Lantern’s software via an accelerometer. Certain channels project an information overlay on top of a real world object. Rather than expecting its human user to perform precise alignment, Lantern gets feedback from a Raspberry Pi camera to position the overlay.

Speaking of software, Lantern as presented by [Nord Projects] is a showcase project under Google’s Android Things umbrella that we’ve mentioned before. But there is nothing tying the hardware directly to Google. Since the project is open source with information on Hackster.io and GitHub, the choice is yours. Build one with Google as they did, or write your own software to tie into a different infrastructure (MQTT?), or a standalone unit with no connectivity at all.

Continue reading “IKEA Lamp With Raspberry Pi As The Smartest Bulb In The House”

Real-Time Polarimetric Imager From 1980s Tech

It’s easy to dismiss decades old electronics as effectively e-waste. With the rapid advancements and plummeting prices of modern technology, most old hardware is little more than a historical curiosity at this point. For example, why would anyone purchase something as esoteric as 1980-era video production equipment in 2018? A cheap burner phone could take better images, and if you’re looking to get video in your projects you’d be better off getting a webcam or a Raspberry Pi camera module.

But occasionally the old ways of doing things offer possibilities that modern methods don’t. This fascinating white paper from [David Prutchi] describes in intricate detail how a 1982 JVC KY-1900 professional video camera purchased for $50 on eBay was turned into a polarimetric imager. The end result isn’t perfect, but considering such a device would normally carry a ~$20,000 price tag, it’s good enough that anyone looking to explore the concept of polarized video should probably get ready to open eBay in a new tab.

Likely many readers are not familiar with polarimetric imagers, it’s not exactly the kind of thing they carry at Best Buy. Put simply, it’s a device that allows the user to visualize the polarization of light in a given scene. [David] is interested in the technology as, among other things, it can be used to detect man-made materials against a natural backdrop; offering a potential method for detecting mines and other hidden explosives. He presented a fascinating talk on the subject at the 2015 Hackaday SuperConference, and DOLpi, his attempt at building a low-cost polarimetric imager with the Raspberry Pi, got him a fifth place win in that year’s Hackaday Prize.

While he got good results with his Raspberry Pi solution, it took several seconds to generate a single frame of the image. To be practical, it needed to be much faster. [David] found his solution in an unlikely place, the design of 1980’s portable video cameras. These cameras made use of a dichroic beamsplitter to separate incoming light into red, blue, and green images; and in turn, each color image was fed into a dedicated sensor by way of mirrors. By replacing the beamsplitter assembly with a new 3D printed version that integrates polarization filters, each sensor now receives an image that corresponds to 0, 45, and 90 degrees polarization.

With the modification complete, the camera now generates real-time video that shows the angle of polarization as false color. [David] notes that the color reproduction and resolution is quite poor due to the nature of 30+ year old video technology, but that overall it’s a fair trade-off for running at 30 frames per second.

In another recent project, [David] found a way to hack optics onto a consumer-level thermal imaging camera. It’s becoming abundantly clear that he’s not a big fan of leaving hardware in an unmodified state.