Tiny Cube Hosts A Hearty Tube

Tiny PCBAs and glowy VFD tubes are like catnip to a Hackaday writer, so when we saw [hamster]’s TubeCube tube segment driver we had to dig in to learn more. We won’t bury the lede here; let’s enjoy a video of glowing tubes before we go further:

The TubeCube is built to fit the MiniBadge badge addon standard, which is primarily used to host modules on the SAINTCON conference badge. A single TubeCube hosts a VFD tube, hardware to provide a 70 V supply, and a microcontroller for communication and control. Each TubeCube is designed to accept ASCII characters via UART to display on it’s display, but they can also be chained together for even more excitement. We’re not sure how [hamster] would be able to physically wear the beast in the video above, but if he can find a way, they all work together. If you’re interested in seeing the dead simple UART communication scheme take a look at this file.

We think it’s also worth pointing about the high voltage supply. To the software or mechanically minded among us it’s easy to get trapped thinking about switching power supplies as a magical construct which can only be built using all-in-one control ICs. But [hamster]’s supply is a great reminder that a switching supply, even a high voltage one, isn’t as complex as all that. His design (which he says was cribbed from Adafruit’s lovely Ice Tube Clock) is essentially composed of the standard primitives. A big low voltage capacitor C1 to source the burst of energy which will be boosted, the necessary inductor/high voltage cap C2 which ends up at the target voltage, and a smoothing cap C3 to make the output a little nicer. It’s controlled by the microcontroller toggling Q1 to control the current flow through L1. The side effect is that by controlling the PWM frequency [hamster] can vary the brightness of the tubes.

Right now it looks like the repository has a schematic and sources, which should be enough to build a small tube driver of your own. If you can’t get enough TubeCubes, there’s one more video (of a single module) after the break.

Continue reading “Tiny Cube Hosts A Hearty Tube”

Hands-On: BornHack’s Light Sabre Badge

A badge modelled after the handle of a light sabre? Yes Please! This Star Wars themed hardware is the work of hardware designer Thomas Flummer for the 2019 BornHack conference held in Denmark last month. (Check out my roundup of the event if this is the first you’ve heard of it.)

It's not a badge but a light sabre! The front of the BornHack 2019 badge.
It’s not a badge but a light sabre! The front of the BornHack 2019 badge.

It fits the hand nicely, and with clever side-on placement of the two AA battery holders (a trick we first saw with the 2016 Hackday Superconference badge) it also keeps any protruding solder joints away from clothing. In the centre of the badge is the 240×240 pixel colour display that also hides the Silicon Labs Happy Gecko processor and its surrounding components. Three buttons at the edge of the board to the left of the screen are a nice fit for your thumb when holding it in your left hand — a good choice if you happen to leave your right hand behind on a visit to the Cloud City of Bespin.

Between the battery holders lies a four-way joystick, two buttons, and a 6-pin add-on connector. Above it is a micro SD card socket and a micro USB socket, and above them are an IR emitter and receiver. All of the hardware is on the front of the PCB, with no components on the reverse (other than the solder joints for the batteries). But it is there you will find a set of exposed pads for serial and I2C interfaces. Continue reading “Hands-On: BornHack’s Light Sabre Badge”

These Tips Make Assembling A Few Hundred PCBs Easier

There are a few common lessons that get repeated by anyone who takes on the task of assembling a few hundred PCBs, but there are also unique insights to be had. [DominoTree] shared his takeaways after making a couple hundred electronic badges for DEFCON 26 (that’s the one before the one that just wrapped up, if anyone’s keeping track.) [DominoTree] assembled over 200 Telephreak badges and by the end of it he had quite a list of improvements he wished he had made during the design phase.

Some tips are clearly sensible, such as adding proper debug and programming interfaces, or baking an efficient test cycle into the firmware. Others are not quite so obvious, for example “add a few holes to your board.” Holes can be useful in unexpected ways and cost essentially zero. Even if the board isn’t going to be mounted to anything, a few holes can provide a way to attach jigs or other hardware like test fixtures.

[DominoTree] ended up having to attach multiple jumper wires to reprogram boards after assembly, and assures us that “doing this a bunch of times really sucked.”
Other advice is more generic but no less important, as with “eliminate as many steps as possible.” Almost anything adds up to a significant chunk of time when repeated hundreds of times. To the basement hacker, something such as pre-cut and pre-tinned wires might seem like a shameful indulgence. But cutting, stripping, tinning, then hand-soldering a wire adds up to significant time and effort by iteration number four hundred (that’s two power wires per badge) even if one isn’t staring down a looming deadline.

[DominoTree] also followed up with additional advice on making assembly easier. Our own [Brian Benchoff] has also shared his observations on the experience of developing and assembling a large number of Hackaday Superconference badges, including what it took to keep things moving along when inevitable problems surfaced.

You don’t need to be making batches of hundreds for these lessons to pay off, so keep them in mind and practice them on your next project.

The Numberwang Badge Brought Cheer To CCCamp 2019

While wandering through CCCamp last weekend, in between episodes of forcing Marmite on the unwary, I ran into the well-known Hackaday.io user [Prof. Fartsparkle]. In a last-minute sprint leading up to the con he built himself the Numberwang badge to join in the colorful after-dark festivities with beautiful board artwork and remarkably enjoyable backlit LED display.

The Numberwang badge itself is a clone of the Adafruit Itsy Bitsy sporting an ATSAMD21G18 CPU and running CircuitPython. It has an LED strip on the reverse shining through the bare FR4 as a diffuser, and the Numberwang effect of selecting random numbers is achieved by a host of random touchable numbers sprinkled across its front. For something he freely admits was a last minute project, we think he’s done a pretty good job!

For those mystified by Numberwang, it is a fictional gameshow from a BBC TV comedy programme that involves contestants answering the quizmaster with random numbers. It joins a rich tradition of such hilarious nonsense, and has as a result become cult television.

If you’re really getting into Numberwang, don’t forget that it’s inspired a programming language.

Continue reading “The Numberwang Badge Brought Cheer To CCCamp 2019”

After The Con: Da Bomb Badge Post Mortem

We’ve reported on the world of electronic badges here at Hackaday since their earliest origins in [Joe Grand]’s work for DEF CON 14 in 2006. In that time we’ve seen an astonishing variety of creations, covering everything from abstract artwork to pure functionality in a wearable device. But it’s not been quite so often that we’ve looked at the other side of the BadgeLife coin, so it’s fascinating to read [John Adams]’ account of the work that went into the production of this year’s 500-piece run of the Da Bomb DEF CON indie badge.

In it, [John] goes over scheduling worries, component sourcing issues, PCB assembly delays, and an in-depth look into the finances of such a project. In case anyone is tempted to look at Badgelife as the route to millions, it rapidly becomes apparent that simply not losing too much money is sometimes the best that can be hoped for. There were a few design problems, one of them being that the SAO I2C bus was shared with the LED controller, resulting in some SAOs compatibility issues. In particular the AND!XOR DOOM SAO had its EEPROM erased, creating something of a headache for the team.

A surprise comes in the distribution: obviously shipping is expensive, so you’d think badge pick-ups at the con would be straightforward alternative. Unfortunately, they became something of a millstone in practice, and organising them was a Herculean task. Astoundingly, some paying customers didn’t bother turn up for their badges. Which was especially infuriating since the team lost valuable conference time waiting for them.

Some of you are BadgeLife creators and will nod sagely at this. Still more of you will wish you were BadgeLife creators and find it a useful primer. For everyone else it’s a fascinating read, and maybe makes us appreciate our badges a bit more.

The images may have departed, but just to return to the origins of BadgeLife, here’s our coverage of that first [Joe Grand] badge.

Hands-On: CCCamp2019 Badge Is A Sensor Playground Not To Be Mistaken For A Watch

Last weekend 5,000 people congregated in a field north of Berlin to camp in a meticulously-organized, hot and dusty wonderland. The optional, yet official, badge for the 2019 Chaos Communication Camp was a bit tardy to proliferate through the masses as the badge team continued assembly while the camp raged around them. But as each badge came to life, the blinkies that blossomed each dusk became even more joyful as thousands strapped on their card10s.

Yet you shouldn’t be fooled, that’s no watch… in fact the timekeeping is a tacked-on afterthought. Sure you wear it on your wrist, but two electrocardiogram (ECG) sensors for monitoring heart health are your first hint at the snoring dragon packed inside this mild-mannered form-factor. The chips in question are the MAX30001 and the MAX86150 (whose primary role is as a pulse sensor but also does ECG). We have high-res ADCs just waiting to be misused and the developers ran with that, reserving some of the extra pins on the USB-C connector for external devices.

There was a 10€ kit on offer that let you solder up some electrode pads (those white circles with gel and a snap for a solid interface with your body’s electrical signals) to a sacrificial USB-C cable. Remember, all an ECG is doing is measuring electrical impulses, and you can choose how to react to them. During the workshop, one of the badge devs placed the pads on his temples and used the card10 badge to sense left/right eye movement. Wicked! But there are a lot more sensors waiting for you on these two little PCBs.

Continue reading “Hands-On: CCCamp2019 Badge Is A Sensor Playground Not To Be Mistaken For A Watch”

Hello: A Mini Badge For CCCamp

Badgelife culture is our community’s very own art form, with a plethora of designs coming forth featuring stunning artwork, impressive hardware, and clever software tricks. But sometimes a badge doesn’t need a brace of LEDs or a meme-inspired appearance to be a success, it just needs to be very good at what it does.

A perfect example is [Gavan Fantom]’s Hello mini badge. The hardware is fairly straightforward, it’s just a small square PCB sporting a LPC1115 microcontroller, 8Mb Flash chip, piezo speaker, and an OLED display. Its functionality is pretty simple as well, in that it exists to display text, images, or short animations. But the badge hides a very well-executed firmware that provides a serial terminal and zmodem file upload capability as well as an on-device interface via a small joystick. Power comes from a 500 mAh lithium-polymer cell, for which the badge integrates the usual charger and power management hardware.

There’s a variety of possibilities for the badge, but we’d guess that most owners will simply use it to display their name with perhaps a little animation. A bit of nifty processing of some video could perhaps get something approaching watchable video on it though, opening up the entertaining possibility of displaying demos or other video content.

[Gavan] will have some of the Hello badges at the upcoming CCCamp hacker camp in Germany if you’re interested, and should be easy enough to find in the EMF village.