Is This The World’s Smallest N-Scale Train Layout?

There’s just something about miniature worlds — they’re just so relaxing to look at and ponder. Think you don’t have ample room for a model train layout at your place? You may not be thinking small enough. [Peter Waldraff] knows a thing or two about hiding train layouts inside of furniture (that’s one solution), but this time, he’s built a track in plain sight that’s meant to sit on the bookshelf. The whole thing is just 5.5″ x 12″.

This N-scale layout was three years in the making, mostly because [Peter] was waiting for just the right little powered chassis to come along. For the layout, [Peter] started by creating custom flexible track by removing pieces with a sharp knife. He glued down the track to pink foam and used nails to hold it in place while the glue dried. He also built a wood frame around the base to stabilize it and hold some of the electronic components, including a switch made from an old ballpoint pen.

Then it was time to start decorating the thing, beginning with a couple of buildings made from more pink foam that are both lit up with LEDs. Eventually, [Peter] added a bunch of details like streetlights, animals, and garbage cans that really make the layout pop. As far as the engine goes, [Peter] picked up a Tomytec TM-TR02 on eBay and built a trolley out of two broken cars. [Peter]’s build is something you just have to see for yourself — fortunately for you, the build and demo video is after the break.

Like we said, [Peter]’s usual territory is hiding train layouts in end tables and coffee tables and the like, so it’s nice to see what he can do given different constraints.

Continue reading “Is This The World’s Smallest N-Scale Train Layout?”

LED Art Project Is Geometrically Beautiful

There is no shortage of companies on the Internet willing to sell you expensive glowing things to stick on your walls. Many hackers prefer to make their own however, and [Chris] is no exception. His LED wall art is neat, tidy, and stylish, all at once.

Wanting a geometric design, [Chris] decided to have his layout designed by a random number generator. He created his own tool that would generate a design using preset segment lengths arranged in a random fashion. Once he found a layout that worked for him, he designed a set of plastic adapters that would let him connect pre-cut lengths of aluminium channel together so he could assemble his design.

With the frame complete, he then laid the LED strips into the channels, after mapping out how he would connect the full circuit of addressable LED strips. He enlisted a Raspberry Pi Zero W as the brains of the operation, responsible for commanding the strips to light in the colors of his desire.

In a nice aesthetic touch, he sanded the whole frame and painted it a uniform grey color. This hid the joins between the 3D-printed parts and the aluminium channels, and gave it a more finished look. He also went to the trouble of graphing out the locations of the various LEDs in the frame, and used this data as the basis for animations that race between points on the frame. It’s somehow more compelling than the usual simple color fades and flashes of typical commercial products.

It’s a tidy build, and a level more artful than some of the off-the-shelf products out there. For his investment of time and money, [Chris] has netted an excellent piece of wall art in the process.

LED Tester Also Calculates Resistor For Target Voltage

[mircemk] built a slick-looking LED tester with a couple handy functions built in. Not only can one select a target current to put through an LED, but by providing a target voltage, the system will automatically calculate the necessary series resistor. If for example the LED is destined for 14 V, this device will not only show how the LED looks at the chosen current, but will calculate the required resistor to get the same results on a 14 V system.

The buttons on the left control the target current and the voltage of the destination system. Once an LED is connected it will light up and the display indicates the LED’s forward voltage, the LED current, and the calculated series resistor value to obtain the same result at the selected target voltage. It’s a handy way to empirically dial in LED brightness values without needing to actually set up any particular test environment.

On the inside there’s little more than a handful of passive components, an Arduino, an LCD display, and a few buttons. This kind of tool reminds us of the highly clever component testers that hit the hobbyist scene years ago, showing what kind of advanced tricks a modern microcontroller is capable of with the right programming. (Here’s a look at how those work, if you’re interested in some deeper details.)

[mircemk] demonstrates his tool in the video, embedded below. We particularly like the attention he paid to the enclosure, giving it a very functional layout. It goes to show that when designing something, it’s never too early to consider enclosure and UI layout.

Continue reading “LED Tester Also Calculates Resistor For Target Voltage”

Build Your Own Nanoleaf-Like Hex Lights

Nanoleaf makes a variety of beautiful LED lighting products, with their hexagon tiles particularly popular with gamers and streamers alike. However, they do come at a significant cost, particularly if you want to put together a larger display. [Giovanni Aggiustatutto] decided to build his own version from scratch, with a nice wooden finish to boot.

The benefit of the wooden design is that the panels look nice both when they’re switched on, and when they’re switched off. [Giovanni] selected attractive okumè plywood for the build, which is affordable and has a lovely grain. The hexagons were then fitted on their back side with strips of WS2812B LEDs. The first hexagon is fitted with an ESP32 that runs the lights, with the other hexagons having their LEDs daisychained from there. 3D printed frames were then fitted to each hexagon to allow them to be connected together into a larger wall-hanging piece.

Ultimately, building your own wall lights lets you customize them to operate exactly as you want, and often lets you save a lot of money, too. We’ve featured other similar builds before, too. Video after the break.

Continue reading “Build Your Own Nanoleaf-Like Hex Lights”

Building An Animated Turn Signal For The Mazda MX-5

Turn signals in most of the world are mandated to be a flashing orange light, distinct from other bulbs on a vehicle. However, there has been a trend in the modern era to go for fancier animated turn signals using great numbers of LEDs. [ssh16] decided to whip up a set of their own to suit their late-model Mazda MX-5.

Fully lit, the replacement is brighter than the original bulb by some margin.

While many builds go down the route of using addressable LEDs, [ssh16] instead went for garden variety OSRAM yellow LEDs in a 3×12 array, driven via a shift register. A small PIC microcontroller is then used to command the shift register to light the rows of LEDs in turn, generating the sequential lighting effect that sweeps from one side to the other. The LEDs are are installed on a 4″ board designed to install in place of the Mazda’s standard indicator bulb, with the animation spreading from the centerline of the vehicle out towards the direction of the turn.

It’s a fun build that modernizes the rear turn signals of the Mazda. We’ve seen some other neat turn signal builds before, too; it almost seems to be a trend amongst Mazda enthusiasts. Meanwhile, if you’ve built your own automotive lighting mods, don’t hesitate to send them in to the tipsline.

How The WS2812 Is Made

[Scotty Allen] of Strange Parts is no stranger to Chinese factory tours, but this one is now our favorite. He visits the font of all WS2812s, World Semi, and takes a good look at the machines that make two million LEDs per day.

The big deal with the WS2812s, and all of the similar addressable LEDs that have followed them, is that they have a logic chip inside the LED that enables all the magic. And that means die-bonding bare-die ICs into each blinky. Watching all of the machines pick, place, glue, and melt bond wire is pretty awesome. Don’t miss the demo of the tape-and-frame. And would you believe that they test each smart LED before they kick it out the door? There’s a machine that clocks some data in and reads it back out the other side.

Do we take the addressable LED for granted today? Probably. But if you watch this video, maybe you’ll at least know what goes into making one, and the next time you’re blinking all over the place, you’ll spill a little for the epoxy-squirting machine. After all, the WS2812 is the LED that prompted us to ask, three years ago, if we could live without one.
Continue reading “How The WS2812 Is Made”

Taking A Public Transit Display From Project To Product

We’ve noticed an uptick in “project to product” stories lately, which seems like a fantastic trend to us. It means that hackers are turning out projects that really resonate with people, to the degree that taking the leap and scaling up from a one-off to a marketable product is worth the inherent risk. And luckily enough for the rest of us, we get to learn from their experiences.

The latest example of this comes to us from [Stefan Schüller], who from the sound of things only reluctantly undertook the conversion of his LED matrix public transit sign into an actual product. The original project had a lot going for it; it looked fantastic, it was technologically simple, and it provided a valuable service. But as a project, it made certain assumptions and concessions that would cause problems when in the hands of a customer. Chief among these was the physical protection of the fragile LEDs, which could easily shear off the display modules if bumped or dropped. There were also firmware issues, such as access to the backend API that serves the transit data; requiring each customer to sign up for and configure their own API key is a non-starter for a product.

In the article, [Stefan] enumerates a long list of problems that going from project to product raises, as well as how he addressed them. The API issue was solved by implementing his own service, which acts as a middleman between the official API and his customers. A nice plexiglass and sheet-metal frame serves to protect the display, too. Design changes were made as well, not only to provide better functionality but to make manufacturing easier. [Stefan] also relates a tale of woe with regard to getting the display’s app into the app stores, something that few of us have to deal with when we’re just fiddling around with something on the bench.

All in all, [Stefan] does a great job walking us through the trials and tribulations of bringing a product to market. There are similar lessons in this production run scale-up, too, but with an entirely different level of project complexity.