Android Set Top Box Lets You Stream And Record Via HDMI Input

While on the hunt for some hardware that would let him stream video throughout his LAN [danman] got a tip to try the €69 Tronsmart Pavo M9 (which he points out is a re-branded Zidoo X9). With some handy Linux terminal work and a few key pieces of software [danman] was able to get this going.

The Android box was able to record video from the HDMI input with pre-installed software found in the main menu as [danman] explains on his blog. File format options are available in the record menu, however none of them were suitable for streaming the video (which was the goal, remember?).

[danman] was able to poke around the system easily since these boxes come factory rooted (or at least the Tronsmart variant that [danman] uses in his demo did). Can anyone with a Zidoo X9 verify access to the root directory?

Long story short, [danman] was able to get the stream working over the network. Although he did have to make some changes to the stream command he was issuing over ssh. He finds the fix in the ffmpeg documentation which saves you the trouble of reading through it but you’ll have to check out his blog post for that (pro tip: he links to a sweet little .apk reverse engineering tool as well).

We’ve seen set top box hacks before, however, streaming and recording HDMI at this price is a rare find. If you’ve been hacking up the same tree let us know in the comments, and don’t forget to send in those tips!

Driving WS2811 LEDs With…VGA?

We thought we’d seen it all. All the ways to drive WS2811/2812 “Neopixel” LEDs, that is. And then [Steve Hardy] comes up with a new one: hacking a computer’s VGA output to drive 500 WS2811s in a string. And it’s quite a hack. You can check out the video (it’s worth enduring the horrible wind noise) below the break.

bits[Steve]’s big realization was that he could send the digital data that the Neopixels needed by carefully selecting a resolution and clock rate for the VGA to match the timings that the WS2811 modules wanted. A resolution of 840×1000 at 28MHz produces 70 pixels per WS2811 bit, or 12 bits per line. This means two VGA lines need to be sent for the RGB triple for each LED, hence the 1000 rows.

There are some further tricks before [Steve] got around to writing a custom OpenGL shader that converts regular graphics to his strange black-and-white bit pattern to drive the LEDs, but you’re going to have to read [Steve’s] blog for all that. If you’re waiting for a full code write-up, [Steve] says that one’s pending.

We’re just stoked to see the computing power that lies within a video card used for other purposes. Once you think of the VGA output as a general-purpose high speed (analog!) output, it opens up a whole bunch of possibilities if you can write the corresponding video software. As [Steve] points out, he’s only using the red channel right now — he could trivially add another 1000 LEDs just by tweaking his video code.

Continue reading “Driving WS2811 LEDs With…VGA?”

Hillbilly Lego Focus Puller

There’s almost nothing you can’t build with the right set of Lego parts. [Rigjob] built up a Lego-based wireless remote follow-focus system that’ll give professional systems a run for their money.

Now [Rigjob] self-identifies as a hillbilly, but he’s not just a redneck with a camera. He’s set up the Lego controller to remember minimum and maximum focus positions as well as mark points along the way. The controller simply won’t turn the lens outside of the focus range, and an interactive graph shows you where you are within the range. For a focus wheel, he uses (drum-roll please!) a Lego off-road wheel. It looks really comfortable, usable, and actually quite professional.

There’s a lot of tech in the Lego controller and motors that make this “simple” hack simple. Under the hood, there’s a Bluetooth connection, a geared stepper motor with a position sensor, a communication protocol, and a whole ton of programming in the Lego controller that makes it all drag-and-drop programmable. But to a long-bearded hillbilly cameraman, it all looks like child’s play. And that’s the hallmark of good design. Kudos, Lego.

If you can’t get enough Lego camera tech, check out this DIY slit-scan stargate rig, or (what else?) a Lego 3D chocolate printer.

Continue reading “Hillbilly Lego Focus Puller”

Making A Wooden Multi-Mirror Display Device

Do you have 835 servo motors sitting around? Why not build your own binary wood-pixel-display-device?

Using the same basic concept as a DMD (Digital Micromirror Device) — the heart of all DLP projection technology — an artist created this wooden mirror. It features 835 wood “pixels” which are controlled by servo motors. Each pixel or wood chip can flip 30 degrees down, and 30 degrees up. A series of spot lights shining on the mirror provides lighting so shadows form when the pixels are “off”. The result is quite fascinating.

A small camera mounted in the middle of the display takes a black and white image of whoever (or whatever) is standing in front of the mirror. A bit of image processing later, and the mirror displays what it sees.

Continue reading “Making A Wooden Multi-Mirror Display Device”

Must-Have Overkill Christmas Tree Lights

The yuletide fire is out, so we’re starting to receive this year’s Christmas hacks. [Chris] sent us his awesome video-mapped tree lighting hack. His project made clever use of a bunch of cool tools, so even if you’re not thinking forward to next December, it’s worth a look. Still images don’t do it justice; check out the video below the break.

The end result is an addressable string of WS2812B LEDs connected up to a Raspberry Pi Zero that can display a video image even though it’s wrapped around a roughly cone-shaped (pine) object. But this is actually more impressive than you’d think at first; how would you map a flat image to a string of LEDs wrapped around a tree?

[Chris]’s solution was to write a routine that lit up the LEDs in a unique pattern and then detected them using OpenCV and a webcam, making the mapping directly. He then samples images from a video at exactly the points where the pixels are located on the tree, and sends this data out to the LEDs.

The basic framework here should transform fairly easily into a generic image-mapping procedure with randomly located LEDs, so we think it’s a hack that’ll outlast the season. And because it runs on the Pi Zero, everything is in Python so it’d be a good project for beginners to replicate. However, the code section on the project page still lists it as coming soon. We hope so!

Continue reading “Must-Have Overkill Christmas Tree Lights”

Make A Cheap GoPro Remote From An ESP8266

GoPro cameras are getting pretty sophisticated, but they can’t yet read minds: you have to tell them when to start recording. Fortunately, they can be remote controlled very easily over a WiFi connection, and this neat tutorial from [euerdesign] shows how you can use an ESP8266 to build a very cheap GoPro remote. The idea is simple: you press a button connected to the ESP8266, which is programmed with the details of the ad hoc WiFi network that the GoPro creates. It then posts a simple URL request to the GoPro, which starts recording. Total cost? A few bucks for the ESP8266, a button and a few bits of wire.

What the remote does is defined by the URL you set it to request: pretty much all of the features of a GoPro can be controlled this way. If you wanted to get fancy, you could expand this to create a multiple button remote that could do other things, such as change frame rate or start streaming to the interwebs in a situation where you don’t want to risk a smartphone or something equally expensive.

Continue reading “Make A Cheap GoPro Remote From An ESP8266”

PSoC VGA On A $10 Development Board

We’ve always found the Cypress PSoC an interesting beast. It’s a CPU with functional blocks that you can configure to build various I/O devices, including incorporating FPGA logic using Verilog. [MiguelVP] has an excellent multi-part project that produces VGA output from a PSoC. So far it just generates a fixed pattern, but a frame buffer is in the works, and there is plenty of detail about how to configure the PSoC for the task.

Although the PSoC has some analog capability, [MiguelVP] uses a cheap R2R DAC and VGA connector to interface to the VGA monitor. You can get the same PSoC board the project uses for about $10. The software, unfortunately, is Windows-only, so be prepared to fire up a virtual machine if you run Linux or Mac. Our own [Bil Herd] did a video introduction to PSoC that you can watch after the break.

Continue reading “PSoC VGA On A $10 Development Board”