Hands-On: The RISC-V ESP32-C3 Will Be Your New ESP8266

We just got our hands on some engineering pre-samples of the ESP32-C3 chip and modules, and there’s a lot to like about this chip. The question is what should you compare this to; is it more an ESP32 or an ESP8266? The new “C3” variant has a single 160 MHz RISC-V core that out-performs the ESP8266, and at the same time includes most of the peripheral set of an ESP32. While RAM often ends up scarce on an ESP8266 with around 40 kB or so, the ESP32-C3 sports 400 kB of RAM, and manages to keep it all running while burning less power. Like the ESP32, it has Bluetooth LE 5.0 in addition to WiFi.

Espressif’s website says multiple times that it’s going to be “cost-effective”, which is secret code for cheap. Rumors are that there will be eight-pin ESP-O1 modules hitting the streets priced as low as $1. We usually require more pins, but if medium-sized ESP32-C3 modules are priced near the ESP8266-12-style modules, we can’t see any reason to buy the latter; for us it will literally be an ESP8266 killer.

On the other hand, it lacks the dual cores of the ESP32, and simply doesn’t have as many GPIO pins. If you’re a die-hard ESP32 abuser, you’ll doubtless find some features missing, like the ultra-low-power coprocessor or the DACs. But it does share a lot of the ESP32 standouts: the LEDC (PWM) peripheral and the unique parallel I2S come to mind. Moreover, it shares the ESP-IDF framework with the ESP32, so despite running on an entirely different CPU architecture, a lot of code will run without change on both chips just by tweaking the build environment with a one-liner.

One of these things is not like the other

If you were confused by the chip’s name, like we were, a week or so playing with the new chip will make it all clear. The ESP32-C3 is a lot more like a reduced version of the ESP32 than it is like an improvement over the ESP8266, even though it’s probably destined to play the latter role in our projects. If you count in the new ESP32-S3 that brings in USB, the ESP32 family is bigger than just one chip. Although it does seem odd to lump the RISC-V and Tensilica CPUs together, at the end of the day it’s the peripherals more than the CPUs that differentiate microcontrollers, and on that front the C3 is firmly in the ESP32 family.

Our takeaway: the ESP32-C3 is going to replace the ESP8266 in our projects, but it won’t replace the ESP32 which simply has more of everything when we need it. The shared codebase and peripheral architecture makes it easier to switch between the two when we don’t need the full-blown ESP32. In that spirit, we welcome the newcomer to the family.

But naturally, we’ve got a lot more to say about it. Specifically, we were interested in exactly what the RISC-V core brought to the table, and ran the module through power and speed comparisons with the ESP32 and ESP8266 — and it beats them both by a small margin in our benchmarks. We’ve also become a lot closer friends with the ESP-IDF SDK that all of the ESP32 family chips use, and love how far it has come in the last year or so. It’s not as newbie-friendly as ESP-Arduino, for sure, but it’s a ton more powerful, and we’re totally happy to leave the ESP8266 SDK behind us.

Continue reading “Hands-On: The RISC-V ESP32-C3 Will Be Your New ESP8266”

Hackaday Podcast 104: Delicous AI, DVD Scanning Microscope, And Battery-Friendly Microcontroller Designs

Hackaday editors Elliot Williams and Mike Szczys spin the wheel of hardware hacking brilliance. We’re enamored with the quest for a root shell on a Nissan Xterra infotainment system, and smitten with a scanning microscope that uses a laser beam and precision positioning from DVD drives. We speculate on the future of artificial intelligence in the culinary arts. And this week turned up a clever way to monitor utility usage while only changing the battery on your sensor once per year.

Take a look at the links below if you want to follow along, and as always, tell us what you think about this episode in the comments!

Direct download (~65 MB)

Places to follow Hackaday podcasts:

Continue reading “Hackaday Podcast 104: Delicous AI, DVD Scanning Microscope, And Battery-Friendly Microcontroller Designs”

Sewage Maceration Is As Gross As It Sounds

Day to day, few of us really contemplate what’s happening on a deep, mechanical level when we use the toilet. The business is done, the toilet is flushed, and we go about our day. However, the magnificent technology of indoor sanitation should not be sniffed at, given the manner in which it facilitates a cleaner, more comfortable existence for us all.

The vast majority of flush toilets rely on the benefit of gravity to remove waste from the house. This necessitates that the toilet be installed above the sewage lines that exit the house. For most installations at ground floor and above, this isn’t a problem. However, on occasions you may encounter basements or houses with rooms at lower levels where a regular toilet simply won’t work. Obviously, a pump is in order, but human sewage being a mixture of liquids and solids makes this impractical. Instead, it must be turned into a slurry that can be pumped; a process known as sewage maceration. Buckle up!

Continue reading “Sewage Maceration Is As Gross As It Sounds”

Machine Learning In The Kitchen Makes For Tasty Mashup Desserts

What did you do during lockdown? A whole lot of people turned to baking in between trips to the store to search for toilet paper and hand sanitizer. Many of them baked bread for some reason, but like us, [Sara Robinson] turned to sweeter stuff to get through it.

The first Cakie ever made. Image via Google Cloud

Her pandemic ponderings wandered into the realm of baking existentialist questions, like what separates baked goods from each other, categorically speaking? What is the science behind the crunchiness of cookies, the sponginess of cake, and the fluffiness of bread?

As a developer advocate for Google Cloud, [Sara] turned to machine learning to figure out why the cookie crumbles. She collected 33 recipes each of cookies, cake, and bread and built a TensorFlow model to analyze them, which resulted in a cookie/cake/bread lineage for each recipe in a set of percentages. Not only was the model able to accurately classify recipes by type, [Sara] was able to use the model to come up with a 50/50 cookie-cake hybrid recipe. The AI delivered a list of ingredients to which she added vanilla extract and chocolate chips for flavor. From there, she had to wing it and come up with her own baking directions for the Cakie.

Continue reading “Machine Learning In The Kitchen Makes For Tasty Mashup Desserts”

Art of 3D printer in the middle of printing a Hackaday Jolly Wrencher logo

3D Printering: Why Aren’t Enclosures Easier?

For 3D printers that aren’t already enclosed, why is easily adding a cheap and effective enclosure still not a completely solved problem? The reason is simple: unless one’s needs are very basic, enclosures are more than just boxes.

Different people need different features, printers come in different shapes and sizes, and creating something that can be both manufactured and shipped cheaply is a challenge in itself. In this article I’ll explain how those things make boxing up your printer a tougher nut to crack then may seem at first glance.

Enclosures Have Different Jobs

People have different expectations of what an enclosure’s job should be, and that determines which features are important to them and which are not. Here is a list of meaningful features for 3D printer enclosures; not everything on this list is important to everyone, but everything on this list is important to someone. Continue reading “3D Printering: Why Aren’t Enclosures Easier?”

It Costs WHAT?! A Sounding Into Hearing Aids

We are accustomed to medical devices being expensive, but sometimes the costs seem to far exceed reasonable expectations. At its most simplistic, a hearing aid should just be a battery, microphone, amplifier, and speaker, all wrapped in an enclosure, right? These kinds of parts can be had for a few dimes, so why do modern hearing aids cost thousands of dollars, and why can’t they seem to go down in price?

Continue reading “It Costs WHAT?! A Sounding Into Hearing Aids”

Mechanical Timekeeping Hack Chat With Clickspring

Join us on Wednesday, February 3 at noon Pacific for the Mechanical Timekeeping Hack Chat with Clickspring!

The reckoning of the passage of time has been of vital importance to humans pretty much for all our history, but for most of that time we were stuck looking at the movements of heavenly bodies or noting the changing of the seasons to answer questions of time. The search for mechanical aids to mark the passage of time began surprisingly early, though, pretty much from the time our ancestors first learned to work with metals.

Timekeeping devices were often created to please a potentate or to satisfy a religious imperative, but whatever the reason for their invention, these early clocks and calendars were key to a ton of discoveries. Timekeeping devices were among the first precision mechanisms, and as such formed the basis of much of our mechanical world. A mechanical representation of the passage of time also gave us some of the first precise observations of the physical world, which led to an enormous number of discoveries about the nature of the universe, not to mention practical skills such as navigation, which allowed us to explore the world with greater confidence.

In our era, precision timekeeping has moved beyond the mechanical realm into the subatomic world, and mechanisms built to please a prince are relegated to museums and collectors. That’s not to say there isn’t plenty to learn from the building of mechanical timepieces, as anyone who has watched any of the videos on Clickspring’s YouTube channel can attest. Clickspring not only makes some magnificent modern timepieces, like his famous open-frame clock, but recently he’s also branched out into the timekeeping mechanisms of the ancients. He built a reproduction Byzantine sundial-calendar, and tackled a reproduction of the famous Antikythera mechanism. The latter was undertaken using only the tools and materials that would have been available to the original maker. That led to an unexpected discovery and a detour into the world of scholarly publishing.

Clickspring has been busy lately, but he made some time to stop by the Hack Chat and talk about mechanical timepieces. We’ll talk about his modern builds, his forays into the mechanisms of antiquity, and his serendipitous discovery. On the way we’re likely to talk about what it takes to build precision mechanisms in a small shop, and whatever else that crops up.

join-hack-chatOur Hack Chats are live community events in the Hackaday.io Hack Chat group messaging. This week we’ll be sitting down on Wednesday, February 3 at 12:00 PM Pacific time. If time zones have you tied up, we have a handy time zone converter.

Click that speech bubble to the right, and you’ll be taken directly to the Hack Chat group on Hackaday.io. You don’t have to wait until Wednesday; join whenever you want and you can see what the community is talking about.

Continue reading “Mechanical Timekeeping Hack Chat With Clickspring”