Earlier quoted context omitted.
I recalled a few years ago there were shockingly inexpensive MCUs at LCSC and similar far east vendors, but they were never heard before names, so I just checked again out of curiosity and here's a $0.05 one by Cypress. https://www.lcsc.com/product-detail/C2954567.html
That's out of stock, though. Here are my other shockingly inexpensive MCUs at LCSC that were in stock at the time: links from 02025-03-16: https://www.lcsc.com/product-detail/Microcontrollers-MCU-MPU... #LCSC #pricing for 16-pin #CH32V003 #microcontrollers #electronics #hardware: 14.21¢ in quantity 500. Not the cheapest, but it’s a RISC-V with IIRC an on-board op-amp, though the linked datasheet only covers the CPU r…
Cheapest "general purpose" microcontrollers that have enough features for good developer experience are Puya and WCH.
If you are a seasoned STM32 developer you will get used to them within a day.
Examples:
https://download.py32.org/Datasheet/en/PY32F071_Datasheet_Re...
https://arvidtek.com/wp-content/uploads/2025/06/CH32V006DS0-...