Earlier quoted context omitted.
Well.. yes? A relative of mine is a student and is into electronics. His monthly income (with various bonuses for good academic performance) is around $100 per month IIRC. $5 is a significant sum for someone like that. Especially when developing something. I let out magic smoke from many a chip over the years (or partially destroyed one of the internal components, rendering the whole chip pretty much useless).
Who's giving out two-digit monthly bonuses for academic performance? Parents? That's a weird way to describe allowance though.
The cheapest flash microcontroller you can buy is actually an Arm Cortex-M0+
51–60 of 69 posts
Re: The cheapest flash microcontroller you can buy is actually an Arm Cortex-M0+
#52Earlier quoted context omitted.
Sure but does your financial situation change if you pay 10¢ for your microprocessor versus paying $5 for your microprocessor?
Well.. yes? A relative of mine is a student and is into electronics. His monthly income (with various bonuses for good academic performance) is around $100 per month IIRC. $5 is a significant sum for someone like that. Especially when developing something. I let out magic smoke from many a chip over the years (or partially destroyed one of the internal components, rendering the whole chip pretty much useless).
Re: The cheapest flash microcontroller you can buy is actually an Arm Cortex-M0+
#53Earlier quoted context omitted.
I think the main appeal is to work with small devices that have well defined resources. Just consider the popularity of the ATtiny85. However, low end 32bit devices are also available from reputed suppliers. In fact, STM just announced the STM32C* series which is also aimed at replacing 8 bit controllers. The cost benefit may only be true for low numbers and when sourcing from distributors. I am fairly certain that t…
Can I buy STM32 in some decent numbers, or are they still made out of unobtanium?
Re: The cheapest flash microcontroller you can buy is actually an Arm Cortex-M0+
#54do sourcing chips from china have some risks these days?
Re: The cheapest flash microcontroller you can buy is actually an Arm Cortex-M0+
#55Is this legitimately licensed IP, or at this point stolen IP?
The clones tend to be reimplemented from scratch. It turns out a team of 10 in a few months can reimplement a small microcontroller from just the public documentation of a competitor. By being 100% compatible, customers can move across without any engineering work, and you can reuse the same toolchain. I doubt either the manufacturer or their customers will have any legal issues. On the other hand, you probably will…
Not sure about ARM license.
Re: The cheapest flash microcontroller you can buy is actually an Arm Cortex-M0+
#56https://www.lcsc.com/mobile/product-detail/Microcontroller-U...
Re: The cheapest flash microcontroller you can buy is actually an Arm Cortex-M0+
#57Re: The cheapest flash microcontroller you can buy is actually an Arm Cortex-M0+
#58I think he's doing an important analysis, but not for DIY hobbyists: knowing how cheap your SoC is only makes sense when you're finalizing a BOM for mass production, even if they're small runs. The SoC is only one component of at least a dozen required to make a working microcontroller board. If you're doing DIY hobbyist yourself, you'll want to buy pre-mounted SoCs in a known form factor (as in, it is on a tiny daug…
STM32F0 is a cheap Cortex M0+ that has on-board flash and on-board oscillator. Other Cortex M0+ parts are similar (with the RP2040 as a massive exception). This means that the board design is extremely simple.
---------
> the SoC, RAM, flash, USB connector, the rest, and it's all machine placed and soldered, and individually tested.
Case in point: STM32F0 has RAM, Flash, Oscillator all on the SoC. Just apply Vcc + Ground and your code is running.
I guess programming is somewhat difficult, but sockets do exist for a variety of form factors. ZIF sockets for DIP are cheap, looks like the sockets for STM32F0 (64 quad flat package) are a bit pricy though.
But an "on board" chip programmer is simple in my experience. STM32 / Microchip SAM Cortex chips are designed to be easily programmed and prototyped.
--------
I think you're right in that hobbyists ought to start with developer boards. USB "makes sense" to a lot of people.
But I also want to encourage hobbyists, even advanced beginners, to mess with chips directly. Some chips are much easier to bootstrap than others. Yes, even on a breadboard.
https://www.brennantymrak.com/articles/programming-avr-with-...
Re: The cheapest flash microcontroller you can buy is actually an Arm Cortex-M0+
#59Earlier quoted context omitted.
Can I buy STM32 in some decent numbers, or are they still made out of unobtanium?
This is the problem when building around a specific part, no matter how cheap. The hobbyist community has selected certain daughter boards to clone, and then place SoCs on them that can run Linux (or any other hobbyist OS). If one SoC vanishes from the market, you can drop another one in, and often with zero changes to your design, keep going.