C
C
Cyril2015-01-23 16:15:49
Robotics
Cyril, 2015-01-23 16:15:49

Which platform to choose Arduino or Raspberry Pi?

Hello!
I would like to understand the pros and cons of these two platforms. I am faced with the choice of starting devkit.
Thanks in advance.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Mikhail Zelenkin, 2015-01-23
@awayyy

Depends on what you want to study.
Ardurino are microcontrollers.
The Raspberry Pi is actually a Linux computer.
Ardurino . If the goal is to deal with a very low level - microcontrollers. To study what processes occur in digital electronics. Then you should take Ardurino.
You have to work directly with hardware, write your own support, or look for ready-made libraries.
Requires understanding about the work of iron: CPU, memory, I / O, electronic components. You have to describe in the code each “jump” of the leg, handle interrupts, add the received bits, etc.
Then you can go to a lower level - write in C / Asm for AVR microcontrollers.
This is cool, but it takes a lot of time to create something working. However, everything is not so scary, plus there are many ready-made components / libraries.
Of the benefits: comes an understanding of how it works inside there. You can do compact (if you master the LUT and make your own boards) and quite interesting things. Practice with MK.
Of the minuses: like all low-level things, it requires patience and writing a large amount of code.
Raspberry Pi , as I wrote above, is a Linux computer. Here you have to deal more with Linux, I / O is abstracted by drivers. Therefore, if you are more interested in programming under Linux, then you should choose this platform.
From the pros: You can make a cool thing with a couple of lines on some python. Mastering Linux.
Of the minuses: There is no complete understanding of what is inside and how it works. Binding to the platform, albeit to Linux, which runs on almost everything. Sometimes redundancy, where Ardurino (AVR) would suffice, is shoved into Raspberry.
I started with AVR. Ardurino looked, but decided that I no longer need it, since I already have experience directly with the AVR MK. Then I bought a Raspberry, already consciously. Therefore, I would recommend starting with Ardurino, but it all depends on your goals.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question