0% found this document useful (0 votes)
128 views

Cpu & Gpu en Raspberry Pi 3: Dr. Adolfo Meléndez Ramírez

The document compares different Raspberry Pi models and discusses their CPUs, RAM, and other specifications. It also provides an overview of installing operating systems on the Pi, using Python to control GPIO pins on an LED circuit, enabling the GPU, and examples of OpenGL code. Optional accessories are listed and the terminal is introduced for running commands.

Uploaded by

Pablo Recalde
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
128 views

Cpu & Gpu en Raspberry Pi 3: Dr. Adolfo Meléndez Ramírez

The document compares different Raspberry Pi models and discusses their CPUs, RAM, and other specifications. It also provides an overview of installing operating systems on the Pi, using Python to control GPIO pins on an LED circuit, enabling the GPU, and examples of OpenGL code. Optional accessories are listed and the terminal is introduced for running commands.

Uploaded by

Pablo Recalde
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 21

CPU & GPU EN

RASPBERRY PI 3
PRESENTADO POR:
PRESENTADO POR: Dr. Adolfo Meléndez Ramírez

Ing. Isaac Castellanos

Microcontroller II Popup Course Engineering Innovation Center 2017


Asterisk is a registered trademark of Digium, Inc.
Microcontroller vs Microprocessor

3
.

Cuadro comparativo Raspberry Pi

Raspberry Pi Raspberry Pi 2 Raspberry Pi 3


Released February 2012 February 2015 February 2016
ARM1176JZF- ARM Cortex-
CPU ARM Cortex-A7
S A53
700MHz
singl 900MHz
quad 1,200MHz
qu
CPU speed
e core core ad core
512MB
256M
RAM 1GB 1GB
B Rev 1
Broadcom Broadcom Broadcom
GPU
Videocore IV Videocore IV Videocore IV
SDHC
slot
MicroSDH
Storage MicroSDHC slot MicroSDHC slot
C Model A+
and B+
USB Ports 2 on Model B 4 4
802.11n and
WiFi No built-in wifi No built-in wifi
Bluetooth 4.1

4
Raspberry Pi (first model)

• Model A+
• 40 GPIO Pins
• Micro SD
• Low Power Consumption
• Better Audio/Smaller form
• Model B+
• Additional 4 USB 2.0 ports

5
Raspberry PI Model 2B

• 900MHz quad-core ARM Cortex-A7 CPU


• 1GB RAM

6
Raspberry Pi 3 Model B

• 1.2GHz 64-bit quad-core ARMv8 CPU


• 802.11n Wireless LAN
• Bluetooth 4.1 (Low Energy)
• 99% backwards compatible to Pi 2

• This is the current model and will be used for the remainder of the course.

7
Raspberry Pi Zero

• New simpler, smaller version


• 1 GHz, Single-core CPU
• 512MB RAM
• Mini HDMI and USB On-The-Go ports
• Micro USB power
• HAT-compatible 40-pin header
• Composite video and reset headers

8
Alternative Microprocessor Units

Intel NUC
Odroid-Cl

PandaBoard - TI

9
Required accessories

• Power Supply : 5V
• Video Out: HDMI cable and monitor
• MicroSD recommend 8GB or greater class 10.
• Keyboard make sure to (US settings)

10
Raspberry Pi 3 GPIO Header Layout

GPIO – General Purpose Input Output

Towards Towards
inside of outside of
the board the board

11
Optional Items

12
Raspberry Pi 3 Operating Systems

Se recomienda
el uso de estos
SO

13
Imaging software for making a SD card OS

• WINDOWS

Aplicaciones para la
• MAC OS: Apple Pi-Baker instalacion en micro
SD

14
Using the Terminal Editor

• Lista de comandos

• Terminal window.

15
Lista de comandos

• #lscpu ; para listar el hardware de Raspberry


• #uname –a
• Contenido de archivo de configuracion: config.txt
• dtparam=sd_overclock=100
• arm_freq=1300
• core_freq=500
• over_voltage=4
• sdram_freq=575
• sdram_schmoo=0x02000020
• over_voltage_sdram_p=6
• over_voltage_sdram_i=4
• over_voltage_sdram_c=4
• v3d_freq=500
• h264_freq=333
• gpu_mem=512

16
Example #1 using Python to activate the GPIO Pins
This code flashes the led on and off.

Simple circuit to
activate an LED.
Requires:
• LED
• Breadboard
• Jumpers
• 330ohm resistor

Open IDLE : MENU -> Programming -> IDLE 2


File - New - Write Script ( Optional: Save to Desktop)
Debug - Run Module

17
Habilitación de GPU Pi 3b

#sudo raspi-config; opciones avanzadas

18
Acceso a la demo de GPU

• #ls
• #cd /opt/vc/src/
• #cd hello_pi
• #ls
• #./rebuild.sh
• #cd hello_teapot
• #./hello_teapot.bin
• #cd ..
• # cd hello_triangle2
• #./hello_triangle2.bin

19
OpenGL en Raspberry Pi 3

20
Conclusiones

• Sistema multinucleo 4CPU + 1GPU


• Puede trabajar con open GL y CUDA para procesamiento paralelo
• Se puede llevar un nivel personalizable de desempeño
• Funcionalidad dual similar a la de arduino uno

21
Contacto

General CCAI
[email protected]

Adolfo Meléndez Ramírez


[email protected]

22

You might also like