It is really difficult to choose right board to start learning. Arduino vs raspberry pi for robotics which is best. There are many question related this topics. Here, we will discuss these two popular boards in detail.
Raspberry pi is the name of the single-board computer. You can plug a computer monitor and can be used as a normal computer by attaching a keyboard and mouse. This mini-computer is designed by The Raspberry Pi Foundation based in the UK.
When we hear the word Arduino The first question that comes in mind is what is it. so, Arduino is an open-source electronics platform based hardware and software. Arduino is easy to use a microcontroller. Actually Arduino is the name of the company it has many products like Arduino UNO, Arduino mega, Arduino lily, etc.
There are lot’s of the variant available in the market according to Application. But here we will compare Raspberry pi 3b+ and Arduino UNO. I choose these two boards due to its popularity.
Arduino UNO is an ATmega328P microprocessor based development board. It has 14 digital and 6 analog input-output pins. It supports UART, SPI, I2C protocols. Arduino UNO has onboard USB to TTL using this you can program your board directly through your computer.
Raspberry pi is a single board computer. you need an operating system store in an SD card to use it. It has 17 GPIO(General-purpose input-output), 2 pins for I2C, 2 pins for UART and 5 pins for SPI communication. Raspberry pi b3+ has 4 USB Port, 1 HDMI port, 1 camera port, 1 ethernet port, and one display port. Bord also has inbuilt wifi, Bluetooth and one audio jack.
Memory and processor
Arduino UNO has 32KB of Flash memory, 2KB SRAM, 1KB of EEPROM. It has 16 MHz CPU speed. If you want in a detailed comparison of all models of Arduino follow this link.
Raspberry pi has Broadcom BCM2837B0, Cortex-A53 (ARMv8) 64-bit SoC 1.4GHz, 1GB LPDDR2 SDRAM. Rasbian is a popular Operating system for Raspberry pi.
Raspberry pi is a tinny computer with GPIO. so you need a OS. After that you need a screen, keyboard and mouse to work with it. Raspberry pi supports python so you need a good hand on this language to observe the output.
Price is one of the most important factors to choose hardware. If you go for the original product It will cost 23$ for Arduino UNO R3 or if you want a clone it will cost approx 7$. On the other hand Raspberry pi 3B+ cost on an average 35$.
I Prefer the raspberry pi. If you know what you are doing go for raspberry pi. But If you are a beginner go for Arduino because it is very easy to use. When you are enough confident with Arduino then switch to raspberry pi. R.pi is limitless you can do anything from LED blinking to artificial intelligence.