Thanks for taking the time to respond again, Ray!
mrburnette wrote: Thu Oct 15, 2020 10:36 pm
$0.22 / 30 is not the extended price ... it is $6.60 for the uC's plus, PC board setup fee, stencil fee, other components and per solder connection fee. I am sure it is reasonable, but not 22 cents.
You're absolutely right. This is completely true -- it doesn't make any sense _on its own_. Adding it to a board you're already making (in my case, a dimmer / home automation control board, which I'll be using in every room of the house I'm building), it's not hard to get to 30 units, and at that point it really only _adds_ 22 cents, since it's one of the few parts that are part of the basic library, eschewing the $3 per component setup fee.
Plus, I may do something commercially in the future -- not yet, but I consider this good practice.
I finally get your point now, though. When you're making your own circuit boards with SMD parts, you're really not in arduino-land anymore. The criteria is quite narrow at this point, high level software abstractions designed to make it easy for beginners to get started probably aren't worth the development effort for such a narrow use case. I _do_ very much appreciate the sduino core as it exists, though. At this point in my own personal development, having the familiar setup and loop functions, not to mention pinMode and digitalWrite, helped me get it to do _something_. Even if I won't end up using the wrapper functions in the end, they were really nice to have in the beginning.
The STM8 indeed doesn't make much sense as a standalone development board. Where it makes sense is as a stand-in on a breadboard for what will later be an SMD part on a PCB.
mrburnette wrote: Thu Oct 15, 2020 10:36 pm
If you are willing to sacrifice a $2.50 ESP8266, why not a $1.89 Black Pill?
That was last year, when I had just started with electronics and microcontrollers (after a 20 year x86 software-only career). How things have changed since then

. That said, the Black Pill doesn't have WiFi does it?
I've personally used ESP8266, ESP32, Atmega328P and LGT8F328 for electronics projects so far. I haven't personally found a use case for the STM32 yet, but at this point I know I will get there too.
By the way, I checked out your projects page -- very cool! I for one cannot wait for the rainy day when you get bored and dremel out that circuit board under the ESP32 clone board's WiFi antenna. I'm really curious as to what makes that huge performance difference. It could very well be the module itself I think. I have seen similar huge performance differences on ESP8266 boards. Some Wemos D1 Mini boards have a wrong capacitor value right on the ESP-12F module IIRC.
//Leif