4 ms·
AVRs have much better sleep modes (single digit microamps) and predictable performance (to the exact clock cycle) by default. If you need long battery life or h
by mrob 10y ago
AVRs have much better sleep modes (single digit microamps) and predictable performance (to the exact clock cycle) by default. If you need long battery life or hard real-time performance then they're probably a better choice than the Raspberry Pi.
- azdle 10y agoTrue, however that's AVRs and not Adruino. You very quickly get out of arduino-land when you have any constraints like battery life or performance. By far the vast majority of people contemplating either Arduino or RPi will never know enough to be able to tune things like that. Heck the last time I looked into doing sleeping on an AVR-based Arduino it basically said go look at the 328's manual to set the registers directly. (Although that was a long time ago.)
- j1vms 10y agoAll reasonable responses in this thread to GP, but parent hits the nail on the head. For non-hobbyist problems where you really need a microcontroller, it is selected by spec (in terms of performance, operational predictability, physical/material properties, power consumption), and then purchased in volume (~ millions). Employing a general-purpose CPU for said problem, while potentially alright when prototyping, would not be satisfactory.