Introduction to Raspberry Pi (concepts, purpose, application areas) and its components

The Raspberry Pi is a credit-card-sized single-board COMPUTER: it runs a full operating system, has a real CPU, RAM, USB, HDMI and GPIO pins, making it the powerful brain for IoT jobs that need computing.

11 min read · 10 cards · 2 checks

Read in: English · हिन्दी · ગુજરાતી


Theory

A whole computer that fits in your palm

SmartHostel's gate needs to do something heavy: recognise a face from a camera and check it against a database. That is real COMPUTING: an Arduino-class chip cannot do it, but a laptop at the gate is absurd.

The answer is a Raspberry Pi: a credit-card-sized board that is, genuinely, a full computer: it runs an operating system, has a real processor and memory, plugs into a monitor, and costs about the price of a textbook. This lesson meets it; the next meets its opposite.

Theory

Raspberry Pi, formally

The Raspberry Pi is a low-cost, credit-card-sized single-board computer developed by the Raspberry Pi Foundation (UK), originally to promote computing education in schools.

The key word is computer: unlike a bare microcontroller, the Pi runs a full operating system (Raspberry Pi OS, a Linux distribution) on a proper ARM CPU. So it multitasks, runs Python and servers and databases, connects to the internet, and drives a monitor and keyboard: a real desktop shrunk to a board.

That power is its purpose: an affordable general-purpose computer AND a capable IoT/edge brain for jobs that need actual computation.

At a glance

Key components of a Raspberry Pi

ComponentPurpose
SoC (ARM CPU + GPU)The processor: runs the OS and all computation
RAMWorking memory for running programs
microSD card slotStorage: holds the OS and files (no built-in hard disk)
GPIO header (40 pins)General Purpose Input/Output: connect sensors and actuators
USB portsKeyboard, mouse, storage, peripherals
HDMI + Ethernet/WiFi/BluetoothDisplay output and network connectivity

Theory

GPIO: where the computer meets the world

One component makes the Pi an IoT board and not just a tiny PC: the GPIO header, a row of 40 General Purpose Input/Output pins.

Through GPIO, the Pi reads sensors (a pin as INPUT) and drives actuators (a pin as OUTPUT): the building-blocks' sensing and actuation, wired to the brain. You control these pins in code, typically Python:

That bridge: a full Linux computer that can ALSO poke individual electrical pins: is exactly what lets one small board recognise a face AND open a gate.

Practical

Minimal GPIO: read a sensor pin, drive an LED (concept)

import RPi.GPIO as GPIO

GPIO.setmode(GPIO.BCM)
GPIO.setup(17, GPIO.IN)     # pin 17: a motion sensor INPUT
GPIO.setup(27, GPIO.OUT)    # pin 27: an LED / relay OUTPUT

if GPIO.input(17):          # sensor sees motion?
    GPIO.output(27, True)   # switch the corridor light on

# The Pi is a full Linux computer that can ALSO poke pins like this.

Quiz

What most distinguishes a Raspberry Pi from a simple microcontroller board?

  1. The Pi cannot connect any sensors
  2. The Pi is a full computer that runs an operating system, with a CPU, RAM and storage
  3. The Pi has no processor
  4. The Pi can only run one fixed program burned into it
Show the answer

The Pi is a full computer that runs an operating system, with a CPU, RAM and storage

The Pi IS a computer: an OS (Linux), a real CPU, RAM, and microSD storage, so it multitasks, runs Python/servers/databases, and does heavy computation like image recognition: that OS-and-CPU nature is the whole distinction. Option A is false: GPIO connects sensors readily. Option C contradicts the definition (the SoC is its processor). Option D describes a MICROCONTROLLER's single-firmware model (the Arduino, next lesson): precisely the opposite of the Pi, which loads and runs many programs like any computer. Pi = small computer; that framing answers most Pi questions.

Think first

Why the Pi for the gate's face recognition?

The gate must recognise faces and host a local dashboard. Name the 3 Pi capabilities that make it right for this, drawing on its 'it is a computer' nature. Then tap.

Show the answer

(1) Compute power: a real ARM CPU (and GPU) can run image-processing / face-recognition libraries: heavy math a tiny microcontroller cannot touch. (2) An operating system + storage: Linux plus a microSD lets it run a database of faces and a web dashboard server locally: it is a full computer. (3) Rich connectivity + GPIO: onboard WiFi/Ethernet to reach the cloud, and GPIO pins to actually drive the gate motor. In short: the job needs COMPUTING, and the Pi is a computer. When a task needs an OS, files, networking and real processing, the Pi is the block that supplies them.

Watch out

Raspberry Pi slips

"The Pi is a microcontroller": no: it is a single-board COMPUTER with an OS: the very distinction the unit tests.

Expecting a hard disk: the Pi boots and stores on a microSD card; there is no built-in disk.

Overkill for simple jobs: a Pi to blink one LED wastes its power and battery: simple, real-time, ultra-low-power jobs suit the Arduino (next): matching board to job is the skill.

Forgetting GPIO: without naming GPIO you have described a small PC, not an IoT board.

Theory

Now meet its opposite

The Pi is the heavyweight: a computer that can also touch pins. Next lesson meets the featherweight, the Arduino: not a computer at all, but a bare MICROCONTROLLER that does one simple, reliable, real-time job on almost no power. Understanding what the Arduino is NOT (an OS, multitasking, heavy compute) is half of understanding the Pi: and the difference lesson after it turns this contrast into the decision every IoT project must make.

Summary

Key takeaways

  • The Raspberry Pi is a low-cost, credit-card-sized single-board COMPUTER from the Raspberry Pi Foundation.
  • It runs a full OS (Linux) on an ARM CPU: multitasking, Python, servers, databases, heavy compute.
  • Components: SoC (CPU+GPU), RAM, microSD storage (no hard disk), USB, HDMI, Ethernet/WiFi/Bluetooth, 40-pin GPIO.
  • GPIO pins connect sensors (input) and actuators (output): the bridge from computer to the physical world.
  • Application areas: edge computing, IoT gateways, vision projects, home automation hubs, education, robotics.
  • Use the Pi when the job needs real computing, an OS, storage or networking.
  • Memory hook: the Pi is a whole computer in your palm that can also poke pins.

Study this properly

This page is the lesson to read. In Gri-Learn the same topic is a graded deck: the self-checks are scored and your weak topics are tracked. Free to start.

Start this topic

Already have an account? Sign in

More from Introduction to Raspberry Pi and Arduino

Gri-Learn · syllabus-mapped B.C.A. lessons in English, Hindi and Gujarati

Introduction to Raspberry Pi (concepts, purpose, application areas) and its components · Internet of Things (IoT) (Minor option A) · Gri-Learn