0% found this document useful (0 votes)
26 views4 pages

Raspberry Pi

Hawk

Uploaded by

Hemanshi Gupta
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
26 views4 pages

Raspberry Pi

Hawk

Uploaded by

Hemanshi Gupta
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 4

Raspberry Pi 4 Model B

Broadcom BCM2711 SoC (System on Chip)


 Type: Quad-core ARM Cortex-A72 (ARMv8) 64-bit processor.
 Clock Speed: 1.5 GHz (higher clock speed than its predecessors).
 Performance: Improved performance for tasks such as browsing, video playback, and general
computing.
 Graphics: Integrated Broadcom VideoCore VI GPU (supports OpenGL ES 3.0, 4K video decoding).
 Task: Handles the general computation, graphics, and video processing.
CPU: Broadcom BCM2711 SoC (System on Chip), Quad-core Cortex-A72 (ARMv8) 64-bit processor,
1.5ghz .
2. RAM (LPDDR4-3200 SDRAM)
 Capacity: 2GB, 4GB, or 8GB options, depending on the model.
 Type: LPDDR4 SDRAM (faster than LPDDR2 in older models).
 Speed: 3200 MHz.
 Task: Provides the system memory required for running applications, operating system, and storing
temporary data
3. microSD Card Slot
 Storage Type: microSD card slot.
 Function: Used for booting the Raspberry Pi and for storage. The operating system (Raspberry Pi OS or
others) is typically installed here.
 Capacity: Can support microSD cards up to 1TB (larger cards may require specific formatting).
 Speed: The speed of the microSD card affects the performance of the Raspberry Pi.
4. USB Ports
 2 × USB 3.0: Provides fast data transfer (up to 5 Gbps), used for connecting high-speed devices like
external hard drives, flash drives, keyboards, and mice.
 2 × USB 2.0: For legacy devices that do not require high-speed data transfer.
 Task: Connectivity for external peripherals.
5. Ethernet Port (Gigabit)
 Speed: 10/100/1000 Mbps (Gigabit Ethernet).
 Function: Wired network connection for internet and local area network (LAN)
6. Wi-Fi (802.11ac)
7. Bluetooth Version: 5.0.
Range: Up to 240 meters in open space
8. HDMI Ports (Dual micro-HDMI)
9. 3.5mm Audio Jack
10. CSI (Camera Serial Interface) Port
11. DSI (Display Serial Interface) Port
 Task: Allows you to connect an official Raspberry Pi touchscreen or any compatible DSI display.
 Use Cases: Embedded projects, touchscreen interfaces, portable systems.
13. Power Supply
 Connector: USB-C.
 Voltage: 5V, 3A (recommended).

The Raspberry Pi 4 has a 40-pin GPIO header that provides access to various General Purpose Input/Output
(GPIO) pins for interfacing with sensors, actuators, and other electronics. These pins are used for digital
input/output, power, ground, and specific functionalities like serial communication (UART), pulse-width
modulation (PWM), and more.
Pin layout same for raspberry pi5
Power Pins:
 Pin 1 (3.3V): Provides 3.3V of power.
 Pin 2 (5V): Provides 5V of power.
 Pin 4 (5V): Another 5V pin.
 Pin 17 (3.3V): Another 3.3V pin.
Ground Pins (GND):
 Pin 6, 9, 14, 20, 25, 30, 34, 39: Ground connections for common ground to complete electrical circuits.

I2C Pins:
 Pin 3 (GPIO 2 / SDA): I2C Data line (Serial Data).
 Pin 5 (GPIO 3 / SCL): I2C Clock line (Serial Clock).
UART Pins (Serial Communication):
 Pin 8 (GPIO 14 / TXD): UART Transmit (used for transmitting data).
 Pin 10 (GPIO 15 / RXD): UART Receive (used for receiving data).
SPI Pins:
 Pin 19 (GPIO 10 / MOSI): SPI Master Out Slave In (Data from Pi to peripheral).
 Pin 21 (GPIO 9 / MISO): SPI Master In Slave Out (Data from peripheral to Pi).
 Pin 23 (GPIO 11 / SCLK): SPI Clock.
 Pin 24 (GPIO 8 / CE0): SPI Chip Enable 0.
 Pin 26 (GPIO 7 / CE1): SPI Chip Enable 1.
PWM Pins (Pulse Width Modulation):
 Pin 12 (GPIO 18): PWM output (can be used for controlling motor speed, dimming lights, etc.).
 Pin 32 (GPIO 12): Another PWM pin.
 Pin 33 (GPIO 13): Another PWM pin.
GPIO Pins (General Purpose Input/Output):
 The remaining pins (like GPIO 4, 17, 27, 22, 23, 24, 25, etc.) can be configured as digital input or output
pins for general purposes, such as controlling LEDs, buttons, relays, etc.
Other Special Functions:
 Pin 27 (GPIO 0 / ID_SD): I2C ID EEPROM (used for identifying the board in some cases).
 Pin 28 (GPIO 1 / ID_SC): I2C ID Clock.
nn
Raspberry pi5 details
processor:
 Quad-core Arm Cortex-A76 processor running at 2.4GHz
 800 MHz VideoCore VII GPU
Memory:
 8GB of LPDDR4X RAM (4267 MHz)
Storage:
 Micro SD card slot (SDR104 compatible)
 M.2 NVMe SSD slot (via M.2 HAT)
Connectivity:
 Gigabit Ethernet
 Dual-band 802.11ac Wi-Fi
 Bluetooth 5.0
 PCIe 2.0 x1 interface (requires HAT)
 2 x USB 3.0 ports
 2 x USB 2.0 ports
 40-pin GPIO header
 Dual 4-lane MIPI CSI/DSI transceivers (for cameras and displays)
 Real-time clock (RTC)
Power:
 5V DC via USB-C power supply (5V/5A recommended)
 PoE HAT support
Other features:
 On/off button
 Fan connector
 UART connector

CODES
1. Directory:
Where you are- pwd (print working directory)
- Change directory: cd/<name>
- Cd~ :go back to the previous one
- Ls :list content of the directory
- Mkdir :making our own directory
- Cd../… : going reverse
- Creating file nano <name.py>
- Running code pyhon temp.py
- Getting things from web: wget link copy paste , ls
- Rmdir removing directory
-

You might also like