What's the difference? Arduino vs Raspberry Pi

Tinkernut
19 Oct 201906:21

Summary

TLDRThis educational video compares Arduino and Raspberry Pi, two popular devices in the tinkering community. Arduino, with its microcontroller, is ideal for simple electronic component control, suitable for robotics and requiring minimal power. Raspberry Pi, on the other hand, features a microprocessor and functions as a full computer, running Linux and offering more complexity and power needs. The choice between them depends on the project's requirements, with Arduino recommended for beginners and Raspberry Pi for more advanced, computer-integrated projects.

Takeaways

  • πŸ€– Arduino is a microcontroller platform designed for controlling electronic components, perfect for building robots.
  • πŸ”‹ Arduinos are self-contained and often powered by 9-volt batteries, with a microcontroller at their core.
  • πŸ›  Arduinos come in various shapes and sizes with the option to attach 'shields' for easy addition of components like Bluetooth and LCDs.
  • πŸ’» Raspberry Pi, unlike Arduino, is a microprocessor-based single-board computer that requires additional chips for full functionality.
  • πŸ–₯️ Raspberry Pi runs on Linux and has built-in USB, graphics, wireless, Bluetooth, and audio capabilities, making it a complete computer.
  • πŸ”Œ Both Arduino and Raspberry Pi have general-purpose input/output (GPIO) pins for controlling electronic components.
  • πŸ“ Arduino uses a programming language similar to C/C++, while Raspberry Pi primarily uses Python for programming its GPIO pins.
  • πŸ‘¨β€πŸ« Arduino is recommended for beginners due to its simplicity and focus on electronics, whereas Raspberry Pi adds an operating system and software layer.
  • πŸ› οΈ Raspberry Pi is suitable for projects that require computer elements, such as adding a webcam or USB storage to a robotics project.
  • πŸ”„ The choice between Arduino and Raspberry Pi depends on the project's requirements; Arduino for pure electronics, Raspberry Pi for computer-integrated projects.
  • πŸš€ For beginners, starting with Arduino is advised before moving on to Raspberry Pi to handle more complex projects involving an operating system.

Q & A

  • What is the main purpose of an Arduino?

    -The main purpose of an Arduino is to control electronic components. It can be used to add motors, lights, sensors, and even wireless and Bluetooth modules, making it ideal for building robots.

  • What is the core component of an Arduino?

    -The core component of an Arduino is a microcontroller, which is a chip that can store, run, and execute programs within itself and operates on low power.

  • What are the advantages of using Arduino for a project?

    -Arduinos are advantageous for projects due to their simplicity, low power requirements, and the ability to be programmed as standalone devices after the code is uploaded.

  • How does the Raspberry Pi differ from an Arduino in terms of functionality?

    -The Raspberry Pi differs from an Arduino by being a complete computer with a microprocessor that requires separate chips for storage, execution, and other functions. It runs the Linux operating system and can be used like any other computer.

  • What is the primary programming language for Raspberry Pi?

    -The primary programming language for Raspberry Pi is Python, which is used for programming the GPIO pins and other components.

  • What are 'shields' in the context of Arduino?

    -Shields are pre-made peripherals that can be easily attached on top of an Arduino to add functionalities such as Bluetooth, cellular, Ethernet, motor controls, and LCDs.

  • What are 'hats' in the context of Raspberry Pi?

    -Hats are add-on boards for Raspberry Pi that sit on top of the GPIO pins, allowing for the easy addition of pre-made components to the device.

  • Why might someone choose a Raspberry Pi over an Arduino for a project?

    -One might choose a Raspberry Pi over an Arduino if the project requires elements of a computer, such as adding a webcam, USB storage, or making it a webserver.

  • What is the recommendation for a beginner who is just starting to tinker?

    -For beginners, it is recommended to start with an Arduino due to its simplicity and ease of use. Once comfortable with Arduino, one can move on to Raspberry Pi to explore the added complexity of an operating system and software.

  • What is the significance of the domain name 'northernlight.com' mentioned in the script?

    -The script mentions 'northernlight.com' as a trivia fact, stating it was the very first domain name ever registered, which occurred on March 15, 1985.

  • How can one submit a guide idea for the channel?

    -To submit a guide idea, one can visit tinkernut.com/ideas and share their idea for a potential guide.

Outlines

00:00

πŸ€– Arduino vs. Raspberry Pi: Choosing the Right Tool

This paragraph introduces the debate between Arduino and Raspberry Pi, two popular devices among tech enthusiasts. It outlines the fundamental differences between the two, likening the comparison to that of a calculator versus a laptop. Arduino is described as a microcontroller, ideal for controlling electronic components and is self-contained, requiring minimal power. The paragraph explains that Arduino is perfect for projects like building robots, with its microcontroller at its core, and can be expanded with shields for additional functionalities. It also touches on the programming aspect, mentioning that while the primary programming language is similar to C++, there are third-party options available.

05:00

πŸ–₯️ Raspberry Pi: A Full Computer in a Single Board

The second paragraph delves into the capabilities of the Raspberry Pi, contrasting it with the Arduino. Unlike the microcontroller of the Arduino, the Raspberry Pi features a microprocessor and operates more like a full computer, requiring additional chips for storage, execution, and other functions. It has built-in USB ports, graphics, wireless, Bluetooth, and audio capabilities, and runs on the Linux operating system. The paragraph also discusses the Raspberry Pi's GPIO pins, which, similar to Arduino, can be used to control electronic components but with the added advantage of being programmable directly from the Pi itself using Python. The summary also provides guidance on choosing between the two devices based on the nature of the project, recommending Arduino for beginners and simpler projects, and Raspberry Pi for more complex tasks that require computer-like functionalities.

Mindmap

Keywords

πŸ’‘Arduino

Arduino is an open-source electronics platform based on easy-to-use hardware and software. It is designed for building projects that involve controlling electronic components such as motors, lights, and sensors. The script describes it as a microcontroller that is self-contained and requires programming via a computer before it can operate independently. The Arduino is ideal for projects focused on robotics and simple electronics control.

πŸ’‘Raspberry Pi

Raspberry Pi is a series of small single-board computers that can run a full operating system like Linux. It is more complex than an Arduino and requires more power. The script mentions that it has a microprocessor and additional chips for functions like USB, graphics, Ethernet, and Bluetooth. Raspberry Pi is suitable for projects that need the capabilities of a full computer, including running software applications and handling multimedia.

πŸ’‘Microcontroller

A microcontroller is a small computer contained within a single integrated circuit. It is designed to govern specific operations in systems like embedded systems or simple robots. In the script, the Arduino is described as having a microcontroller at its core, which allows it to execute programs and control electronic components without the need for additional components.

πŸ’‘Microprocessor

A microprocessor is the central processing unit of a computer, handling all the arithmetic and logical operations of the system. The script contrasts the microcontroller of the Arduino with the microprocessor of the Raspberry Pi, which requires additional components to function, making it more akin to a full computer than a simple controller.

πŸ’‘GPIO Pins

GPIO stands for General Purpose Input Output. These are pins on the Raspberry Pi that can be programmed to interact with external electronic devices. The script explains that the Raspberry Pi has GPIO pins similar to the Arduino, allowing users to control electronic components, but with the added capability of direct programming due to its computer nature.

πŸ’‘Programming

Programming is the process of writing code to provide instructions to a computer or microcontroller. The script discusses the programming of both the Arduino and Raspberry Pi, mentioning that the Arduino primarily uses a language similar to C++, while the Raspberry Pi primarily uses Python for programming its GPIO pins.

πŸ’‘Shields

In the context of Arduino, shields are add-on boards that connect to the main board to provide additional functionality, such as Bluetooth or motor controls. The script mentions that shields make it easy to add pre-made peripherals to an Arduino project.

πŸ’‘Hats

Hats, in the context of Raspberry Pi, are similar to Arduino shields but are designed for the Pi's GPIO pins. They provide an easy way to add components to a Raspberry Pi project. The script indicates that hats can be used to expand the capabilities of a Raspberry Pi, just as shields do for an Arduino.

πŸ’‘Linux

Linux is a free and open-source operating system that is widely used in various applications, including single-board computers like the Raspberry Pi. The script notes that the Raspberry Pi runs Linux, which allows it to perform tasks typical of a computer, such as running software applications and accessing the internet.

πŸ’‘Tinkering

Tinkering refers to the activity of experimenting with and making simple modifications to devices or systems, often for the purpose of learning or creating something new. The script positions both the Arduino and Raspberry Pi as popular platforms for tinkering within the maker community.

πŸ’‘Project Size

Project size refers to the scale or complexity of a project. The script mentions that Arduino comes in different shapes and sizes, suitable for various project sizes, while Raspberry Pi offers different models to fit different project requirements.

Highlights

Introduction to the debate between Arduino and Raspberry Pi, comparing their uses and suitability for different projects.

Reasons for comparing Arduino and Raspberry Pi: similar size, ability to control electronic components, and popularity in the tinkering community.

Arduino is ideal for controlling electronic components, with capabilities to add motors, lights, sensors, and wireless modules.

Arduino's core is a microcontroller, a self-contained chip that can store, run, and execute programs with low power requirements.

Arduino's versatility with different shapes and sizes, and the use of shields for easy attachment of peripherals.

Programming Arduino requires connecting to a computer, then the microcontroller can operate as a standalone device.

Arduino programming language similarities to C-sharp, with third-party options for Python or Blockly.

Raspberry Pi's distinction as a microprocessor-based system requiring additional chips for full functionality, akin to a computer motherboard.

Raspberry Pi's comprehensive features including USB, graphics, wireless, Bluetooth, audio, and the Linux operating system.

Higher power requirements and complexity of Raspberry Pi compared to Arduino due to its computer-like components and software.

General purpose input output (GPIO) pins on Raspberry Pi allow for controlling electronic components directly from the device.

Python as the primary programming language for Raspberry Pi's GPIO pins, with options for other popular languages.

Raspberry Pi's 'hats' as an alternative to Arduino's shields, offering easy addition of pre-made components.

Three different sizes of Raspberry Pi available to fit various project requirements.

Practical advice on choosing between Arduino and Raspberry Pi based on the specific needs of the project.

Recommendation for beginners to start with Arduino due to its simplicity and then progress to Raspberry Pi for added complexity.

Final thoughts on the unique applications of both Arduino and Raspberry Pi, emphasizing their distinct roles in project development.

Invitation for viewers to suggest topics and engage with the community through tinkernut.com.

Historical trivia: the first domain name ever registered was 'nwmil.com' on March 15, 1985.

Transcripts

play00:00

[Music]

play00:05

Hey here to learn something new well to

play00:08

keep those knowledge gears greased

play00:10

remember to subscribe and hit the

play00:12

notification button to get notified when

play00:14

a pop and fresh video is ready for your

play00:17

consumption in the history of nerd

play00:21

debates you have classics like Windows

play00:23

vs. Mac Edison vs. Tesla AMD vs. Intel

play00:27

and now our dueΓ±o vs. Raspberry Pi which

play00:31

one is superior which one should you get

play00:33

let's find out why is it that these two

play00:35

frenemies are always being compared to

play00:38

one another probably because they're

play00:40

about the same size you can control

play00:42

electronic components with them and

play00:43

they're both very popular amongst the

play00:45

tinkering community but they couldn't be

play00:48

more different it's like comparing a

play00:50

calculator to a laptop here's why let's

play00:53

look at the Arduino this is the device

play00:56

you want if all you want to do is

play00:58

control electronic components and

play01:00

nothing else you can add motors light

play01:02

sensors and even wireless and Bluetooth

play01:04

modules to it making it the perfect

play01:07

platform for building robots the heart

play01:10

of the Arduino is this little chip right

play01:12

here this is known as a microcontroller

play01:15

microcontrollers are chips that were

play01:17

created by Texas Instruments the same

play01:19

people that made it big on developing

play01:22

calculators so comparing this to a

play01:24

calculator really isn't that far off

play01:26

these microcontrollers have basically

play01:28

everything they need to store run and

play01:30

execute programs right within the chip

play01:33

itself and they don't require much power

play01:35

to run you'll often see them powered by

play01:37

9-volt batteries our dueΓ±os come in all

play01:40

different shapes and sizes so no matter

play01:42

what size project you have there's most

play01:44

likely an Arduino out there for it they

play01:47

also have options for easily attaching

play01:49

pre-made peripherals called shields

play01:52

these sit on top of the Arduino like so

play01:54

and you can use them to easily add

play01:56

Bluetooth cellular Ethernet motor

play01:59

controls LCDs and tons of other

play02:01

components even though microcontrollers

play02:03

are mostly self-contained you still have

play02:06

to connect it to a computer in order to

play02:08

program it

play02:09

but once you've uploaded your code to

play02:11

the microcontroller

play02:13

could then disconnect it from the

play02:14

computer and let it run as a standalone

play02:16

device the code it uses a similar to the

play02:20

c-sharp programming language but there

play02:22

are a few third-party options out there

play02:24

for programming it using Python or

play02:26

blockly but this arduino software that

play02:29

it's running is the primary way to

play02:31

program the microcontroller alright

play02:34

raspberry pi come on down it's your time

play02:37

in the hot seat okay unlike the Arduino

play02:39

and it's do-it-all microcontroller the

play02:41

Raspberry Pi sports a microprocessor

play02:44

which requires assistance from separate

play02:47

chips to be able to store run and

play02:49

execute code so if you're familiar with

play02:52

the motherboard of the computer the

play02:54

microprocessor is the processor the

play02:57

heart of the computer and then you have

play02:59

the RAM your graphics controller

play03:01

Ethernet controller and your hard drive

play03:04

and all these other separate components

play03:05

that are required for the computer to

play03:07

run so if you shrink all that down to a

play03:10

single board you've got yourself a

play03:12

Raspberry Pi so being an entire computer

play03:15

itself you can see why it's difficult to

play03:18

compare it to an Arduino the PI has

play03:21

built-in USB graphics wireless Bluetooth

play03:24

and audio and it runs the Linux

play03:26

operating system so you can literally

play03:28

use it like you use any other computer

play03:30

but because of that it also requires

play03:33

more power than the Arduino to run and

play03:35

the added layers of chips and software

play03:37

not only make it a lot more complex than

play03:40

the Arduino but also make it more

play03:42

complex to operate so why then does it

play03:45

get compared so much to the Arduino it's

play03:48

because of these these are known as

play03:50

general purpose input output pins and

play03:53

like the Arduino they can be used to

play03:55

control other electronic components

play03:57

while they aren't as extensive as the

play03:59

pins enlarge we know they can still be

play04:01

used to do a lot of the same things like

play04:04

controlling lights motors sensors and

play04:06

LCDs to program these GPIO pins instead

play04:10

of connecting it to a separate computer

play04:11

like you would have to do with an

play04:13

Arduino you can program them directly

play04:15

from the PI since it is itself a

play04:18

computer Python is the primary

play04:20

programming language for programming

play04:22

these pins but then you can also use

play04:25

some of the more popular

play04:26

that are out there similar to the

play04:29

Arduino shields the PI's have something

play04:31

called hats that sit on top of the GPIO

play04:34

pins and allow you to easily add

play04:35

pre-made components PI's have three

play04:38

different sizes to choose from as well

play04:40

so that you can get the right one that

play04:42

fits your project size enough with the

play04:46

details already just tell me which one I

play04:48

should buy well since they're completely

play04:50

different tools it depends on what type

play04:52

of project you're doing you wouldn't

play04:54

want to buy an entire computer just to

play04:56

solve a math problem and you wouldn't

play04:58

want to buy a calculator to watch

play05:00

youtube videos if all you want to do is

play05:02

work with sensors and robotics than

play05:04

buying a Raspberry Pi would be overkill

play05:07

an hour do we know would be a better

play05:08

choice for that however if you wanted to

play05:11

add elements of a computer to your

play05:13

robotics or sensory projects like adding

play05:15

a webcam USB storage or making it a

play05:18

webserver then a Raspberry Pi might be

play05:20

better look at it this way if you wanted

play05:23

to build a Bluetooth controlled toy car

play05:25

and use an Arduino if you wanted to

play05:27

build a Bluetooth controlled toy car

play05:29

with a webcam that livestreams to twitch

play05:31

get a Raspberry Pi here's my

play05:34

recommendation if you're a beginner just

play05:36

getting started tinkering I recommend

play05:38

going with Arduino it's designed for

play05:41

beginners and it's simple to use once

play05:43

you're comfortable with that you can

play05:45

move on to the Raspberry Pi and add that

play05:47

level of operating system and software

play05:50

difficulty that's it for this chapter of

play05:52

the fill'd guide that's one more

play05:54

tinkering tool to add to your toolbox

play05:56

want to suggest a guide head on over to

play05:58

tinkernut.com slash ideas to submit your

play06:01

idea if you want more tinkering videos

play06:03

you can click here or please be kind

play06:06

enough to like subscribe or comment if

play06:08

you made it this far here's your reward

play06:11

the very first domain name ever

play06:12

registered was w WM bollocks comm and it

play06:17

was registered on March 15 1985

Rate This
β˜…
β˜…
β˜…
β˜…
β˜…

5.0 / 5 (0 votes)

Related Tags
ArduinoRaspberry PiMicrocontrollerMicroprocessorDIY ProjectsProgrammingRoboticsElectronicsTinkeringEducational