feature article
Subscribe Now

Didja Hear the One About the 3¢ MCU?

Really Small Microcontroller is Cheaper Than its Packaging

“In my day we only had 1’s and 0’s. And sometimes we ran out of 0’s!” – old programmer

Cognitive dissonance means entertaining two conflicting ideas at the same time. Your head hurts. It doesn’t make sense. Some things just should not be. 

Take the PMS150C, a microcontroller chip from Padauk, which operates around the corner from a Starbucks and the Go Eat Tapas Bar & Restaurant on the busy Gongdaowu Road in downtown Hsinchu City, Taiwan. It doesn’t seem like it should be there. 

I don’t mean the company. The company is real enough. They’re probably nice people. But their products? They make my brain hurt. 

The aforementioned PMS150C is an 8-bit microcontroller that sells for $0.03. That’s three cents. As in, pennies. That’s not even the mega-volume price you get when you order a million units. That’s for one single chip. Presumably, they get even cheaper in volume. Which is hard to imagine. 

Postage is more expensive than that. A first-class stamp in the United States is currently $0.55. You could buy 17 microcontrollers and still have change left over. Cheap penny candy costs more than this MCU. It’s literally cheaper than dirt

And the weird part is, it’s not a terrible MCU. Sure, it’s on the rudimentary side, but it’s also useful, like a hammer. It runs at 16 MHz (sort of), it has internal RAM and ROM, and you can program it in C. It plays near the same ballpark as a low-end Microchip PIC or AVR, but weirder and cheaper. Those chips are priced in double digits of pennies! Scandalous. 

According to the unevenly translated website, the PMS150C is but one of a family of MCUs from Padauk. Some have more internal ROM than others. Some have more RAM. Some have A/D converters, extra I/O pins, or a hardware multiplier. Oh… you thought hardware multiplication was standard? No, no, that’s an optional feature. Without it, you get to do integer multiplication the old-fashioned way: by shifting and rotating bits. 

Prices range from a low of $0.0318 for the PMS150C up to a whopping $0.1621 for the apparently gold-plated PMS232. I love prices with four significant digits after the decimal point. 

Coincidentally, the PMS150C compares favorably with the Apollo 11 Guidance Computer we reviewed last week. It’s got a similar instruction set and programmer’s model, but with a much faster clock. Apart from the speed difference, their capabilities are remarkably similar. 

The PMS150C and its siblings have no onboard peripherals, unlike most MCUs. It’s just the processor, RAM, ROM, a couple timers, and the I/O pins. That’s it. There is no UART, no SPI, no fancy LCD controller. If you want the pins to wiggle, you’ve got to wiggle them yourself. The PMS150C is for real programmers who hand-craft their own 1’s and 0’s. Get ready to roll up your sleeves. 

In fact, the instruction set seems like it was designed specifically for bit-banging the I/O pins. There’s the usual assortment of bitwise logic instructions to toggle bits, but also a few interesting delay and timer instructions that ought to make it easier to create software-only timing loops. All instructions execute in one cycle. It’s also easy to put the MCU to sleep and have it wake on any I/O pin activity. In a sense, all the pins are interrupt pins. You could pretty easily create your own UART or PWM or other serial interface just through software. 

There’s a set of shadow registers that allow you to preserve machine state before an interrupt or subroutine call. There’s a stack pointer, so you can find your way back. The machine treats memory and I/O as separate address spaces, so it’s just like an x86! Registers can be used as indirect address pointers, so it can do C-style pointer dereferencing. The company even provides its own IDE, complete with C compiler. The whole download takes about two seconds. 

The onboard ROM is one-time programmable (OTP), so be careful what you choose to burn into it; there’s no going back. (Some of its siblings have flash.) But, honestly, a 3-cent microcontroller is cheaper than any flash chip, so you’re better off replacing the whole MCU when it’s time for an update. Kind of like buying a new car when the ashtray gets full. 

The PMS150C is just about the cheapest surface-mount component I’ve ever seen, regardless of functionality. There are resistors more expensive than that. I have trouble understanding how Padauk is able to design, manufacture, package, and sell its MCUs so cheaply, but I guess that’s not my problem. At that price, you could replace almost any component, active or passive, with a programmable MCU. 

An MCU this cheap turns the normal economics of R&D on its head. In production, the unit cost of the component is negligible. It doesn’t really matter if you’re buying 100 MCUs or 100,000 of them. What does cost money are the development tools and the engineering time. That, more than any hardware cost, will determine the ultimate profitability of the project. In effect, all the cost is up front, in development. After that, it’s nearly free. 

As long as you don’t try to mail it anywhere.

6 thoughts on “Didja Hear the One About the 3¢ MCU?”

    1. @celsokenm:
      Creepy ? No – it’s great. I was waiting for somethingn like this for a long time.

      Cores ( at least 8-bit ones AFAICT) are trimed-down cross between PIC and 6502.
      It makes perfect sense to have many of them, most of them running small loops – tasklets.

      This makes it possible to do many synchronized things at the same time, without fiddling with interrupts, registers & PC save/reload etc etc.

      Great stuff.

  1. BTW, they have interesti8ng small FLASH-based 4-“core” parts in the catalogue, but not yet on the webpage.

    It seems they are to be presented soon…

  2. BTW2: A cole cents for micro is not unheard of.

    I think some big players have itnrduced a few names in that price bracket, but that was for high-volume orders.

    Only substatnial change here is that this one serves hign-volumes in CHina, but would like to expand into the world, hence the offer – to get known through hobbyists an small/meium shops into circulation.

Leave a Reply

featured blogs
May 26, 2022
Introducing Synopsys Learning Center, an online, on-demand library of self-paced training modules, webinars, and labs designed for both new & experienced users. The post New Synopsys Learning Center Makes Training Easier and More Accessible appeared first on From Silico...
May 26, 2022
CadenceLIVE Silicon Valley is back as an in-person event for 2022, in the Santa Clara Convention Center as usual. The event will take place on Wednesday, June 8 and Thursday, June 9. Vaccination You... ...
May 25, 2022
There are so many cool STEM (science, technology, engineering, and math) toys available these days, and I want them all!...
May 24, 2022
By Neel Natekar Radio frequency (RF) circuitry is an essential component of many of the critical applications we now rely… ...

featured video

Building safer robots with computer vision & AI

Sponsored by Texas Instruments

Watch TI's demo to see how Jacinto™ 7 processors fuse deep learning and traditional computer vision to enable safer autonomous mobile robots.

Watch demo

featured paper

Introducing new dynamic features for exterior automotive lights with DLP® technology

Sponsored by Texas Instruments

Exterior lighting, primarily used to illuminate ground areas near the vehicle door, can now be transformed into a projection system used for both vehicle communication and unique styling features. A small lighting module that utilizes automotive-grade digital micromirror devices, such as the DLP2021-Q1 or DLP3021-Q1, can display an endless number of patterns in any color imaginable as well as communicate warnings and alerts to drivers and other vehicles.

Click to read more

featured chalk talk

Just 1-Wire to Power and Operate I2C or SPI Endpoints

Sponsored by Mouser Electronics and Analog Devices

If you are working on a connection or IO constrained design, a one wire solution could be a great way for you to power and operate your I2C or SPI endpoints. In this episode of Chalk Talk, Amelia Dalton chats with Scott Jones from Maxim Integrated about the DS28E18 communications bridge: a one wire solution that can help you address a variety of system level challenges including protocol conversion, wiring limitations, and communication distance concerns.

Click here for more information about the Maxim Integrated DS28E18EVKIT Evaluation System