SVG To Gerber, Without The Pain

We’ve all marveled at the high quality PCB artwork used within the #BadgeLife and other communities to produce eye-catching designs, but those of you who have dipped your toes in the PCB artwork water will know that it’s hardly an easy process. [Jaseg] may have an answer though with gerbolyze, his software for processing SVG files into Gerber layers or KiCAD footprints.

His impetus for building it came from disappointing experience with other scripts that simply tried to rasterise any SVG they were given, or didn’t fully support the complete SVG spec. It’s designed for minimal preprocessing, allowing for as streamlined a process as possible. It includes a bitmap vectoriser to handle everything that can be thrown at it, and the GitHub repository has full instructions including examples of the output for different settings.

This is the latest in a long progression of enhancements to the PCB art process, but it’s not by any means the first time we’ve ventured down this path. In particular [Brian Benchoff] did a lot of work on the production of multi-colour PCBs.

Tim Hunkin Rides Again With The Secret Life Of Components

Long-time readers may remember one of the occasional Engineering Heroes series that focused on the British engineer, inventor and sometime TV presenter Tim Hunkin, known for his intricate creations, unusual arcade machines, and Secret Life Of Machines TV series’ from the years around 1990. It seems we’re now in for a fresh treat as he’s returning to our screens via YouTube with a new series. The Secret Life Of Components will be his attempt to pass on the accumulated knowledge of a long career that most of us would have given our eyeteeth for.

There will be eight videos in the series which launches on the 4th of March, and judging by the snippets in the preview video below the break he’ll be covering a wide range including springs, adhesives, chains, belts, switches, and much more. His entertaining style and beautifully built working models are guaranteed to make for some very good content while giving a unique view into the workshop of a true master of the craft.

As an appetiser it’s worth reading our profile of Tim Hunkin. It features a visit to his Novelty Automation arcade in London’s Holborn, which should be an essential stop for any travelling Hackaday reader finding themselves in that city.

Continue reading “Tim Hunkin Rides Again With The Secret Life Of Components”

A PCB For A Quarter?

As time has gone by and PCB assembly companies have reached further into the space of affordability for our community, the available types of board have multiplied. No longer are we limited to FR4 with a green solder mask, we can have all colours of the rainbow and a variety of substrates. The folks at BotFactory have taken things a step further with their PCB printer though, by printing a fully-functional PCB on a quarter.

As a base layer the printed five passes of insulation on the coin, before printing the traces. Holes are left in the insulation to create a form of via that connects to the coin. On the board is an ATtiny2313 microcontroller that flashes an LED, and on the reverse side of the coin is a CR2032 cell that’s secured with a set of bolts and washers. You can see it taking shape in the video below the break.

It’s true that an LED flasher isn’t exciting, and that this is a marketing stunt for BotFactory’s printer. But it’s an inventive one, and reminds us that with a bit of ingenuity anything can become a board. We’ve had our share over the years, and instantly springing to mind is this stretchable PCB.

Continue reading “A PCB For A Quarter?”

Exploring The Open Source That Really Goes Into A RISC-V Chip

It’s an exciting time in the world of microprocessors, as the long-held promise of devices with open-source RISC-V cores is coming to fruition. Finally we might be about to see open-source from the silicon to the user interface, or so  goes the optimistic promise. In fact the real story is considerably more complex than that, and it’s a topic [Andreas Speiss] explores in a video that looks at the issue with a wide lens.

He starts with the basics, looking at the various layers of a computer from the user level down to the instruction set architecture. It’s a watchable primer even for those familiar with the topic, and gives a full background to the emergence of RISC-V. He then takes Espressif’s ESP32-C3 as an example, and breaks down its open-source credentials. The ISA of the processor core is RISC-V with some extensions, but he makes the point that the core hardware itself can still be closed source even though it implements an open-source instruction set. His conclusion is that while a truly open-source RISC-V chip is entirely possible (as demonstrated with a cameo Superconference badge appearance), the importance of the RISC-V ISA is in its likely emergence as a heavyweight counterbalance to ARM’s dominance in the sector. Whether or not he is right can only be proved by time, but we can’t disagree that some competition is healthy.

Take a closer look at the ESP32-C3, with our hands-on review.

Continue reading “Exploring The Open Source That Really Goes Into A RISC-V Chip”

A Very Modern Tube Headphone Amplifier

Once a discarded relic, over the years the humble vacuum tube has been rehabilitated in the arena of specialist audio. There are plenty of tube amplifiers now being manufactured, with a popular choice being headphone amplifiers that use a tube as a gain stage followed by an op-amp as a buffer with a low impedance output. This forms the basis of [Ratti3]’s amplifier, but with the added interest of a battery supply and a Bluetooth connection.

The tube circuit is a very conventional anode follower using an EF95 pentode. This provides plenty of gain and of course that “valve sound” beloved of audio enthusiasts, but suffers from an output impedance too high to drive a set of headphones. An NE5532 steps in for the op-amp buffer role, making for a very simple circuit. Power comes from a set of four 18650 Lithium-Ion cells with associated charger and balance boards, while a little switching boost converter provides the 100 volt HT for the tubes.

We’ve visited this type of amplifier before with a similar but much more rough-around-the-edges Chinese version. That had some astonishingly cheap Chinese tubes, but if we’re seeking better components it’s interesting to know just who makes tubes these days.

Spectrogram Drawing For Fun And Coding

It probably can’t have taken long after the first spectrum waterfall display was created, before somebody had a go at creating a waveform that would create an image in the waterfall. We don’t know who that pioneer was, but it’s over 20 years since Aphex Twin famously used the technique in their music, so it’s nothing new. If you fancy a go for yourself, [Gokberk Yaltirakli] has the project for you, creating waterfall images with an SDR from image files, using a bit of Python code.

The value here isn’t necessarily in creating the waterfall of Bitcoin logos that can be seen in the video he’s put on the page, instead it’s in the simple explanation of creating I and Q values for an SDR. The code is a bit slow so writes its values to a file which is output by a HackRF, but it could just as easily be used by any other capable output device such as GNU Radio and a soundcard if you too want an Aphex Twin moment. The hardware for displaying a spectrum waterfall doesn’t even have to be very complex.

Thanks [Leo] for the tip.

DIY All-Transistor Addressable Pixel

By now most readers should be used to addressable LEDs, devices that when strung out in a connected chain can be individually lit or extinguished by a serial data stream. Should you peer at one under a microscope you’ll see alongside the LED dies an integrated circuit that handles all the address decoding. It’s likely to be quite a complex device, but how simply can its functions be replicated? It’s a theme [Tim] has explored in the TransistorPixel, and addressable LED board that achieves addressability with only 17 transistors.

It uses a surprisingly straightforward protocol, in which a pulse longer than 500ns enables the LED while a shorter one turns it off. Subsequent pulses in a train are passed on down the line to the next device. A 20µs absence of a pulse resets the string and sets it to wait for the next pulse train. Unlike the commercial addressable LEDS there is only a single colour and no suport for gradated brightness, but it’s still an impressive circuit.

Under the hood is some very old-school RTL logic, a monostable to detect the pulse and a selection of gates and a latch to capture the state and forward to the chain. It’s laid out on a PCB in order of circuit function, and while we can see that maybe it’s not a practical addresssable LED for 2021, it’s likely that it could be made into a much smaller PCB if desired.

Perhaps unsurprisingly given the ready availability of addressable LEDs, we’ve not seen many home made ones. This addressable 7-segment display may be the closest.