Arduino vs Raspberry Pi

They look pretty comparable, at a first look. Chips, connectors, openings for screws. Ends up, they are extremely unique. Beginning from the core. Arduino comes with a 8-bit microcontroller. The Raspberry Pi comes with a 64-bit microprocessor. 

Arduino has 2 Kilobytes of RAM. Raspberry Pi has 1GB of RAM. (500,000x more) As far as I/O, Arduino has a USB-B port that can be utilized by a computer to move new projects to run, a force input and a bunch of I/O pins. 

A Raspberry Pi is much more sophisticated in such manner, having a Video yield, a HDMI port, a SD card port, an Audio jack, CSI camera port, DSI show port, 4 USB 2.0 ports which you can use to attach USB devices, a Gigabit Ethernet jack, Wireless LAN, Bluetooth 4.2 and I/O pins (GPIO) too. Bunches of things. 

Arduino has no working framework. It can just run programs that were compiled for the Arduino stage, which generally implies programs written in C++. Raspberry Pi runs a working framework, which is generally Linux. It’s a little computer, while Arduino is much more basic.

Arduino is ideal to be modified utilizing C++ and its “Arduino language” which is only C++ with some conveniences that make it simple for amateurs to begin with. 

Anyway you are not restricted to it. In the event that you can live with the constraints of having the Arduino attached to the USB port of the computer, you can run Node.js code on it utilizing the Johnny Five project, which is really cool. There are comparable instruments for different dialects, as pyserial and Gobot. 

As I would see it Arduino is best when you need to compile a program for it, attach a battery or a force connector and put it some place to run, and mess with sensors and other nice stuff that interfaces with this present reality. 

You don’t need to stress over anything as there isn’t anything else than your program running on the Arduino. It doesn’t have an organization (I’m discussing the Uno) out of the container. 

A Raspberry Pi is more similar to a little computer without a screen, which you program utilizing more conventional devices. 

I would utilize an Arduino to control my self-watering plants or track the temperature outside, or power some home robotization stuff, yet I would utilize a Raspberry Pi as a retro gaming stage or a web worker.



Allow us to begin with Arduino. Arduino was created by Massimo Banzi Et Al. in Ivrea, Italy. Arduino is a straightforward gadgets prototyping device with open-source equipment and programming. Arduino is essentially a Microcontroller improvement board utilizing which you can Blink LEDs, acknowledge contributions from Buttons, read information from Sensors, control Motors and numerous other “Microcontroller” related errands.

The most famous Arduino board is the Arduino UNO, which depends on the ATmega328P Microcontroller from Atmel (presently Microchip). Coming to the product side of Arduino, all Arduino sheets can be modified in C and C++ programming dialects utilizing a special programming called Arduino IDE. The Arduino IDE consists of all the toolchains for altering source code, compiling and programming the Microcontroller on the Arduino board. 

In the event that you have past experience with Microcontrollers like 8051, Atmel or PIC Microcontrollers, at that point you presumably understand the long process of creating applications utilizing these microcontrollers. In the event that you are not comfortable, let us see the process momentarily. 

To begin with, you need to compose the application programming (the primary source code) in a dedicated IDE (like Keil, Atmel Studio or PIC’s MPLAB IDE). At that point you need to compile the code and produce the double record as a .hex document. Presently utilizing a special equipment called “Developer”, you need to transfer the hex document to the objective microcontroller utilizing a software engineer programming. 

Arduino worked on this process with attachment and-play style quick programming. Utilizing a solitary programming (the Arduino IDE), you can compose the code, compile it and transfer it to the Microcontroller. You likewise needn’t bother with discrete equipment for transferring the program. Basically module the Arduino board to a Computer through USB Port, hit the transfer button, et presto, the Microcontroller on Arduino board is prepared to finish its errands. 

Another significant thing about Arduino is it is open-source. This implies the plan records and the source code for programming and libraries are unreservedly accessible. You can utilize the equipment configuration records as a reference and basically make your own Arduino board.



Raspberry Pi

The Raspberry Pi was created by Eben Upton at the University of Cambridge in the United Kingdom to educate and improve programming abilities of understudies in developing nations. While Arduino is a Microcontroller based advancement board, the Raspberry Pi is a Microprocessor (normally an ARM Cortex A Series) based board that goes about as a PC. 

You can associate a few peripherals like a Monitor (through HDMI or AV Port), Mouse and Keyboard (through USB), interface with web (through Ethernet or Wi-Fi), add a Camera (through the devoted Camera Interface), actually as we do to our personal computer.

Since the whole Computer (the Processor, RAM, Storage, Graphics, Connectors, etc.) is perched on a solitary Printed Circuit Board, the Raspberry Pi (and other comparable sheets) are called Single Board Computers or SBC. 

As Raspberry Pi is basically a full computer, it can run an Operating System. The Raspberry Pi Foundation, the association which is answerable for planning and developing Raspberry Pi SBC, likewise gives a Debian based Linux Distribution called the Raspberry Pi OS (recently known as the Raspbian OS). 

Another significant thing about Raspberry Pi is, as it is a Linux based Computer, you can create programming utilizing a few Programming Languages like C, C++, Python, Java, HTML, etc. 

Despite its unique goals, which is to advance programming (like Python and Scratch Programming Languages) in schools, the first Raspberry Pi SBC became incredibly famous among DIY manufacturers, specialists and fans for developing a few applications like Robotics, Weather Stations, Camera based security frameworks etc. 

Because of its success and notoriety, the Raspberry Pi Foundation is continuously refreshing and delivering new forms of Raspberry Pi with the most recent one being the Raspberry Pi 4 Model B. 

The equipment configuration records and the firmware of Raspberry Pi are not open-source.