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”

Taking A Capacitor Microphone To The Next Level

There was a time when a microphone for most people was a cheap plastic affair that probably came for free with their sound card, but in the age of pandemic video streaming no desktop is complete without a chunky model that looks for all the world as though it escaped from a studio. Few people make their own microphones, so the work of [DJJules] in building very high quality condenser microphones is a particularly fascinating read.

A condenser microphone is a capacitor in which one plate is formed by a conductive diaphragm. A bias voltage is supplied to the diaphragm via a resistor, and since the charge on the plate remains constant as its capacitance changes with the sound vibrations, the voltage on the capacitor changes accordingly. This is picked up by a high impedance buffer and from there fed to a normal microphone input. This Instructable uses a commercial condenser microphone capsule, and takes the reader through generating the bias voltage for it before describing the op-amp buffer circuit.

The most interesting part comes at the end, as we’re shown how the sensitivity pattern of a dual-microphone array can be tuned to be omnidirectional, cardoid, or figure-of-eight. This is probably the norm among audio engineers, but we rarely see this sort of insight in our community. We may never build a microphone of our own, but it’s fascinating to see this one from the ground up in the video below the break.

If you’re confused about the difference between a condenser microphone and the more common electret condenser microphone, we have published a guide to that topic. Continue reading “Taking A Capacitor Microphone To The Next Level”

An Op-Amp From The Ground Up

If we had to pick one part to crown as the universal component in the world of analogue electronics, it would have to be the operational amplifier. The humble op-amp can be configured into so many circuit building blocks that it has become an indispensable tool for designers. It’s tempting to treat an op-amp as a triangular black box in a circuit diagram, but understanding its operation gives an insight into analogue electronics that’s worth having. [Mitsuru Yamada]’s homemade op-amp using discrete components is thus a project of interest, implementing as it does a complete simple op-amp with five transistors.

Looking at the circuit diagram it follows the classic op-amp with a long-tailed pair of NPN transistors driving a PNP gain stage and finally a complimentary emitter follower as an output buffer. It incorporates the feedback capacitor that would have been an external component on early op-amp chips, and it has a couple of variable resistors to adjust the bias. Keen eyed readers will notice its flaws such as inevitably mismatched transistors and the lack of a current mirror in the long-tailed pair, but using those to find fault in a circuit built for learning is beside the point. He demonstrated it in use, and even goes as far as to show it running an audio power amplifier driving a small speaker.

For the dedicated student of op-amps, may we suggest further reading as we examine the first integrated circuit op-amp?

A Look At The Interesting RP2040 Peripheral, Those PIOs

The Raspberry Pi Pico is the latest product in the Raspberry Pi range, and it marks a departure from their previous small Linux-capable boards. The little microcontroller board will surely do well in the Pi Foundation’s core markets, but its RP2040 chip must have something special as a commercial component to avoid being simply another take on an ARM microcontroller that happens to be a bit more expensive and from an unproven manufacturer in the world of chips. Perhaps that special something comes in its on-board Programable IO perhipherals, or PIOs. [CNX Software] have taken an in-depth look at them, which makes for interesting reading.

Continue reading “A Look At The Interesting RP2040 Peripheral, Those PIOs”

Chasing Down Bad Caps To Save A Troubled PSU

We know what you’re thinking. It’s a bad power supply, of course it was capacitors to blame. But even if we all intuitively know at this point that bad caps are almost always the culprit when a PSU gives up the ghost, it’s not always easy to figure out which one is to blame. Which is why this deep dive into a failed ETK450AWT by [eigma] is worth a look.

The first sign of trouble was when the computer would unexpectedly reboot with nothing in the system logs to indicate a problem. Eventually, [eigma] noticed a restart before the operating system even loaded, which confirmed the hardware was to blame. A quick look at the PSU output with a voltmeter showed things weren’t too far out of spec, but putting an oscilloscope on the 12 V line uncovered a nasty waveform that demanded further investigation.

Connecting all the dots.

By carefully following traces and comparing with common PSU diagrams, [eigma] was able to identify the SG5616 IC that checks the various voltages being produced by the PSU and generates the PWR_OK signal which tells the motherboard that everything is working normally. As before, all of the DC voltages at this chip seemed reasonable enough, but the pin that was measuring AC voltage from the transformer was showing the same ripple visible on the 12 VDC line.

Even more digging uncovered that the transformer itself had a control IC nestled away. The 13 VDC required by this chip to operate is pulled off the standby transformer by way of a Zener diode and a couple capacitors, but as [eigma] soon found, the circuit was producing another nasty ripple. Throwing a few new capacitors into the mix smoothed things out and got the PSU to kick on, but that’s not quite the end of the story.

Pulling the capacitors from the board and checking their values with the meter, [eigma] found they too appeared to be within reasonable enough limits. They even looked in good shape physically. But with the help of a signal generator, he was able to determine their equivalent series resistance (ESR) was way too high. Case closed.

While swapping out blown capacitors in older electronics is something of a rite of passage for hardware hackers, this case is an excellent example of how even the simplest of fixes can be tricky to troubleshoot.

ESP32 Inkplate Gives Kindle Displays A Second Chance

Over the years, we’ve seen plenty of hackers repurpose their Kindle or similar e-reader to reap the benefits of its electronic paper display. Usually this takes the form of some software running on the reader itself, since cracking the firmware is a lot easier than pulling out the panel and figuring out how to operate it independently. But what if somebody had already done that hard work for you?

Enter the Inkplate. By pairing a recycled Kindle display with an ESP32, Croatian electronics company e-radionica says they’ve not only created an open hardware e-paper display that’s easy for hackers and makers to use, but keeps electronic waste out of the landfill. Last year the $99 USD 6 inch version of the Inkplate ended its CrowdSupply campaign at over 920% of its original goal. The new 9.7 inch model is priced at $129, and so far managed to blow past its own funding goal just hours after the campaign went live. Clearly, the demand is there.

The new model’s e-paper display isn’t just larger, it also features a higher 1200 x 825 resolution and reduced refresh time. Outside of the screen improvements, you’ll also find more GPIO pins, an RTC module to keep more accurate time, and a USB Type-C port for both programming and power. You also get a choice of languages to use, with both Arduino and MicroPython libraries available for interfacing with the display. Interestingly, the Inkplate also features a so-called “Peripheral Mode” that allows you to draw graphics primitives on the screen using commands sent over UART.

While we’ve recently seen some very promising efforts to repurpose old e-paper displays, the turn-key solution offered by the Inkplate is admittedly very compelling. If you’re looking for an easy way to jump on the electronic paper bandwagon that works out of the box, this might be your chance.

[Thanks to Krunoslav for the tip.]