Paint The Rainbow With This Skittle-Dropping Pixel Art Robot

We hackers just can’t get enough of sorters for confections like Skittles and M&Ms, the latter clearly being the superior candy in terms of both sorting and snackability. Sorting isn’t just about taking a hopper of every color and making neat monochromatic piles, though. [JohnO3] noticed that all those colorful candies would make dandy pixel art, so he built a bot to build up images a Skittle at a time.

Dubbed the “Pixel8R” after the eight colors in a regulation bag of Skittles, the machine is a largish affair with hoppers for each color up top and a “canvas” below with Skittle-sized channels and a clear acrylic cover. The hoppers each have a rotating disc with a hole to meter a single Skittle at a time into a funnel which is connected to a tube that moves along the top of the canvas one column at a time. [JohnO3] has developed a software toolchain to go from image files to Skittles using GIMP and a Python script, and the image builds up a row at a time until 2,760 Skittle-pixels have been placed.

The downside: sorting the Skittles into the hoppers. [JohnO3] does this manually now, but we’d love to see a sorter like this one sitting up above the hoppers. Or, he could switch to M&Ms and order single color bags. But where’s the fun in that?

[via r/arduino]

The Clickiest Game Of Tetris You’ll Ever Play, On A Flip-Dot

Like many other classics it’s easy to come up with ways to ruin Tetris, but hard to think of anything that will make it better. Adding more clickiness is definitely one way to improve the game, and playing Tetris on a flip-dot display certainly manages to achieve that.

The surplus flip-dot display [sinowin] used for this version of Tetris is a bit of an odd bird that needed some reverse engineering to be put to work. The display is a 7 x 30 matrix with small dots, plus a tiny green LED for each dot. Those LEDs turned out to be quite useful for replicating the flashing effect used in the original game when a row of blocks was completed, and the sound of the dots being flipped provides audio feedback. The game runs on a Teensy through a custom driver board and uses a Playstation joystick for control. The video below, in perfectly acceptable vertical format, shows the game in action and really makes us want to build our own, perhaps with a larger and even clickier flip-dot display.

The best thing about Tetris is its simplicity: simple graphics, simple controls, and simple gameplay. It’s so simple it can be played anywhere, from a smartwatch to a business card and even on a transistor tester.

Continue reading “The Clickiest Game Of Tetris You’ll Ever Play, On A Flip-Dot”

A Year-Long Experiment In OLED Burn-In

If you need to add a small display to your project, you’re not going to do much better than a tiny OLED display. These tiny display are black and white, usually found in resolutions of 128×64 or some other divisible-by-two value, they’re driven over I2C, the libraries are readily available, and they’re cheap. You can’t do much better for displaying a few numbers and text than an I2C OLED. There’s a problem, though: OLEDs burn out, or burn in, depending on how you define it. What’s the lifetime of these OLEDs? That’s exactly what [Electronics In Focus] is testing (YouTube, in Russian, so click the closed captioning button).

The experimental setup for this is eleven OLED displays with 128×64 pixels with an SSD1306 controller, all driven by an STM32 over I2C. Everything’s on a breadboard, and the actual display is sixteen blocks, each lit one after another with a one-second display in between. This is to test gradually increasing levels of burnout, and from a surface-level analysis, this is a pretty good way to see if OLED pixels burn out.

After 378 days of testing, this test was stopped after there were no failed displays. This comes with a caveat: after a year of endurance testing, there were a few burnt out pixels. correlating with how often these pixels were on. The solution to this problem would be to occasionally ‘jiggle’ the displayed text around the screen, turn the display off when no one is looking at it, or alternatively write a screen saver for OLEDs. That last bit has already been done, and here are the flying toasters to prove it. This is an interesting experiment, and although that weird project you’re working on probably won’t ping an OLED for a year of continuous operation, it’s still something to think about. Video below.

Continue reading “A Year-Long Experiment In OLED Burn-In”

Improving Depth Of Field With Only 5 Phones

The hottest new trend in photography is manipulating Depth of Field, or DOF. It’s how you get those wonderful portraits with the subject in focus and the background ever so artfully blurred out. In years past, it was achieved with intelligent use of lenses and settings on an SLR film camera, but now, it’s all in the software.

The franken-camera rig, consisting of five Pixel 3 smartphones. The cameras are synchronised over WiFi.

For the Pixel 2 smartphone, Google had used some tricky phase-detection autofocus (PDAF) tricks to compute depth data in images, and used this to decide which parts of images to blur. Distant areas would be blurred more, while the subject in the foreground would be left sharp.

This was good, but for the Pixel 3, further development was in order. A 3D-printed phone case was developed to hold five phones in one giant brick. The idea was to take five photos of the same scene at the same time, from slightly different perspectives. This was then used to generate depth data which was fed into a neural network. This neural network was trained on how the individual photos relate to the real-world depth of the scene.

With a trained neural network, this could then be used to generate more realistic depth data from photos taken with a single camera. Now, machine learning is being used to help your phone decide which parts of an image to blur to make your beautiful subjects pop out from the background.

Comparison images show significant improvement of the “learned” depth data versus just the stereo-PDAF generated depth data. It’s yet another shot fired in the smartphone camera arms race, that shows no signs of abating. We just wonder when the Geiger counter mods are going to ship from factory.

[via AndroidPolice]

Adventures In Gas Filled Tube Arrays

Vacuum tubes are awesome, and Nixies are even better. Numitrons are the new hotness, but there’s one type of tube out there that’s better than all the rest. It’s the ИГГ1-64/64M. This is a panel of tubes in a 64 by 64 grid, some with just green dots, some with green and orange, and even a red, green, blue 64 by 64 pixel matrix. They’re either phosphors or gas-filled tubes, but this is the king of all tube-based displays. Not even the RGB CRTs in a Jumbotron can match the absurdity of this tube array.

[Muth] got his hands on a few of these panels, and finally he’s displaying images on them. It’s an amazing project that involved finding the documentation, translating it, driving the tubes with 360 Volts, and figuring out a way to drive 128 inputs from just a few microcontroller pins.

First, the power supply. These panels require about 360 Volts to light up. This is significantly higher than what would usually be found in a Nixie clock or other normal tube-based display. That’s no problem, because a careful reading of the datasheet revealed a circuit that brings a normal-ish 180 Volt Nixie power supply up to the proper voltage. To drive these pixels, [Muth] settled on a rather large PIC18F microcontroller with eight tri-state buffers. The microcontroller takes data over a serial port and scans through the entire framebuffer. All in all, there are eight driver boards, 736 components, and 160 wires connecting everything together. It’s a lot of work, but now [Muth] has a 64×64 display that’s green and orange.

You can check out a ‘pixel dust’ demo of this display in action below.

Continue reading “Adventures In Gas Filled Tube Arrays”

Marquee Display Uses Six Dozen Surplus VFD Tubes To Great Effect

The quest to repurpose surplus parts into new and interesting displays never ends, it seems. And the bigger the display, the better, with extra points for using some really obscure part, like these surplus Russian vacuum-fluorescent tubes turned into a marquee display.

As [tonyp7] freely admits, this is a pet project that’s just for the fun of it, made possible by the flood of surplus parts on the market these days. The VFD tubes are IV-25s, Russian tubes that can be had by the fistful for a song from the usual sources. The seven small elements in the tube were intended to make bar graph displays like VU meters, but [tonyp7] ganged up twelve side by side to make 84-pixel displays. The custom driver board for each matrix needs three of the old SN75518 driver chips, in 40-pin DIPs no less. A 3D-printed bracket holds the tubes and the board for each module; it looks like a clock is the goal, with six modules ganged together. But the marquee display shown below is great too, and we look forward to seeing the finished project.

From faux-Nixies made with LEDs to flip-segment displays driven by relay logic to giant seven-segment LEDs that can be 3D-printed, we really like the trend to unique displays. What are you dreaming up?

Continue reading “Marquee Display Uses Six Dozen Surplus VFD Tubes To Great Effect”

Flip-Dot Display Brought Out Of Retirement By New Drivers

LED matrix displays and flat-screen monitors have largely supplanted old-school electromechanical models for public signage. We think that’s a shame, but it’s also a boon for the tinkerer, as old displays can be had for a song these days in the online markets.

Such was the case for [John Whittington] and his flip-dot display salvaged from an old bus. He wanted to put the old sign back to work, but without a decent driver, he did what one does in these situations — he tore it down and reverse engineered the thing. Like most such displays, his Hannover Display 7 x 56-pixel flip-dot sign is electromechanically interesting; each pixel is a card straddling the poles of a small electromagnet. Pulse the magnet and the card flips over, changing the pixel from black to fluorescent green. [John] used an existing driver for the sign and a logic analyzer to determine the protocol used by the internal electronics to drive the pixels, and came up with a much-improved method of sending characters and graphics. With a Raspberry Pi and power supply now resident inside the case, a web-based GUI lets him display messages easily. The video below has lots of details, and the code is freely available.

You may recall [John] from a recent edge-lit Nixie-like display. Looks like he’s got a thing for eye-catching displays, and we’re fine with that.

Continue reading “Flip-Dot Display Brought Out Of Retirement By New Drivers”