Arduino vs Raspberry Pi | Which is Best?

Arduino-vs-Raspberry-Pi




In this post we will see arduino vs  raspberry pi

 

What is Arduino?

What is raspberry pi?

Arduino Vs Raspberry pi

Control unit

Architecture

Specifications


Operating system

Licensing

Applications and

Types of boards

Arduino Vs Raspberry which is Better

 

 

 

1 - What is arduino

 

Arduino is an open source electronic gadget,

 

that reads inputs such as light on a sensor a finger on a button or,

 

a tweet and generates output based on those inputs such as

 

turning on the led or

 

activating a motor.

 

Arduino was created at a design institute as a simple tool for students with no prior experience with electronics and programming .

 

Arduino boards are microcontrollers not entire computers with operating systems of their own like the raspberry pi.

 

Arduino just run c c plus plus code that is stored in the firmware,

 

it integrated development environment is free software,

 

that allows you to create and upload code to an arduino board.

 

2 - What is raspberry pi

 

Raspberry pi is small low cost computer the size of a credit card,

 

That connects to a computer monitor or television and utilizes a conventional keyboard and a mouse.

 

Raspberry pi can do everything a desktop computer does including accessing the internet.

 

Using raspberry pi we can watch high definition videos access spreadsheets word processing and play games.

 

Raspberry pi has a dedicated processor memory and a graphics driver just like a pc, comes with its own os.

 

Raspberry pi operating system which is a modified version of linux,

 

Raspberry pi is also used in music machines parent detectors as well as weather stations and tweeting bird houses with infrared cameras,

 

3 - Arduino Vs Raspberry pi

 

The comparison between arduino versus raspberry pi.

 

 


Arduino

Raspberry

Control Unit

Arduino is a member of atmega family of microcontrollers.

The raspberry pi is an arm controller Unit.

Microcontroller chip common on arduino uno boats is atmega328 the 8-bit.

Broadcom chips based on arms cortex a application processor have powered raspberry pi from its release.

Avr microcontroller family includes atmega328 microcontrollers.

The raspberry pi 3 is the latest version of the raspberry pi launched in february 2016.

A surface mount at mega chip is seen on some arduino uno boards.

It has 1.2 gigahertz arm cortex a53 cpu making it compatible for the arm 63.

 

It has 1.2 gigahertz arm cortex a53 cpumaking it compatible for the arm 64 architecture.

 

Architecture

The harvard architecture is used by arduino cpu which means that the program code and the program data have distinct memory.

Raspberry pi contains a single core arm v6 processor

running at 700 megahertz a video core 4 gpu and 512 mb of ram.

It is made up of two types of memories program memory and data memory.

Its operating system and data are stored on sd card raspbian a lightweight linux operating system based on debian is officially supported by the raspberry pi.

The data is saved in the data memory while the code is kept in the flash program memory.

 

Licensing

Arduino is an open source electronics platform that uses simple tackle and software to make it easy to use.

Raspberry pi's hardware and software are both proprietary raspberry pi has never claimed to be open source.

it's for everyone who wants to make interactive projects.

many aspects of it particularly the software are open source but not all of it is.

Arduino perceives the environment by receiving data from a variety of sensors and actuators to influence its surroundings.

the raspberry pi has been criticized for having closed source components.

Operating System

Arduino boards are single board microcontrollers with firmware and no operating system.

Raspberry pi operating system for pc and mac is dbn with raspberry pi desktop.

a firmware program is a piece of software that is installed on hardware device.

It installs a raspberry pi operating system desktop on pc or apple mac as well as most of the recommended software that comes with raspberry pi operating system.

it doesn't have an operating system but it does have a firmware which can be programmed using several ides including the arduino ide.

 

Specifications

so if you look at the system arduino has microcontroller system.

whereas raspberry pi has single boarded computer processor.

Arduino has avr at mega 328p

Raspberry pi has broadcom ram

Arduino uno we have ram of 2 kb

Raspberry pi model 3 b plus we have 1gb ram

clock speed 16 megahertz in arduino

1.4 gigahertz Raspberry path execution

Arduino single program can be executed at a time

Raspberry pi multiple programs can run at a time

Current is 5 milli ampere in Arduino

Current is 5 milli ampere in raspberry pi

Gpu io pins arduino has 20

Gpu in raspberry pi has 40.

Power consumption in arduino is 175 milli watt

raspberry pi it is 700 milli watt

Arduino is used in

waving machines

traffic light Countdown timer

Parking lot counter

Embedded systems

Home automation

Industrial automation

Medical instrument and

Emergency light for railways

Raspberry pi is used in

Desktop pc

Wireless usage

Game servers

Retro gaming machine

Robot controller

Stop-motion camera and

Time-lapse camera

Boards

Arduino we have

Arduino UNO

Lilypad arduino

Arduino mega

Arduino Leonardo

Arduino red board and

Arduino shields

We have

Raspberry pi one model b

Raspberry pi 1 model a

Raspberry pi Model b plus

Raspberry pi model a plus

Raspberry pi 0

Raspberry pi 2

Raspberry pi 0w and

Raspberry pi 3 model b

 

 

 

4 - Arduino Vs Raspberry which is Better

 

We know a raspberry pi which is better the arduino and raspberry pi have their own set of benefits and drawbacks,

 

the best option for you will be determined by the requirement of your project and your budget.

 

arduino is ideal for automating repetitive operations such as opening and closing doors turning on and off lights and so on.

 

arduino should be the first pick if your project has any repeating elements and just requires generating output depending on sensory inputs.

 

Raspberry pi is ideally suited for complex activities such as controlling complex robots weather monitoring and internet publishing among others,

 

if your project necessitates advanced functionality as well as internet access then the raspberry pi is the option.