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.

There’s Life In That Beard Trimmer Yet!

You just can’t get a decent beard trimmer these days! At least that’s what [Peter Franck] found when his trusty Panasonic finally expired after a couple of decades and a few replacement batteries. The shaver’s PCB contained a mains-powered NiCd charger which had comprehensively released its magic smoke, and the expensive replacement trimmers he bought simply didn’t cut the mustard.

Many people would have given up in despair, but he persevered, and produced a custom replacement board containing a Maxim DS2710 single-sell NiMH charger, and an AA NiMH cell. It fits perfectly into the space vacated by the previous board, and takes its charge through a micro-USB socket on the edge of the PCB.

It’s interesting to note that NiMH-based projects have in recent years become a comparative rarity on these pages compared to ones using Li-ion or Li-poly cells. This is an inevitable progression on cost, size, and power density grounds, but it’s still worth knowing about projects using the older battery chemistry. He remarks that his razor is now future-proofed, but we’d probably have fitted a USB-C conector before making that assertion. Either way, it’s a neat piece of work that has achieved its aim of making an expired razor useful again. We’ve brought you another razor fix in the past, though a much less sophisticated one.

A Tiny Terminal For Your Serial Access Needs

Some pieces of computing equipment have faded away without a trace, for example a modem is not a device that detains many hackers as they strive for that perfect emulation of a venerable Hayes on an Arduino. But there are some other devices that continue to hold a fascination, even years after they departed from the professional arena. A great example is the serial terminal. Once to be found on many a desk as it provided a way into a minicomputer, it has long ago been supplanted by terminal emulators or simply other portals into computing services such as the web. But in our community there are still plenty of serial terminals to be found, for example [RedHog]’s little emulated VT220 on an ESP8266 platform.

If you were hoping for a full-green screen and keyboard to plug into a hefty D-connector serial port then you’ll be a bit disappointed, as with a tiny screen and only a few buttons on a dev board or an Arduboy it’s not going to allow any 1337 vi mastery even with its on-screen keyboard. Take a look, we’ve placed a video below the  break. But despite all that it shows promise, with ability to use either the logic-level serial port or the USB serial interface. We can see that it might find a use as a serial display though, but it would fascinate us to see what could be done were it to use the 8266’s on-board WiFi in some form. If you’d like to experiment you can do so with the code on GitHub.

This isn’t the first such terminal we’ve seen here before of course, some of them have been extremely practical, while others we just want to own because they’re cool.

Continue reading “A Tiny Terminal For Your Serial Access Needs” →

Retrotechtacular: 934 MHz CB Radio

The radio spectrum is carefully regulated and divided up by Governments worldwide. Some of it is shared across jurisdictions under the terms of international treaties, while other allocations exist only in individual countries. Often these can contain some surprising oddities, and one of these is our subject today. Did you know that the UK’s first legal CB radio channels included a set in the UHF range, at 934 MHz? Don’t worry, neither did most Brits. Behind it lies a tale of bureaucracy, and of a bungled attempt to create an industry around a barely usable product.

Hey, 2019, Got Your Ears On?

Did this car make you want a CB radio? Stuurm [CC BY-SA 3.0]
Did this car make you want a CB radio? Stuurm [CC BY-SA 3.0]
Mention CB radio in 2019 it’s likely that the image conjured in the mind of the listener will be one from a previous decade. Burt Reynolds and Jerry Reed in Smokey and the Bandit perhaps, or C. W. McCall’s Convoy. It may not be very cool in the age of WhatsApp, but in the 1970s a CB rig was the last word in fashionable auto accessories and a serious object of desire into which otherwise sane adults yearned to speak the slang of the long-haul trucker.

If you weren’t American though, CB could be a risky business. Much of the rest of the world didn’t have a legal CB allocation, and correspondingly didn’t have access to legal CB rigs. The bombardment of CB references in exported American culture created a huge demand for CB though, and for British would-be CBers that was satisfied by illegally imported American equipment. A vibrant community erupted around UK illegal 27 MHz AM CB in the late 1970s, and Government anger was met with campaigning for a legal allocation. Brits eventually got a legal 27 MHz allocation in November 1981, but the years leading up to that produced a few surprises.

Continue reading “Retrotechtacular: 934 MHz CB Radio” →

There’s More To Designing A PCB Business Card Than Meets The Eye

A curious custom that survives from the pre-computer era is that of the business card. If you walk the halls at a trade event you’ll come a way with a stack of these, each bearing the contact details of someone you’ve encountered, and each in a world of social media and online contact destined to languish in some dusty corner of your desk. In the 21st century, when electronic contacts harvested by a mobile phone have the sticking power, how can a piece of card with its roots in a bygone era hope to compete?

It’s a question [Anthony Kouttron] has addressed in the design of his thoroughly modern business card, and along the way he’s treated us to an interesting narrative on how to make the card both useful beyond mere contact details as well as delivering that electronic contact. The resulting card has an array of  rulers and footprints as an electronic designer’s aid, as well as an NFC antenna and chip that lights an LED and delivers his website address when scanned. There are some small compromises such as PCB pads under the NFC antenna, but as he explains in the video below, they aren’t enough to stop it working. He’s put his work in a GitHub repository, should you wish to do something similar.

There’s a rich vein of business card projects on these pages, but so far surprisingly few are NFC equipped. That didn’t stop someone from making an NFC-enabled card with user interaction though.

Continue reading “There’s More To Designing A PCB Business Card Than Meets The Eye” →

Add A Bit Of PCB Badge Glamour To Your Boring ID Badge

When we talk about badges and printed circuit boards, it is usually in the context of the infinite creativity of the Badgelife scene, our community’s own art form of electronic conference badges. It’s easy to forget when homing in on those badges that there are other types of badge, and thus [Saimon]’s PCB badge holder is an entertaining deviation from our norm. His workplace requires employees to carry their credit-card-sized ID pass with them at all times, but the plastic holder that came with his had broken. So he did what any self-respecting engineer would do, and designed his own holder using PCBs.

It’s a three-way sandwich with identical front and back PCBs featuring a nice design, but the clever bit is the middle PCB. It is U-shaped to slide the card in from the side, but to retain the card it has a couple of springy milled PCB arms each with a small retaining tooth on the end. This is an ingenious solution, with just enough give to bend, but not so much as to break.

The three boards are glued together, it seems his original aim was to reflow solder them but this was not successful. The result is an attractive and functional badge holder, which if Hackaday required us to have a corporate ID you can be sure we’d be eyeing up for ourselves.