5 ms·
I use my RPi 4 quite a bit, but what are the uses of this, and of the RPi Pico?
by iratic0 5y ago
I use my RPi 4 quite a bit, but what are the uses of this, and of the RPi Pico?
- trasz 5y agoSame as Arduino, just not technologically obsolete.
- anaganisk 5y agoWhy is Arduino technologically obselete? Isn't arduino supposed to be a framework on which you build various applications using wide range of microcontrollers?
- trasz 5y agoI believe what most people think of when they say "Arduino" are the boards themselves, not the IDE. And the thing with the boards is, they are either obsolete, or expensive. RPi Pico is neither. And it comes with a modern language support, not a Java frontend to C compiler.
- blueflow 5y agoHow can the Arduino boards be obsolete? I still use nano clones because they are cheap AVR m328p boards with a fine power regulator and a sane quartz.
- trasz 5y agoWhat's the point of using an eight bit microcontroller if you can get something that's order of magnitude more capable for the same price?
- mschuster91 5y agoPower usage, for one.
- KMnO4 5y agoAVR chips are among the worst for power consumption. An Atmega328p will draw ~24mA at 16MHz. Compare that to an Atmel SAM-L that draws ~400uA (0.4mA) at the same 16MHz, and is on a 32-bit Arm Cortex platform.
- colejohnson66 5y agoIsn’t that mainly due to process nodes?
- trasz 5y agoAssuming I hadn't failed at basic maths, the absolute max power consumption for RP2040 (implementing a media player) is 130mW, but the average power consumption in a more typical scenario would be 14mA at 48MHz.
- blueflow 5y agoAVR is much simpler architecture-wise, and this has the more impact the more you actually need to read the processors datasheet.
- trasz 5y agoHave you actually compared the datasheets for AVR and RP2040?
- blueflow 5y agoRP 2040 is a board, not a processor. Did you compare an AVR datasheet with the ARM Cortex M0 Datasheet? ARM generally can't win this specific game against AVR.
- trasz 5y agoRP2040 is a SoC, not a board. So, have you?
- blueflow 5y agoYes i have, and ARM is significantly more complex than AVR. If you want to be more specific, AVR has no exceptions/faults and the interrupt priority is hardwired. Edit: And AVR has only one encoding for instructions, not a big and a small one.
- AndresNavarro 5y agoWhy not the other way around? What's the point of using a dual core 32bit with hundreds of K of ram for, let's say, a simple automated irrigation controller? There are applications for both.
- dimatura 5y agoYeah, it's funny how long-lived chips are in the embedded world. I think a lot of it comes down to inertia and familiarity. "If it ain't broke...". I see that with keyboards, for example, that like you said often still use atmega 328s. That said, if you just look at features versus price (specially if you're not buying at volume) there's a lot of nice things you can get for basically no extra cost (or even negative cost) in newer versus older chips.
- speed_spread 5y agoAVR is still fine for many uses but it's a 16bit controller. You can now get 32 bit ARM boards for about the same price, with more memory and better tooling. If starting from scratch, there's no reason to go with AVR.
- kevin_thibedeau 5y agoAVR can run at 5V and has 10mA drive on it's pins. Sometimes that matters for what you need to interface with. The newer chips with integrated USB have nice features like a high speed 64MHz timer and the serial port is free of conflicts.
- trasz 5y agoCool. The RP2040 can put up to 12mA, and it's adjustable per pin.
- Narishma 5y ago> AVR is still fine for many uses but it's a 16bit controller. Isn't it 8-bit?
- pjmlp 5y agoArduino runtime library is C++, and you can go as modern C++ as you feel like it, provided it fits into the memory. And there is plenty of modern C++ one can even put inside an obsolete C64, let alone an Arduino.