Massive Shift Register Switches Lights

Sometimes you have to switch a light. Maybe it’s an LED but sometimes it’s mains-powered. That’s not too hard, a transistor and a relay should do it. If you have to switch more lights, that’s not too bad either, as long as your microcontroller has enough free GPIOs. But, if you need to switch a large number of lights, like 256 of them, for example, you’re going to need something else.

[Jan]’s project didn’t switch quite that many lights, but 157 of them is still enough of a chore to need a creative solution so he decided to use a 256-bit shift register to do the legwork. The whole thing is powered by a NodeMCU ESP8266 and was professionally built on DIN rails in a metal enclosure.

The build is interesting, both from a technical point of view and from an artistic one. It looks like it uses more than a mile of wiring, too. The source code is also available on the project page if you happen to have a need for switching a huge number of lightbulbs. Incandescent blulbs aren’t only good for art installations and lamps, though, they can also be used in interesting oscillator circuits too.

Linux Fu: File Aliases, Links, And Mappings

Have you heard it said that everything in Linux is a file? That is largely true, and that’s why the ability to manipulate files is crucial to mastering Linux Fu.

One thing that makes a Linux filesystem so versatile is the ability for a file to be many places at once. It boils down to keeping the file in one place but using it in another. This is handy to keep disk access snappy, to modify a running system, or merely to keep things organized in a way that suits your needs.

There are several key features that lend to this versatility: links, bind mounts, and user space file systems immediately come to mind. Let’s take a look at how these work and how you’ll often see them used.

Continue reading “Linux Fu: File Aliases, Links, And Mappings”

Gamecube Dock For Switch Mods Nintendo With More Nintendo

[Dorison Hugo] let us know about a project he just completed that not only mods Nintendo with more Nintendo, but highlights some of the challenges that come from having to work with and around existing hardware. The project is a Gamecube Dock for the Nintendo Switch, complete with working Gamecube controller ports. It looks like a Gamecube with a big slice out of it, into which the Nintendo Switch docks seamlessly. Not only that, but thanks to an embedded adapter, original Gamecube controllers can plug into the ports and work with the Switch. The original orange LED on the top of the Gamecube even lights up when the Switch is docked. It was made mostly with parts left over from other mods.

The interesting parts of this project are not just the attention to detail in the whole build, but the process [Dorison] used to get everything just right. Integrating existing hardware means accepting design constraints that are out of one’s control, such as the size and shape of circuit boards, length of wires, and often inconvenient locations of plugs and connectors. On top of it all, [Dorison] wanted this mod to be non-destructive and reversible with regards to the Nintendo Switch dock itself.

To accomplish that, the dock was modeled in CAD and 3D printed. The rest of the mods were all done using the 3D printed dock as a stand-in for the real unit. Since the finished unit won’t be painted or post-processed in any way, any scratches on both the expensive dock and the Gamecube case must be avoided. There’s a lot of under-cutting and patient sanding to get the cuts right as a result. The video (embedded below) steps through every part of the process. The final screws holding everything together had to go in at an odd angle, but in the end everything fit.

Continue reading “Gamecube Dock For Switch Mods Nintendo With More Nintendo”

Google Light Fields Trying To Get The Jump On Magic Leap

Light Field technology is a fascinating area of Virtual Reality research that emulates the way that light behaves to make a virtual scene look more realistic. By emulating light coming from multiple angles entering the eye, the scenes look more realistic because they look closer to reality. It is rumored to be part of the technology included in the forthcoming Magic Leap headset, but it looks like Google is trying to steal some of their thunder. The VR research arm of the search giant has released a VR app called Welcome to Light Fields that uses a similar technique on existing VR headsets, such as those from Oculus and Microsoft.

Continue reading “Google Light Fields Trying To Get The Jump On Magic Leap”