A Replacement PCB For The Echo Dot

The Amazon Echo and other voice-controlled home assistants provide so much promise of a Jetsons style future of machines at your service. They would be a must-have accessory, were it not that they rely on the data centres of a large corporation that does not necessarily have your best interests at heart. But what if you like the Echo, but not the cloud? If you’re [ale1800], you take a 3rd generation Echo Dot, gut it, and put your own PCB inside to offer a local service.

The device keeps the Dot interface and microphone array, and connects to a Home Assistant server. As you’d imagine it needs a more powerful computer at its heart than a run-of-the-mill microcontroller, so it  uses an ESP32-P4 application processor, with the usual ESP32-S3 companion for connectivity. We’ve been following P4 projects as they gather steam, and it’s interesting to see one that’s not using a screen-based interface. There’s a YouTube video below the break, so you can see it in action.

We like this device, on many levels. In using the P4 it’s pushing forward with the next generation of microcontrollers, and in providing a local voice assistant it’s freeing its users from the cloud. What’s not to like!

Continue reading “A Replacement PCB For The Echo Dot” →

A Desktop OS For The ESP32-P4

The ESP32-P4 is Espressif’s high-end application processor, with two blistering fast RISC-V cores for a surprisingly reasonable price. As it’s a very capable computer in its own right, there have been a range of operating systems made for it. Latest among them is [Jthwho]’s BMDS, for Bare Metal Do Stuff, which targets an Olimex board.

At its heart is the FreeRTOS kernel we’ve seen in so many other similar projects, but on top is an OS which is described as being like DOS in its one-user minimally intrusive operation. It runs ELF binaries, and has some POSIX compliance, with BusyBox being a port. Perhaps most noticeable is its GUI, which provides a very slick desktop straight out of the late 1990s.

We can see that had this appeared as a contemporary of Amigas, 68k Macs, and Windows 3.x, it would have immediately been a real contender. But the question is, does such an OS have a niche here in 2026? We think it might, as this processor is slowly establishing itself in a new genre of powerful machines aimed at hackers and tinkerers. Either way it’s an impressive achievement, and we look forward to seeing it develop over time.

ESP32-P4 Powers Video Alarm Clock

Once upon a time, you had the option of waking up to a bell, a harsh buzzer, or whatever happened to be on the radio that morning. Now that it’s the 21st century, we’ve gotten used to being able to set our alarms to whatever sound or song we want, but what if you don’t just want to wake up to sound? Enter [Impossible_Agent1436] a.k.a. [brunokeymolen]’s Video Alarm Clock that will wake you up to whatever clip you want, as long as it fits on the 720 pixel square display.

That display is a pre-built Waveshare module powered by an ESP32-P4, which looks like a handy bit of kit aside from being out of stock at the moment. The dev board makes this almost entirely a software project– the only hardware [bruno] had to come up with was the 3D-printed stand to hold it on his bedside. That’s not a slight to [bruno]; it was a good choice in the spirit of “work smarter, not harder”. Sometimes you want to reinvent the wheel, and sometimes you just want an alarm clock.

The module’s RTC means it keeps good time, and the built-in SD card reader means you can load up a whole library of clips to wake up to. The only caveat is that those files have to be AVI containers holding 720×720 MJPEG video with PCM stereo audio at 44.1 kHz, and you’re limited to old FAT filename rules: eight characters, and none of them special.

This is an easier project and a better idea than the exploding capacitor alarm clock, but there’s no arguing which would get us out of bed faster. If you miss the old days of clock radios, you can always bring them back with the right microcontroller.

This DIY Time Server Is More Accurate Than You Need

You almost certainly don’t have an application for the sort of accurate timekeeping that’s made possible by this enhanced version of [Cristiano Monteiro]’s satellite-backed time server. By his own admission, the vast majority of users will be more than happy to have their system’s time synchronized by the traditional Network Time Protocol (NTP). But if you’re really chasing those last few microseconds, that’s where the Precision Time Protocol (PTP) comes in.

With NTP, you can get within 10 milliseconds or so of your upstream time source — but PTP is accurate down to nanoseconds. Unless you’re performing some kind of scientific research, running a robotic assembly line, or perhaps doing high-speed financial trading, there’s no reason for this level of accuracy. In fact, PTP is such a niche technology that until the release of the ESP32-P4, [Cristiano] couldn’t even find an affordable enough chip that supported it.

Hardware-level support for PTP is important as there’s no way to achieve this level of accuracy with software alone, the capability needs to be baked into the Ethernet controller. As you might expect, it takes a highly accurate time source to make the most of PTP, and that’s where the navigation-grade Global Navigation Satellite System (GNSS) receiver comes in. All told the cost of the build is unsurprisingly higher than that of its predecessor, but [Cristiano] says it’s still a couple zeros shy of what a commercial offering would run.

As with his original time server from 2021, [Cristiano] made sure this build was as friendly as possible for hackers and makers. We especially like the 3D printed case designed in OpenSCAD, and his insistence that the gadget have a front panel with blinking status LEDs. Again, the vast majority of us don’t need our clocks to be accurate down to the nanosecond…but it’s nice to know we have the option.

This KVM Runs A P4 Instead Of A Pi.

If you asked us to build you a KVM last week, we’d likely have reached for a Raspberry Pi. Now, thanks to [JonathanRowny], we’d seriously consider an ESP32-P4, because his IP KVM seems pretty capable.

He’s using the P4 hardware to its fullest, getting the supported 1080p graphics, and doing so in an interesting way– he’s got a commercial adapter board to try and translate HDMI signals to the camera input on his dev board. Conveniently enough, it’s the same ribbon-cable pinout as the RPi, which is not guaranteed by the CSI standard. Writing a driver to take that signal proved the hardest part– aside from the usual chip revision confusion that plagues this chip– and we can’t help but wonder if the client on the other side of the KVM-IP link might have an easier time doing the image processing that was required for a good image. Regardless, he’s got the code as it is now up on GitHub under the Apache license. 

As of this this writing, there’s no audio, and ironically for an ESP32 project networking is wired-only– but much more importantly, there is no security. So it’s a work in progress, but great to see the P4 in the wild doing something other than emulation. Not that we haven’t seen the P4 at work before–the Tanmatsu handheld also makes use of Expressif’s most powerful chip for a handy little terminal. Between the KVM and the handhelds, we cannot help but wonder how many of the projects that were once the provenance of a Pi will get squeezed into these overpowered microcontrollers. Sure, they can’t even match the original Pi in horsepower, never mind a modern Pi5, but how many times have you seen a Linux SBC seriously under-taxed in a project like this?

If you’re swapping Pi for P4– or doing anything else interesting– please let us know on the tips line.

Continue reading “This KVM Runs A P4 Instead Of A Pi.” →

Review: The Tanmatsu, A Year On

About 18 months ago, we brought you a sneak peek at a handheld that started life in the Dutch conference badge scene. At the time it showed promise, but its software wasn’t ready for a fair review. Now it has both a stable operating system and a growing software library. It’s time to put it through its paces and see what it can do.

A Handheld Computer For Hackers

The Tanmatsu PCB, showing all the different parts.
The bare PCB, with the expansion connector bottom centre.

The Tanmatsu (Japanese for “Terminal”), is a general putpose palmtop computer based around an ESP32-P4 application processor from Espressif. It takes the form of a PCB and PETG 3D printed sandwich, with the front face PCB sporting a silicone QWERTY keyboard and an 800×480 MIPI DSI display. The keyboard should be familiar to many readers, being the same moulding as the Solder Party KeebDeck which has appeared on other devices.

Under the hood that P4 has two 400MHz RISC-V cores and 32MB of PSRAM with 16MB of Flash, and there’s an ESP32-C6 for WiFi, BLE and IEEE 802.15.4 mesh networking. There’s an Ebyte LoRa module with an SMA antenna too, which can be had in 868, or 915MHz versions depending on where in the world you live. Continue reading “Review: The Tanmatsu, A Year On” →

ESP32: When Is A P4 A P4, But Not The P4 You Thought It Was

We’re used to electronic parts of the same type staying predictably the same, sometimes over many years. An early Z80 from the mid 1970s can be exchanged with one from the end of production a few years ago, for example. This week, we’ve had DMs from several readers who’ve found that this is not always the case, and the culprit is surprising. Espressif has released a new revision of their P4 application processor, and though it’s ostensibly the same, there are a couple of changes that have been catching people out.

The changes lie in both hardware and software, in that there’s a pin that’s changed from NC to a power rail, a few extra passives are needed, and firmware must be compiled separately for either revision. The problem is that they are being sold as the same device and appear in some places under the same SKU! This is leading to uncertainty as to which P4 revision is in stock at wholesalers. We’ve been told about boards designed for the old revision being assembled with the new one, a situation difficult to rework your way out of. Designers are also left uncertain as to which firmware build is needed for boards assembled in remote factories.

The ESP32-P4 is an impressive part for its price, and we’re sure that we’ll be seeing plenty of projects using this new revision over the coming years. We’re surprised that it doesn’t have a different enough part number and that the wholesalers have seemingly been caught napping by the change. We’re told that some of the well-known Chinese assembly houses are now carrying the two chips as separate SKUs, but that’s scant consolation for a designer with a pile of boards carrying the wrong part. If you’re working with the P4, watch out, make sure your board is designed for the latest revision, and ask your supplier to check which chips you’ll get.

If the P4 is new to you, we’ve already seen a few projects using it.