That’s It, No More European IPV4 Addresses

When did you first hear concern expressed about the prospect of explosive growth of the internet resulting in exhaustion of the stock of available IP addresses? About twenty years ago perhaps? All computers directly connected to the internet must have an individual unique address, and the IPv4 scheme used since the 1980s has a 32-bit address space that provides only 4,294,967,296 possibilities. All that growth now means that IPv4 addresses are now in short supply, and this week RIPE, the body which allocates them in Europe, has announced that it no longer has any to allocate. Instead of handing new address blocks they will instead now provide ones that have been relinquished for example by companies that have gone out of business, and parties interested can join a waiting list.

Is the Internet dead then? Hardly, because of course IPv6, the replacement for IPv4, has been with us for decades and has a much larger 128-bit address space. The problem is that there is a huge installed base of IPv4 infrastructure which has always been cited as the reason to delay its adoption, so the vast majority of the internet-connected world has remained with IPv4. Even in an IPv4 world there are opportunities to be more efficient in the use of addresses such as the network address translation or NAT that many private networks use to share one address between many hosts, so it’s not quite curtains for your smart TV or IoT light bulb even though the situation will not get any easier.

The mystery comes in why after so many years we still use IPv4 so much. Your home router and millions like it will pick up an IPv4 address from your broadband provider’s pool, and there seems little reason why it can not instead pick up an IPv6 address and contain a gateway between the two. The same goes for addresses outside the domestic arena, and even in out community we find that IPv6 networks at events are labelled as experimental. Perhaps this news will spur the change, but meanwhile we don’t expect to be using an IPv6 address day-to-day very soon.

We know among Hackaday’s readership there will be people close to the coalface when it comes to IPv6 adoption. As always the comments are open, and we’d like to hear your views.

Header: Robert.Harker [CC BY-SA 3.0].

Add LEDs To Your Stained Glass

Stained glass is an art form that goes back many centuries, with the churches and cathedrals of Europe boasting many stunning examples from the mediaeval masters of the craft. You do not however have to go to York or Chartres cathedrals to experience stained glass, for it remains a vibrant and creative discipline with many contemporary practitioners. One thing the stained glass of today has in common with that of yesteryear though is that it remains static, being composed of pieces of glass held together by metal strips. This is something that [Frank Zhao] has addressed as he has evolved a technique that allows him to incorporate LEDs into static stained glass, making for a particularly eye-catching effect.

It’s likely that we join many readers in not knowing the intricacies of making a piece of stained glass, so his is a fascinating write-up for its step-by-step run-through. His stained glass cat has pieces of glass edged with copper tape, which he then solders together. Driving the LEDs is not something that should be alien to us, but his method of using the copper-and-solder stained glass joints as conductors for them by creating strategically placed cuts is very effective. The final effect is of a homogeneous piece without the cuts being particularly visible , but with a pleasing array of lights on the cat’s tail. Those of us for whom stained glass production is new have learned something of the technique, and stained glass artists have seen their craft do something completely new.

Stained glass hasn’t featured here too often, the closest we’ve come is this striking fake stained glass Iron-Man themed panel a few years ago.

Bringing The NES Cartridge Into The USB Age

An NES cartridge in its most basic form is a surprisingly simple device, it contains two ROMs hosting all the code and assets of its game, and a Nintendo code chip that provided what was a state-of-the-art consumer DRM system for the 1980s. Decades later its inner workings have been extensively reverse-engineered, and there have been quite a few custom and reprogrammable cartridge designs produced.

This hasn’t stopped [Troy Denton] and [Brad Taylor] making a cartridge of their own though, and the result of their labours is a fully USB reprogrammable cartridge for the Nintendo Entertainment System. It provides nonvolatile storage and is a simpler design than you might expect, using a pair of 1 megabit Flash chips and emulating Nintendo’s DRM with an ATtiny microcontroller.

In itself it’s an interesting enough design, but what makes the write-up stand out is the description of having the boards manufactured by a PCBA service, and their subsequent debugging. A surface-mount micro USB socket that shorted out the USB power required a bit of rework to place Kapton tape beneath it, while another clever patch uses the NES clock signal to provide a read-only line for the memory. It’s also interesting to hear about their manual “crowdfunding” approach which was to ask around if anyone else wanted one so they could bring unit cost down by producing more cartridges.

If you’re interested in the NES DRM system, it’s a subject we’ve touched on in the past.

Your Raspberry Pi Cluster Is Not Like This One

Many readers will have had their first taste of experimentation with cluster computing through the medium of the Raspberry Pi. The diminutive Linux capable boards can easily be hooked up as a group via a network hub, and given the right software become a whole that is greater than the sum of its parts. None of us will however have reached the heights of the Raspberry Pi cluster shown by Oracle at their Oracle OpenWorld conference, a mighty rack packing a cluster of no less than 1060 Pi 3 B+ boards. This machine is touted as a supercomputer and it’s worthy of the name, though perhaps it’s not in the same class as the elite in that field.

Getting that number of individual 3Bs into a human-sized rack is no easy feat, and they have gone for custom 3D-printed racks to hold the boards. PoE would have resulted in too much heat dissipation, so instead they use USB power from an array of large multi-way USB power supplies. A set of switches provide the networking, and a conventional server sits in the middle to provide storage and network booting.

It’s certainly a cool way to wow the crowds at a conference, but we’re unsure whether it delivers the best bang for your supercomputing buck or whether it’s more useful as a large room heater. Meanwhile you can take a look at a few more modest Pi clusters, with unusual operating systems, or slightly more adherence to convention.

Thanks [Frisco] for the tip.

Barcaderator Is Coin-Op Arcade Up Top And Kegerator Down Below

It’s a common sight in our community for a life-expired arcade cabinet to be repurposed as a MAME cabinet with an up-to-date screen and other internals. Many of us have had some fun pursuing high scores in a hackerspace somewhere, and even if they don’t have the screen burn and annoying need for cash of the originals they still deliver plenty of fun.

But if there’s one pleasure an adult can pursue that a kid in a 1980s arcade couldn’t, it’s a cool glass of beer. [Marcus Young] has brought together the two with his Barcaderator, a custom MAME cabinet with a beer tap on the side and a fridge for a keg in its base.

The MAME internals include a Lattepanda Alpha and an LED controller for those illuminated buttons. Where this build shines is in its custom cabinet, which instead of being an all-in-one unit takes the form of a base and top half that are detatchable. It appears to take its inspiration and build techniques from the world of flight cases. You can see the detail where the two halves come together in this image. The result should be of great interest to anyone who has struggled with moving an unwieldy traditional arcade cabinet.

This is we think the first beer/arcade combo to grace these pages. But we’ve had more than one arcade cabinet, and definitely quite a few kegs along the way.

Mike Harrison Knows Everything About LEDs

Driving an LED and making it flash is probably the first project that most people will have attempted when learning about microprocessor control of hardware. The Arduino and similar boards have an LED fitted, and turning it on and off is a simple introduction to code. So it’s fair to say that many of us will think we have a pretty good handle on driving an LED; connect it to a I/O pin via a resistor and that’s it. If this describes you, then Mike Harrison’s talk at the recent Hackaday Superconference (embedded below) will be an education.

Mike has appeared on these pages multiple times as he pushes LEDs and PCB techniques to their limits, even designing our 2017 Superconference badge, and his many years of work in the upper echelons of professional LED installations have given him an unrivaled expertise. He has built gigantic art projects for airports, museums, and cities. A talk billed as covering everything he’s learned about LEDs them promises to be a special one.

If there’s a surprise in the talk, it’s that he’s talking very little about LEDs themselves. Instead we’re treated to a fundamental primer in how to drive a lot of LEDs, how to do so efficiently, with good brightness and colour resolution, and without falling into design traps. It’s obvious that some of his advice such at that of relying on DIP switches rather than software for configuration of multi-part installations has been learned the hard way.

Multiple LEDs at once from your driver chip, using a higher voltage.
Multiple LEDs at once from your driver chip, using a higher voltage.

We are taken through a bit of the background to perceived intensity and gamma correction for the human eyesight. This segues neatly into the question of resolution, for brightness transitions to appear smooth it is necessary to have at least 12 bits, and to deliver that he reaches into his store of microcontroller and driver tips for how to generate PWM at the right bitrate. His favoured driver chip is the Texas TLC5971, so we’re treated to a primer on its operation. A useful tip is to use multiple smaller LEDs rather than a single big one in the quest for brightness, and he shows us how he drives series chains of LEDs from a higher voltage using just the TI chip.

Given the content of the talk this shouldn’t come as a shock, but at the end he reminds us that he doesn’t use all-in-one addressable LEDs such as the WS2932 or APA102. These areĀ  the staple of so many projects, but as he points out they are designed for toy type applications and lack the required reliability for a multi-thousand LED install.

Conference talks come in many forms and are always fascinating to hear, but it’s rare to see one that covers such a wide topic from a position of experience. He should write it into a book, we’d buy it!

Continue reading “Mike Harrison Knows Everything About LEDs” →

New Part Day: The Bizen Transistor

If we had a dollar for every exciting new device that’s promised to change everything but we never hear of beyond the initial hoopla, we’d own our own private islands in the sun from the beaches of which we’d pick out Hackaday stories with diamond-encrusted keyboards. The electronic engineering press likes to talk about new developments, and research scientists like a bit of publicity to help them win their next grant.

The Bizen transistor however sounds as though it might have some promise. It’s a novel device which resembles a bipolar transistor in which the junctions exhibit Zener diode-like properties, and in which the mechanism is through quantum tunneling rather than more conventional means. If this wasn’t enough, its construction is significantly simpler than conventional semiconductors, requiring many fewer support components to make a logic gate than traditional CMOS or TTL, and requires only eight mask steps to manufacture. This means that lead times are slashed, and that the cost of producing devices is much reduced.

The device’s originator has partnered with a semiconductor fab house to offer a service in which custom logic chips can be produced using the new devices in a series of standard building blocks. This is likely to be only of academic interest to the hacker at the moment, however the prospect of this cost reducing as the technology matures does show promise of reaching the means of some more well-funded hacker projects. It will be a while before we can order a chip with the same ease as a PCB, but this makes that prospect seem just a little bit closer.

Thanks [Ken Boak] for the tip.