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.
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.
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.
Raspberry Pi was synonymous with single-board Linux computers. No longer. The $4 Raspberry Pi Pico board is their attempt to break into the crowded microcontroller module market.
The microcontroller in question, the RP2040, is also Raspberry Pi’s first foray into custom silicon, and it’s got a dual-core Cortex M0+ with luxurious amounts of SRAM and some very interesting custom I/O peripheral hardware that will likely mean that you never have to bit-bang again. But a bare microcontroller is no fun without a dev board, and the Raspberry Pi Pico adds 2 MB of flash, USB connectivity, and nice power management.
As with the Raspberry Pi Linux machines, the emphasis is on getting you up and running quickly, and there is copious documentation: from “Getting Started” type guides for both the C/C++ and MicroPython SDKs with code examples, to serious datasheets for the Pico and the RP2040 itself, to hardware design notes and KiCAD breakout boards, and even the contents of the on-board Boot ROM. The Pico seems designed to make a friendly introduction to microcontrollers using MicroPython, but there’s enough guidance available for you to go as deep down the rabbit hole as you’d like.
Our quick take: the RP2040 is a very well thought-out microcontroller, with myriad nice design touches throughout, enough power to get most jobs done, and an innovative and very hacker-friendly software-defined hardware I/O peripheral. It’s backed by good documentation and many working examples, and at the end of the day it runs a pair of familiar ARM MO+ CPU cores. If this hits the shelves at the proposed $4 price, we can see it becoming the go-to board for many projects that don’t require wireless connectivity.
It’s 2021, shouldn’t all of our devices be able to pull the power they need from the ether? [Sasa Karanovic] certainly thinks so, which is why he recently took it upon himself to add wireless charging capabilities to his desktop computer peripherals. The Qi transmitter and receiver modules are relatively cheap and easy to come by, the trick is in getting them installed.
The keyboard gets non-invasive Qi charging.
For the keyboard, [Sasa] took the path of least resistance. The receiver coil lives inside a little 3D printed box attached to the back, and power is routed through a hacked up right-angle USB cable. It’s a simple addition that doesn’t make any permanent changes to the keyboard; perfect for those who don’t want to risk toasting their gear.
But that wasn’t really an option for the mouse. Obviously the Qi hardware would have to go on the inside, but at a glance it was clear there wasn’t enough room to mount the stock coil. So [Sasa] pulled the original coil apart and rewound it around a small 3D printed jig. This resulting coil was perfectly sized to fit inside the flat area on the left side of the mouse with no apparent degradation in charging ability. Wiring the module up to an unpopulated pad on the PCB allowed him to easily inject the 5 V output into the device’s existing charging circuitry.
Since Espressif Systems arrived in our collective consciousness they have expanded their range from the ESP8266 to the ESP32, and going beyond the original WROOM and WROVER modules to a range of further ESP32 products. There’s a single-core variant and one that packs a RISC-V core in place of the Tensilica one, and now they’ve revealed their latest product. The ESP32-S3 takes the ESP to a new level, packing as it does more I/O, onboard USB, and an updated version of the two Tensilica cores alongside Bluetooth version 5. It’s still an ESP32, but one that’s more useful, and it’s worth a closer look because we expect it to figure in quite a few projects.
Espressif’s block diagram for the chip.
Sadly the data sheet does not seem to have been released, but we do have some tidbits to consider. Espressif are anxious to tell us about its “AIOT” capabilities thanks to the vector instructions in the EXTensa LX7 cores (PDF) that were not present in the previous model’s LX6. They claim that this will speed up software neural networks; this does have an air of marketing about it but we’ll withhold judgement until we see it in use. The new core certainly will offer a performance improvement across the board though, which should be of interest to all ESP32 developers. Meanwhile the ultra-low-power core that existing ESP32 developers will be familiar with remains.
Then there is that USB support, which appears in the feature block diagram but has little information elsewhere. It’s listed as USB OTG which raises the possibility of the ESP32 being the host, but what it should also bring is the ability to emulate other USB devices. We’ve seen badges mount as WebUSB devices using STM32 clones as peripherals for an ESP32, but in future these tricks should be possible on the Espressif chip itself.
Probably the most anticipated piece of the new device’s specification comes in the addition of 10 new I/O lines. This has historically been a weakness of the ESP line, that it’s an easy chip with which to run out of available pins. These extra lines will make it more competitive with for example the STM32 series of microcontrollers that have larger package options, and will also mean that designs can have more in the way of peripherals without the use of port expanders.
In summary then, the latest member of the ESP32 family delivers a significant and useful update, and brings some of the features first seen in the single core version to the more powerful line of chips. Sadly it doesn’t have the hoped-for on-chip RAM boost, but it brings enough in the way of new capabilities to be of interest. At the moment it doesn’t look like the ESP32-S3 is available to order, but we hope to have engineering samples soon and should be bringing you a hands-on report in due course.
Metal lathes are capable machines that played a large role in the industrial revolution, and an incredible tool to have at your disposal. But that doesn’t mean they can’t be used to have a little fun, as demonstrated by [Oleg Pevtsov] who made a bidirectional bolt as a machining exercise just because he could.
Both videos after the break are in Russian, but the video and auto generated subtitles are enough to get the main points across. The bolt is an M42 size with a 40 mm pitch, with grooves cut in both directions to allow left-handed and right-handed nuts to be threaded. The large pitch means that instead of a single continuous groove like a normal bolt, ten separate grooves need to be cut for each threading direction to cover the bolt surface. Since this was all machined on a manual lathe, a dial indicator was required to maintain accurate spacing. It took [Oleg] four painstaking attempts to get it right, but the end result looks very good. Instead of a fixed cutter, he used a trimming router mounted on a custom clamp.
[Oleg] also machined three different brass nuts to go on the bolt with a fixed cutter. First left-hand and right hand threaded nuts were made, followed by a bidirectional nut. Due to the large pitch and careful machining, all three nuts will spin down the bolt under the force of gravity alone. Although the bidirectional nut doesn’t move as smoothly as the other two, it can change rotation and translation direction at random.
While this is a one-of-a-kind fidget toy, have any of our readers seen a bidirectional bolt or lead screw in the wild? We can imagine that the ability to move two nuts in opposite directions on a single lead screw might have some practical applications.
It’s possible to make incredible parts on a manual lathe. A handbuilt V10 engine and a pneumatic hexacopter model are just two examples of what’s possible with enough skill, knowledge, and patience. Sadly it is a fading form of craftsmanship, rendered mostly obsolete outside of hobby projects by CNC machines.