Why buy Raspberry Pi?

For Adafruit customers who seek help with microcontrollers

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
rahatmaini
 
Posts: 176
Joined: Wed Aug 29, 2012 5:15 pm

Why buy Raspberry Pi?

Post by rahatmaini »

I have an arduino UNO, and I have lots of stuff for it, a data logging shield, servos, joysticks, display, various sensors, and lots of other stuff. Why would I want to buy a raspberry pi? What are some of the things that would make me want it versus an arduino. And are there things they can do together, working as a team of micro controllers?

Thanks you!

User avatar
Franklin97355
 
Posts: 23903
Joined: Mon Apr 21, 2008 2:33 pm

Re: Why buy Raspberry Pi?

Post by Franklin97355 »

Why would I want to buy a raspberry pi?
That is what you need to find out. Don't buy anything you don't have a use for unless you just like doing that. The pi is more powerful in the software sense and can be used with other micros (as can most other devices) When you find a project that requires more power or different abilities that your uno then you should consider the pi or thedue or the beablebone or the mbed or the........

User avatar
brucef
 
Posts: 215
Joined: Tue May 03, 2011 4:51 pm

Re: Why buy Raspberry Pi?

Post by brucef »

The key distinction between the two is that Arduino is a microcontroller platform, where Raspberry Pi is a microcomputer.

As some examples of the difference, microcontrollers tend to have better low level peripheral support, like ADCs and timers, and they also make it easier (relatively speaking) to do real-time programming. They tend to run on less power, and make very low power applications possible if you put in the work to control what hardware is running and when. Microcomputers have OSes and higher level programming and debugging tools, and much more CPU power for calculations, UI interactions and other typically 'computery' things. The Pi's USB host, Ethernet and audio/video output are relatively difficult or expensive to duplicate on an 8-bit microcontroller like Arduino.

I always summarize it roughly like so: a microcontroller is a set of peripherals with a small programmable core gluing them together, where a microcomputer is a computer with a bit of I/O attached. Obviously there's lots of room for overlap in the middle there, so as Franklin suggests, it comes down to your own project idea in the end.

You can certainly use them together too, to get the strengths of both. Usually I'd expect to see that as a Pi running most of the software for an application and using the Arduino as a controller for precisely timing peripherals, e.g. a robot with the Pi performing computer vision and other compute-insensive algorithms and an Arduino driving stepper motors and reading quadrature encoders.

User avatar
rahatmaini
 
Posts: 176
Joined: Wed Aug 29, 2012 5:15 pm

Re: Why buy Raspberry Pi?

Post by rahatmaini »

You guys have been extremely helpful, thanks a lot, really influenced my decision.

Thanks again!

Locked
Please be positive and constructive with your questions and comments.

Return to “Microcontrollers”