4 ms·
I guess I rarely see the case for an AVR when you're not prototyping on an Arduino. You can get chips that are an order of magnitude more powerful per $/watt/a
by monocasa 9y ago
I guess I rarely see the case for an AVR when you're not prototyping on an Arduino. You can get chips that are an order of magnitude more powerful per $/watt/and any other metric you'd want to use.
- Bromskloss 9y agoHave you read "The Amazing $1 Microcontroller" [0], which might have been posted here before? It's a survey of available microcontrollers, with the intent of helping you choose one. If you have read it, are you in agreement with the article, for example on how AVRs compare to others? [0] https://jaycarlson.net/microcontrollers/ https://jaycarlson.net/microcontrollers/
- monocasa 9y agoYeah, he put a lot of work into that, and I love that he published all of the information. My biggest complaint though is that he expresses GPIO cycle time and interrupt latency in cycles, rather than normalized on real time. Particularly when comparing a STM32F0 to an AVR, the perf looks almost even, until you realize that the STM32F0 is clocked 2.5x faster.
- Bromskloss 9y agoGood point. Have you, or someone else, mentioned this to the author?
- kevin_thibedeau 9y agoLow latency IO and computational performance isn't always needed.
- monocasa 9y agoIf it's not, you can drop the cost. There are AVR like 8051s that you can get for 10 cents.
- thethirdone 9y agoI can't find any 8051 less than 30 cents and I digikey sells attinys for 17 cents.
- falcrist 9y agoI haven't confirmed what you've said yet, but it makes sense since 8051/8052 MCUs are generally used for their compatibility with legacy code. I've been working on an agricultural spray controller that uses some silab part only because there is already assembly code written for it. The company that sells the controller doesn't want to spend the time rewriting it in C and moving to arm or pic.
- monocasa 9y ago> digikey There's your problem. Digikey is only really meant for low volume.
- imtringued 9y agoThat doesn't explain why you suggested a more expensive chip.
- monocasa 9y agoWhat's cheaper or not depends on your volume at that level.