SlideShare una empresa de Scribd logo
1 de 59
Descargar para leer sin conexión
LTKA Labs
SBCs & Raspberry Pi Basics
Eueung Mulyana
http://eueung.github.io/ET3010/raspi
ET-3010 | Attribution-ShareAlike CC BY-SA
1 / 59
Outline
Single Board Computers
Raspberry Pi - Short Introduction
RPi Pinout
Raspbian - Getting Started
Node-RED & Python
2 / 59
SBCs
Single Board Computers
3 / 59
A Single-Board Computer (SBC) is a computer built on a single
circuit board, with microprocessor(s), memory, input/output
(I/O) and other features required of a functional computer.
SBCs typically provide a fanless, low-power computing solution.
Current SBCs come with a wide variety of processor types, most
with GPUs on-board. These processors range from X86 based
processors from the traditional PC space (AMD and Intel) to
ARM processors which have traditionally been used in the
industrial and more recently mobile spaces. The most prevalent
form of software used on SBCs is Linux with numerous
derivations including Android, Ubuntu, Fedora, Debian and Arch
Linux as well as FreeBSD.
Many of today's SBCs have become so powerful that they are
beginning to have the capability of modern day PCs and tablets.
This trend will continue as more powerful processors make their
way into the embedded computing market as ever-increasing
performance/price ratios rise, as well as additional
manufacturers enter into this "Wild West" frontier of supporting
open source hardware and software for both DIYers and
professionals alike.
SBCs
In 2006, a group based in the University of Cambridge's
Computer Laboratory, decided to address the need for a low
cost computing platform that would allow kids to learn how to
program without the need for a full-¯edged home computer.
The result was a $35 single board computer named Raspberry
Pi. While initially designed as a tool for students to learn
programming, the Raspberry Pi was adopted by makers,
designers, students and even professional engineers and
helped to launch the current boom in interest in SBCs.
Ref: Electronic Design, Then and Now A Brief History of Single
Board Computers
4 / 59
5 / 59
Nine Sub-$50 SBCs
that Challenge the
Raspberry Pi and
BeagleBone Black
86Duino, A10-OLinuXino-Lime,
Arduino TRE, Banana Pi, BPi D1,
HummingBoard-i1, Odroid-C1,
Orange Pi, and pcDuino3 Nano
Ref: hackerboards.com
6 / 59
Top 10 Sub-$100
Hacker SBC List for
2015 (in Order of
Importance)
Ref: hackerboards.com
 
64-bit SBCs: DragonBoard 410c & Pine A64
7 / 59
Raspberry Pi / RPi / RasPi
Short Introduction
8 / 59
What is a Raspberry Pi?
The Raspberry Pi is a low cost, credit-card sized computer that plugs into a
computer monitor or TV, and uses a standard keyboard and mouse. It is a capable
little device that enables people of all ages to explore computing, and to learn how
to program in languages like Scratch and Python. It's capable of doing everything
you'd expect a desktop computer to do, from browsing the internet and playing
high-de nition video, to making spreadsheets, word-processing, and playing
games.
What's more, the Raspberry Pi has the ability to interact with the outside world, and has been used in a wide array
of digital maker projects, from music machines and parent detectors to weather stations and tweeting birdhouses
with infra-red cameras.
9 / 59
10 / 59
Credit card sized single board
computer
Teach computer science in
schools at an a!ordable price:
Grade School, Middle School &
High School
Design and Development started
in 2006
Raspberry PI Foundation
founded in 2009
Release to Market Feb 2012
3 Million sold by June 2014
5 Million by 03/2015
11 / 59
Early Models A, B
Raspberry PI Model A $25 - 256 MB
RAM, 1 USB, No Ethernet, GPIO 26
Raspberry PI Model B $35 - 512 MB
RAM, 2 USB, Ethernet , GPIO 26
Raspberry PI Model B+ $35 - 512
MB RAM, 4 USB, Ethernet, GPIO 40
All have HDMI Out with Audio
All have Audio Jack out
12 / 59
Model A/B:
Broadcom BCM2835 (CPU & GPU)
256/512MB SDRAM
1/2 USB 2.0 Ports
None/Ethernet Port
HDMI
Audio
SD Card Slot
Micro USB for power
13 / 59
14 / 59
RPi Model B
Power
15 / 59
RPi Model B
Audio &
Video
16 / 59
RPi Model B
Connectivity
17 / 59
RPi Model B
Internals
18 / 59
RPi Model B
Storage
19 / 59
RPi Model B
Parts
20 / 59
CPU Overview
BCM2835
ARM11J6JZF-S (ARM11 Family)
ARMv6 Architecture
Single Core
32-Bit RISC
700 MHz Clock Rate
8 Pipeline Stages
Branch Prediction
21 / 59
22 / 59
RPi 2B
BCM 2836
ARMv7 Architecture
Quad Core
32-Bit RISC
900 MHz Clock Rate
1 GB RAM
23 / 59
24 / 59
25 / 59
26 / 59
RPi 3B
BCM 2837
ARMv8 Architecture
Quad Core
64-Bit
1.2 GHz Clock Rate
1 GB RAM
27 / 59
28 / 59
29 / 59
30 / 59
31 / 59
RPi Pinout
32 / 59
33 / 59
34 / 59
35 / 59
36 / 59
Interactive Pinout Diagram
https://pinout.xyz
The Raspberry Pi is a 3.3V device
The GPIO pins are unbu!ered and
unprotected, so if you short something
out, you could fry your whole Pi, so be
careful!
37 / 59
Notes
 
On Raspberry Pi, all GPIO banks are supplied from 3.3V.
Connection of a GPIO to a voltage higher than 3.3V will likely
destroy the GPIO block within the SoC.
38 / 59
Physical Computing
RPi vs. Arduino
Arduino boards are micro-controllers, not full computers.
They don't run a full operating system, but simply execute
written code as their  rmware interprets it.
You lose access to the basic tools an operating system
provides, but on the other hand, directly executing simple
code is easier, and is accomplished with no operating system
overhead.
The main purpose of the Arduino board is to interface with
sensors and devices, so it's great for hardware projects in
which you simply want things to respond to various sensor
readings and manual input.
Ref: Digital Trends via Kopcak
Raspbian
Getting Started
39 / 59
40 / 59
RPi
Operating Systems
Ref: Software for the RPi
41 / 59
Raspbian Jessie
Release 2016-03-18
Full Desktop vs. Lite
1. Plug the SD Card loaded with the Operating System into
the Raspberry Pi.
2. If required, plug the USB keyboard and mouse into the
Raspberry Pi, perhaps via a USB Hub. Connect the Hub to
power, if necessary.
3. If required, plug the video cable into the display and into
the Raspberry Pi.
4. Plug in your Network cable, or Wi-Fi dongle, if required.
5. Ensure that your USB Hub (if any) and display are
working.
6. With your screen on, plug the other end of the power
source into the Raspberry Pi.
7. Plug the power source into the main socket, and switch it
on.
8. If connected to a display, the Raspberry Pi should boot up
and display messages on the screen.
9. If running headless, it should boot up. When the leds
have stopped ¯ashing, connect to the Raspberry Pi from
the remote computer. Whether this works will depend on
the operating system you are using; the Raspian Linux
operating system is con gured to allow SSH connections
by default.
42 / 59
General Steps
It is always recommended to connect the MicroUSB Power to
the unit last (while most connections can be made live, it is
best practice to connect items such as displays and other
connections with the power turned o!).
Ref: Basic Setup
43 / 59
Flashing SD Card
Rufus
44 / 59
45 / 59
SSH via PuTTY
46 / 59
SSH Console
raspi-config
Remote SSH Session
#credential:pi/raspberry
$sudoraspi-config
#afterreboot
$df-h
$uname-a
$lsb_release-a
TightVNC Server
$sudoapt-getinstalltightvncserver
$tightvncserver
#accesspassword,min6chars
$vncserver:1-geometry800x600-depth24
$sudoservicelightdmstop
47 / 59
Some CLIs
48 / 59
VNC Client
49 / 59
Node-RED & Python
50 / 59
Node-RED is a tool for wiring together hardware devices,
APIs and online services in new and interesting ways.
Node-RED provides a browser-based ¯ow editor that makes
it easy to wire together ¯ows using the wide range nodes in
the palette. Flows can be then deployed to the runtime in a
single-click.
JavaScript functions can be created within the editor using a
rich text editor.
A built-in library allows you to save useful functions,
templates or ¯ows for re-use.
Ref: Node-RED
51 / 59
Node-RED
A visual tool for wiring the Internet of Things
52 / 59
53 / 59
54 / 59
55 / 59
56 / 59
Python
via IDLE
importRPi.GPIOasGPIO
importtime
GPIO.setmode(GPIO.BCM)
GPIO.setwarnings(False)
led=4
GPIO.setup(led,GPIO.OUT)
defblink(pin):
GPIO.output(pin,1)
time.sleep(1)
GPIO.output(pin,0)
time.sleep(1)
foriinrange(0,10):
blink(led)
GPIO.cleanup()
Refs
57 / 59
Refs
1. Top ten sub-$100 hacker SBCs for your holiday pleasure
2. Ringing in 2015 with 40 Linux-friendly hacker SBCs
3. Cli! Ortmeyer, Then and Now A Brief History of Single Board Computers,
Electronic Design, Issue 6, December 2014
4. RPi Low-level peripherals - eLinux.org
5. Introducing the Raspberry Pi 3 | Hackaday
6. Adafruit Learning System
7. Je!rey Kopcak, An Introduction to the Credit-Card Sized Computer
8. The MagPi Magazine - The oþcial Raspberry Pi magazineThe MagPi Magazine
9. Mike Linnen, What can I do with a Raspberry Pi
10. Jon Holton and Tim Fratangelo, Raspberry Pi Architecture
58 / 59
END
Eueung Mulyana
http://eueung.github.io/ET3010/raspi
LTKA Labs | Attribution-ShareAlike CC BY-SA
59 / 59

Más contenido relacionado

La actualidad más candente

Using arduino and raspberry pi for internet of things
Using arduino and raspberry pi for internet of thingsUsing arduino and raspberry pi for internet of things
Using arduino and raspberry pi for internet of thingsSudar Muthu
 
ARM Microcontrollers and Embedded Systems-Module 1_VTU
ARM Microcontrollers and Embedded Systems-Module 1_VTUARM Microcontrollers and Embedded Systems-Module 1_VTU
ARM Microcontrollers and Embedded Systems-Module 1_VTUGirish M
 
Introduction to Raspberrypi
Introduction to  RaspberrypiIntroduction to  Raspberrypi
Introduction to RaspberrypiIheb Ben Salem
 
SoC based smartphone processors
SoC based smartphone processorsSoC based smartphone processors
SoC based smartphone processorsAnkush Kumar
 
Differnce of two processors
Differnce of two processorsDiffernce of two processors
Differnce of two processorshashim102
 
Introduction to AVR Microcontroller
Introduction to AVR Microcontroller Introduction to AVR Microcontroller
Introduction to AVR Microcontroller Mahmoud Sadat
 
Arduino vs Raspberry Pi | Which Board to Choose for IoT Projects | IoT Device...
Arduino vs Raspberry Pi | Which Board to Choose for IoT Projects | IoT Device...Arduino vs Raspberry Pi | Which Board to Choose for IoT Projects | IoT Device...
Arduino vs Raspberry Pi | Which Board to Choose for IoT Projects | IoT Device...Edureka!
 
Raspberry Pi Technology
Raspberry Pi TechnologyRaspberry Pi Technology
Raspberry Pi TechnologyRavi Basil
 
Raspberry Pi (Introduction)
Raspberry Pi (Introduction)Raspberry Pi (Introduction)
Raspberry Pi (Introduction)Mandeesh Singh
 
Lesson 10- NodeMCU with LCD I2C
Lesson 10- NodeMCU with LCD I2CLesson 10- NodeMCU with LCD I2C
Lesson 10- NodeMCU with LCD I2CElaf A.Saeed
 
AMD Processor
AMD ProcessorAMD Processor
AMD ProcessorAli Fahad
 
mobile processors introduction..
mobile processors introduction..mobile processors introduction..
mobile processors introduction..Muhammad Sayam
 
My arduino presentation
My arduino presentationMy arduino presentation
My arduino presentationSham Arsenal
 
Microcontroller overview 1
Microcontroller overview 1Microcontroller overview 1
Microcontroller overview 1Sally Salem
 

La actualidad más candente (20)

Using arduino and raspberry pi for internet of things
Using arduino and raspberry pi for internet of thingsUsing arduino and raspberry pi for internet of things
Using arduino and raspberry pi for internet of things
 
ARM Microcontrollers and Embedded Systems-Module 1_VTU
ARM Microcontrollers and Embedded Systems-Module 1_VTUARM Microcontrollers and Embedded Systems-Module 1_VTU
ARM Microcontrollers and Embedded Systems-Module 1_VTU
 
Introduction to Raspberrypi
Introduction to  RaspberrypiIntroduction to  Raspberrypi
Introduction to Raspberrypi
 
SoC based smartphone processors
SoC based smartphone processorsSoC based smartphone processors
SoC based smartphone processors
 
Esp8266 basics
Esp8266 basicsEsp8266 basics
Esp8266 basics
 
Arduino Uno Pin Description
Arduino Uno Pin DescriptionArduino Uno Pin Description
Arduino Uno Pin Description
 
Differnce of two processors
Differnce of two processorsDiffernce of two processors
Differnce of two processors
 
Introduction to AVR Microcontroller
Introduction to AVR Microcontroller Introduction to AVR Microcontroller
Introduction to AVR Microcontroller
 
Arduino vs Raspberry Pi | Which Board to Choose for IoT Projects | IoT Device...
Arduino vs Raspberry Pi | Which Board to Choose for IoT Projects | IoT Device...Arduino vs Raspberry Pi | Which Board to Choose for IoT Projects | IoT Device...
Arduino vs Raspberry Pi | Which Board to Choose for IoT Projects | IoT Device...
 
Raspberry Pi Technology
Raspberry Pi TechnologyRaspberry Pi Technology
Raspberry Pi Technology
 
Raspberry Pi (Introduction)
Raspberry Pi (Introduction)Raspberry Pi (Introduction)
Raspberry Pi (Introduction)
 
Raspberry pi complete setup
Raspberry pi complete setupRaspberry pi complete setup
Raspberry pi complete setup
 
Arduino
ArduinoArduino
Arduino
 
Lesson 10- NodeMCU with LCD I2C
Lesson 10- NodeMCU with LCD I2CLesson 10- NodeMCU with LCD I2C
Lesson 10- NodeMCU with LCD I2C
 
AMD Processor
AMD ProcessorAMD Processor
AMD Processor
 
PPT ON Arduino
PPT ON Arduino PPT ON Arduino
PPT ON Arduino
 
mobile processors introduction..
mobile processors introduction..mobile processors introduction..
mobile processors introduction..
 
Introduction of Arduino Uno
Introduction of Arduino UnoIntroduction of Arduino Uno
Introduction of Arduino Uno
 
My arduino presentation
My arduino presentationMy arduino presentation
My arduino presentation
 
Microcontroller overview 1
Microcontroller overview 1Microcontroller overview 1
Microcontroller overview 1
 

Destacado

MYS-6ULX Single Board Computer for Industry 4.0 and IoT Applications
MYS-6ULX Single Board Computer for Industry 4.0 and IoT ApplicationsMYS-6ULX Single Board Computer for Industry 4.0 and IoT Applications
MYS-6ULX Single Board Computer for Industry 4.0 and IoT ApplicationsLinda Zhang
 
お前(俺も)はまだChirimenを知らない
お前(俺も)はまだChirimenを知らないお前(俺も)はまだChirimenを知らない
お前(俺も)はまだChirimenを知らないAkihiko Kigure
 
Difference between soc and single board computer ppt1
Difference between soc and single board computer ppt1Difference between soc and single board computer ppt1
Difference between soc and single board computer ppt1Edgefxkits & Solutions
 
Tac Presentation October 72014- Raspberry PI
Tac Presentation October 72014- Raspberry PITac Presentation October 72014- Raspberry PI
Tac Presentation October 72014- Raspberry PICliff Samuels Jr.
 
5 Things to Know about the CompactPCI PlusIO Single Board Computer F26L
5 Things to Know about the CompactPCI PlusIO Single Board Computer F26L5 Things to Know about the CompactPCI PlusIO Single Board Computer F26L
5 Things to Know about the CompactPCI PlusIO Single Board Computer F26LMEN Mikro Elektronik GmbH
 
introduction to Raspberry pi
introduction to Raspberry piintroduction to Raspberry pi
introduction to Raspberry piluckyanks1992
 

Destacado (6)

MYS-6ULX Single Board Computer for Industry 4.0 and IoT Applications
MYS-6ULX Single Board Computer for Industry 4.0 and IoT ApplicationsMYS-6ULX Single Board Computer for Industry 4.0 and IoT Applications
MYS-6ULX Single Board Computer for Industry 4.0 and IoT Applications
 
お前(俺も)はまだChirimenを知らない
お前(俺も)はまだChirimenを知らないお前(俺も)はまだChirimenを知らない
お前(俺も)はまだChirimenを知らない
 
Difference between soc and single board computer ppt1
Difference between soc and single board computer ppt1Difference between soc and single board computer ppt1
Difference between soc and single board computer ppt1
 
Tac Presentation October 72014- Raspberry PI
Tac Presentation October 72014- Raspberry PITac Presentation October 72014- Raspberry PI
Tac Presentation October 72014- Raspberry PI
 
5 Things to Know about the CompactPCI PlusIO Single Board Computer F26L
5 Things to Know about the CompactPCI PlusIO Single Board Computer F26L5 Things to Know about the CompactPCI PlusIO Single Board Computer F26L
5 Things to Know about the CompactPCI PlusIO Single Board Computer F26L
 
introduction to Raspberry pi
introduction to Raspberry piintroduction to Raspberry pi
introduction to Raspberry pi
 

Similar a Single Board Computers & Raspberry Pi Basics

Iaetsd the universal brain for all robots
Iaetsd the universal brain for all robotsIaetsd the universal brain for all robots
Iaetsd the universal brain for all robotsIaetsd Iaetsd
 
How to choose your project controller
How to choose your project controllerHow to choose your project controller
How to choose your project controllerMuhammad Shorrab
 
Iaetsd the world’s smallest computer for programmers and app developers
Iaetsd the world’s smallest computer for programmers and app developersIaetsd the world’s smallest computer for programmers and app developers
Iaetsd the world’s smallest computer for programmers and app developersIaetsd Iaetsd
 
Raspberry Pi introduction
Raspberry Pi introductionRaspberry Pi introduction
Raspberry Pi introductionLotfi Messaoudi
 
Raspberry pi technology
Raspberry pi technologyRaspberry pi technology
Raspberry pi technologyZeeshan Aslam
 
Introduction aboout raspberry PI
Introduction aboout raspberry PIIntroduction aboout raspberry PI
Introduction aboout raspberry PIVivek P
 
Raspberry Pi Free Session - 20_09_2014
Raspberry Pi Free Session - 20_09_2014Raspberry Pi Free Session - 20_09_2014
Raspberry Pi Free Session - 20_09_2014Mandeesh Singh
 
My presentation raspberry pi
My presentation raspberry piMy presentation raspberry pi
My presentation raspberry piHusainBhaldar21
 
Raspberry Pi - Unlocking New Ideas for Your Library
Raspberry Pi - Unlocking New Ideas for Your LibraryRaspberry Pi - Unlocking New Ideas for Your Library
Raspberry Pi - Unlocking New Ideas for Your LibraryBrian Pichman
 
Raspberry pi technical documentation
Raspberry pi technical documentationRaspberry pi technical documentation
Raspberry pi technical documentationGR Techno Solutions
 
Raspberry pi glossary of terms dictionary extended
Raspberry pi glossary of terms dictionary extendedRaspberry pi glossary of terms dictionary extended
Raspberry pi glossary of terms dictionary extendedWiseNaeem
 
Introduction To Raspberry Pi with Simple GPIO pin Control
Introduction To Raspberry Pi with Simple GPIO pin ControlIntroduction To Raspberry Pi with Simple GPIO pin Control
Introduction To Raspberry Pi with Simple GPIO pin ControlPradip Bhandari
 
Raspberry Pi Session - 22_11_2014
Raspberry Pi Session - 22_11_2014Raspberry Pi Session - 22_11_2014
Raspberry Pi Session - 22_11_2014Mandeesh Singh
 
Raspbeery Pi : An Introduction
Raspbeery Pi : An IntroductionRaspbeery Pi : An Introduction
Raspbeery Pi : An IntroductionVatsal N Shah
 

Similar a Single Board Computers & Raspberry Pi Basics (20)

Iaetsd the universal brain for all robots
Iaetsd the universal brain for all robotsIaetsd the universal brain for all robots
Iaetsd the universal brain for all robots
 
How to choose your project controller
How to choose your project controllerHow to choose your project controller
How to choose your project controller
 
Rassberry pi
Rassberry piRassberry pi
Rassberry pi
 
Iaetsd the world’s smallest computer for programmers and app developers
Iaetsd the world’s smallest computer for programmers and app developersIaetsd the world’s smallest computer for programmers and app developers
Iaetsd the world’s smallest computer for programmers and app developers
 
Raspberry pi
Raspberry piRaspberry pi
Raspberry pi
 
Raspberry Pi introduction
Raspberry Pi introductionRaspberry Pi introduction
Raspberry Pi introduction
 
Raspberry pi technology
Raspberry pi technologyRaspberry pi technology
Raspberry pi technology
 
Rasp berry Pi
Rasp berry PiRasp berry Pi
Rasp berry Pi
 
Raspberry Pi
Raspberry PiRaspberry Pi
Raspberry Pi
 
Introduction aboout raspberry PI
Introduction aboout raspberry PIIntroduction aboout raspberry PI
Introduction aboout raspberry PI
 
Raspberry Pi Free Session - 20_09_2014
Raspberry Pi Free Session - 20_09_2014Raspberry Pi Free Session - 20_09_2014
Raspberry Pi Free Session - 20_09_2014
 
My presentation raspberry pi
My presentation raspberry piMy presentation raspberry pi
My presentation raspberry pi
 
Raspberry Pi - Unlocking New Ideas for Your Library
Raspberry Pi - Unlocking New Ideas for Your LibraryRaspberry Pi - Unlocking New Ideas for Your Library
Raspberry Pi - Unlocking New Ideas for Your Library
 
Raspberry pi
Raspberry piRaspberry pi
Raspberry pi
 
Raspberry pi
Raspberry piRaspberry pi
Raspberry pi
 
Raspberry pi technical documentation
Raspberry pi technical documentationRaspberry pi technical documentation
Raspberry pi technical documentation
 
Raspberry pi glossary of terms dictionary extended
Raspberry pi glossary of terms dictionary extendedRaspberry pi glossary of terms dictionary extended
Raspberry pi glossary of terms dictionary extended
 
Introduction To Raspberry Pi with Simple GPIO pin Control
Introduction To Raspberry Pi with Simple GPIO pin ControlIntroduction To Raspberry Pi with Simple GPIO pin Control
Introduction To Raspberry Pi with Simple GPIO pin Control
 
Raspberry Pi Session - 22_11_2014
Raspberry Pi Session - 22_11_2014Raspberry Pi Session - 22_11_2014
Raspberry Pi Session - 22_11_2014
 
Raspbeery Pi : An Introduction
Raspbeery Pi : An IntroductionRaspbeery Pi : An Introduction
Raspbeery Pi : An Introduction
 

Más de Eueung Mulyana

Hyper-Connectivity and Data Proliferation - Ecosystem Perspective
Hyper-Connectivity and Data Proliferation - Ecosystem PerspectiveHyper-Connectivity and Data Proliferation - Ecosystem Perspective
Hyper-Connectivity and Data Proliferation - Ecosystem PerspectiveEueung Mulyana
 
Industry 4.0 And Beyond The A.I* For Surviving A Tech-Accelerated World
Industry 4.0 And Beyond The A.I* For Surviving A Tech-Accelerated WorldIndustry 4.0 And Beyond The A.I* For Surviving A Tech-Accelerated World
Industry 4.0 And Beyond The A.I* For Surviving A Tech-Accelerated WorldEueung Mulyana
 
Blockchain Introduction
Blockchain IntroductionBlockchain Introduction
Blockchain IntroductionEueung Mulyana
 
Bringing Automation to the Classroom: A ChatOps-Based Approach
Bringing Automation to the Classroom: A ChatOps-Based ApproachBringing Automation to the Classroom: A ChatOps-Based Approach
Bringing Automation to the Classroom: A ChatOps-Based ApproachEueung Mulyana
 
FinTech & Cryptocurrency Introduction
FinTech & Cryptocurrency IntroductionFinTech & Cryptocurrency Introduction
FinTech & Cryptocurrency IntroductionEueung Mulyana
 
Open Source Networking Overview
Open Source Networking OverviewOpen Source Networking Overview
Open Source Networking OverviewEueung Mulyana
 
ONOS SDN Controller - Clustering Tests & Experiments
ONOS SDN Controller - Clustering Tests & Experiments ONOS SDN Controller - Clustering Tests & Experiments
ONOS SDN Controller - Clustering Tests & Experiments Eueung Mulyana
 
Open stack pike-devstack-tutorial
Open stack pike-devstack-tutorialOpen stack pike-devstack-tutorial
Open stack pike-devstack-tutorialEueung Mulyana
 
ONOS SDN Controller - Introduction
ONOS SDN Controller - IntroductionONOS SDN Controller - Introduction
ONOS SDN Controller - IntroductionEueung Mulyana
 
OpenDaylight SDN Controller - Introduction
OpenDaylight SDN Controller - IntroductionOpenDaylight SDN Controller - Introduction
OpenDaylight SDN Controller - IntroductionEueung Mulyana
 
Android Programming Basics
Android Programming BasicsAndroid Programming Basics
Android Programming BasicsEueung Mulyana
 
Cloud Computing: Overview and Examples
Cloud Computing: Overview and ExamplesCloud Computing: Overview and Examples
Cloud Computing: Overview and ExamplesEueung Mulyana
 
selected input/output - sensors and actuators
selected input/output - sensors and actuatorsselected input/output - sensors and actuators
selected input/output - sensors and actuatorsEueung Mulyana
 
Connected Things, IoT and 5G
Connected Things, IoT and 5GConnected Things, IoT and 5G
Connected Things, IoT and 5GEueung Mulyana
 
Connectivity for Local Sensors and Actuators Using nRF24L01+
Connectivity for Local Sensors and Actuators Using nRF24L01+Connectivity for Local Sensors and Actuators Using nRF24L01+
Connectivity for Local Sensors and Actuators Using nRF24L01+Eueung Mulyana
 
NodeMCU with Blynk and Firebase
NodeMCU with Blynk and FirebaseNodeMCU with Blynk and Firebase
NodeMCU with Blynk and FirebaseEueung Mulyana
 
Trends and Enablers - Connected Services and Cloud Computing
Trends and Enablers  - Connected Services and Cloud ComputingTrends and Enablers  - Connected Services and Cloud Computing
Trends and Enablers - Connected Services and Cloud ComputingEueung Mulyana
 

Más de Eueung Mulyana (20)

FGD Big Data
FGD Big DataFGD Big Data
FGD Big Data
 
Hyper-Connectivity and Data Proliferation - Ecosystem Perspective
Hyper-Connectivity and Data Proliferation - Ecosystem PerspectiveHyper-Connectivity and Data Proliferation - Ecosystem Perspective
Hyper-Connectivity and Data Proliferation - Ecosystem Perspective
 
Industry 4.0 And Beyond The A.I* For Surviving A Tech-Accelerated World
Industry 4.0 And Beyond The A.I* For Surviving A Tech-Accelerated WorldIndustry 4.0 And Beyond The A.I* For Surviving A Tech-Accelerated World
Industry 4.0 And Beyond The A.I* For Surviving A Tech-Accelerated World
 
Blockchain Introduction
Blockchain IntroductionBlockchain Introduction
Blockchain Introduction
 
Bringing Automation to the Classroom: A ChatOps-Based Approach
Bringing Automation to the Classroom: A ChatOps-Based ApproachBringing Automation to the Classroom: A ChatOps-Based Approach
Bringing Automation to the Classroom: A ChatOps-Based Approach
 
FinTech & Cryptocurrency Introduction
FinTech & Cryptocurrency IntroductionFinTech & Cryptocurrency Introduction
FinTech & Cryptocurrency Introduction
 
Open Source Networking Overview
Open Source Networking OverviewOpen Source Networking Overview
Open Source Networking Overview
 
ONOS SDN Controller - Clustering Tests & Experiments
ONOS SDN Controller - Clustering Tests & Experiments ONOS SDN Controller - Clustering Tests & Experiments
ONOS SDN Controller - Clustering Tests & Experiments
 
Open stack pike-devstack-tutorial
Open stack pike-devstack-tutorialOpen stack pike-devstack-tutorial
Open stack pike-devstack-tutorial
 
Basic onos-tutorial
Basic onos-tutorialBasic onos-tutorial
Basic onos-tutorial
 
ONOS SDN Controller - Introduction
ONOS SDN Controller - IntroductionONOS SDN Controller - Introduction
ONOS SDN Controller - Introduction
 
OpenDaylight SDN Controller - Introduction
OpenDaylight SDN Controller - IntroductionOpenDaylight SDN Controller - Introduction
OpenDaylight SDN Controller - Introduction
 
Mininet Basics
Mininet BasicsMininet Basics
Mininet Basics
 
Android Programming Basics
Android Programming BasicsAndroid Programming Basics
Android Programming Basics
 
Cloud Computing: Overview and Examples
Cloud Computing: Overview and ExamplesCloud Computing: Overview and Examples
Cloud Computing: Overview and Examples
 
selected input/output - sensors and actuators
selected input/output - sensors and actuatorsselected input/output - sensors and actuators
selected input/output - sensors and actuators
 
Connected Things, IoT and 5G
Connected Things, IoT and 5GConnected Things, IoT and 5G
Connected Things, IoT and 5G
 
Connectivity for Local Sensors and Actuators Using nRF24L01+
Connectivity for Local Sensors and Actuators Using nRF24L01+Connectivity for Local Sensors and Actuators Using nRF24L01+
Connectivity for Local Sensors and Actuators Using nRF24L01+
 
NodeMCU with Blynk and Firebase
NodeMCU with Blynk and FirebaseNodeMCU with Blynk and Firebase
NodeMCU with Blynk and Firebase
 
Trends and Enablers - Connected Services and Cloud Computing
Trends and Enablers  - Connected Services and Cloud ComputingTrends and Enablers  - Connected Services and Cloud Computing
Trends and Enablers - Connected Services and Cloud Computing
 

Último

Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...Principled Technologies
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsJoaquim Jorge
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Scriptwesley chun
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobeapidays
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businesspanagenda
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUK Journal
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingEdi Saputra
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdflior mazor
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityPrincipled Technologies
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAndrey Devyatkin
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘RTylerCroy
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyKhushali Kathiriya
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...Neo4j
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)wesley chun
 

Último (20)

Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 

Single Board Computers & Raspberry Pi Basics

  • 1. LTKA Labs SBCs & Raspberry Pi Basics Eueung Mulyana http://eueung.github.io/ET3010/raspi ET-3010 | Attribution-ShareAlike CC BY-SA 1 / 59
  • 2. Outline Single Board Computers Raspberry Pi - Short Introduction RPi Pinout Raspbian - Getting Started Node-RED & Python 2 / 59
  • 4. A Single-Board Computer (SBC) is a computer built on a single circuit board, with microprocessor(s), memory, input/output (I/O) and other features required of a functional computer. SBCs typically provide a fanless, low-power computing solution. Current SBCs come with a wide variety of processor types, most with GPUs on-board. These processors range from X86 based processors from the traditional PC space (AMD and Intel) to ARM processors which have traditionally been used in the industrial and more recently mobile spaces. The most prevalent form of software used on SBCs is Linux with numerous derivations including Android, Ubuntu, Fedora, Debian and Arch Linux as well as FreeBSD. Many of today's SBCs have become so powerful that they are beginning to have the capability of modern day PCs and tablets. This trend will continue as more powerful processors make their way into the embedded computing market as ever-increasing performance/price ratios rise, as well as additional manufacturers enter into this "Wild West" frontier of supporting open source hardware and software for both DIYers and professionals alike. SBCs In 2006, a group based in the University of Cambridge's Computer Laboratory, decided to address the need for a low cost computing platform that would allow kids to learn how to program without the need for a full-¯edged home computer. The result was a $35 single board computer named Raspberry Pi. While initially designed as a tool for students to learn programming, the Raspberry Pi was adopted by makers, designers, students and even professional engineers and helped to launch the current boom in interest in SBCs. Ref: Electronic Design, Then and Now A Brief History of Single Board Computers 4 / 59
  • 5. 5 / 59 Nine Sub-$50 SBCs that Challenge the Raspberry Pi and BeagleBone Black 86Duino, A10-OLinuXino-Lime, Arduino TRE, Banana Pi, BPi D1, HummingBoard-i1, Odroid-C1, Orange Pi, and pcDuino3 Nano Ref: hackerboards.com
  • 6. 6 / 59 Top 10 Sub-$100 Hacker SBC List for 2015 (in Order of Importance) Ref: hackerboards.com
  • 7.   64-bit SBCs: DragonBoard 410c & Pine A64 7 / 59
  • 8. Raspberry Pi / RPi / RasPi Short Introduction 8 / 59
  • 9. What is a Raspberry Pi? The Raspberry Pi is a low cost, credit-card sized computer that plugs into a computer monitor or TV, and uses a standard keyboard and mouse. It is a capable little device that enables people of all ages to explore computing, and to learn how to program in languages like Scratch and Python. It's capable of doing everything you'd expect a desktop computer to do, from browsing the internet and playing high-de nition video, to making spreadsheets, word-processing, and playing games. What's more, the Raspberry Pi has the ability to interact with the outside world, and has been used in a wide array of digital maker projects, from music machines and parent detectors to weather stations and tweeting birdhouses with infra-red cameras. 9 / 59
  • 10. 10 / 59 Credit card sized single board computer Teach computer science in schools at an a!ordable price: Grade School, Middle School & High School Design and Development started in 2006 Raspberry PI Foundation founded in 2009 Release to Market Feb 2012 3 Million sold by June 2014 5 Million by 03/2015
  • 11. 11 / 59 Early Models A, B Raspberry PI Model A $25 - 256 MB RAM, 1 USB, No Ethernet, GPIO 26 Raspberry PI Model B $35 - 512 MB RAM, 2 USB, Ethernet , GPIO 26 Raspberry PI Model B+ $35 - 512 MB RAM, 4 USB, Ethernet, GPIO 40 All have HDMI Out with Audio All have Audio Jack out
  • 13. Model A/B: Broadcom BCM2835 (CPU & GPU) 256/512MB SDRAM 1/2 USB 2.0 Ports None/Ethernet Port HDMI Audio SD Card Slot Micro USB for power 13 / 59
  • 14. 14 / 59 RPi Model B Power
  • 15. 15 / 59 RPi Model B Audio & Video
  • 16. 16 / 59 RPi Model B Connectivity
  • 17. 17 / 59 RPi Model B Internals
  • 18. 18 / 59 RPi Model B Storage
  • 19. 19 / 59 RPi Model B Parts
  • 20. 20 / 59 CPU Overview BCM2835 ARM11J6JZF-S (ARM11 Family) ARMv6 Architecture Single Core 32-Bit RISC 700 MHz Clock Rate 8 Pipeline Stages Branch Prediction
  • 22. 22 / 59 RPi 2B BCM 2836 ARMv7 Architecture Quad Core 32-Bit RISC 900 MHz Clock Rate 1 GB RAM
  • 26. 26 / 59 RPi 3B BCM 2837 ARMv8 Architecture Quad Core 64-Bit 1.2 GHz Clock Rate 1 GB RAM
  • 36. 36 / 59 Interactive Pinout Diagram https://pinout.xyz
  • 37. The Raspberry Pi is a 3.3V device The GPIO pins are unbu!ered and unprotected, so if you short something out, you could fry your whole Pi, so be careful! 37 / 59 Notes   On Raspberry Pi, all GPIO banks are supplied from 3.3V. Connection of a GPIO to a voltage higher than 3.3V will likely destroy the GPIO block within the SoC.
  • 38. 38 / 59 Physical Computing RPi vs. Arduino Arduino boards are micro-controllers, not full computers. They don't run a full operating system, but simply execute written code as their  rmware interprets it. You lose access to the basic tools an operating system provides, but on the other hand, directly executing simple code is easier, and is accomplished with no operating system overhead. The main purpose of the Arduino board is to interface with sensors and devices, so it's great for hardware projects in which you simply want things to respond to various sensor readings and manual input. Ref: Digital Trends via Kopcak
  • 40. 40 / 59 RPi Operating Systems Ref: Software for the RPi
  • 41. 41 / 59 Raspbian Jessie Release 2016-03-18 Full Desktop vs. Lite
  • 42. 1. Plug the SD Card loaded with the Operating System into the Raspberry Pi. 2. If required, plug the USB keyboard and mouse into the Raspberry Pi, perhaps via a USB Hub. Connect the Hub to power, if necessary. 3. If required, plug the video cable into the display and into the Raspberry Pi. 4. Plug in your Network cable, or Wi-Fi dongle, if required. 5. Ensure that your USB Hub (if any) and display are working. 6. With your screen on, plug the other end of the power source into the Raspberry Pi. 7. Plug the power source into the main socket, and switch it on. 8. If connected to a display, the Raspberry Pi should boot up and display messages on the screen. 9. If running headless, it should boot up. When the leds have stopped ¯ashing, connect to the Raspberry Pi from the remote computer. Whether this works will depend on the operating system you are using; the Raspian Linux operating system is con gured to allow SSH connections by default. 42 / 59 General Steps It is always recommended to connect the MicroUSB Power to the unit last (while most connections can be made live, it is best practice to connect items such as displays and other connections with the power turned o!). Ref: Basic Setup
  • 43. 43 / 59 Flashing SD Card Rufus
  • 45. 45 / 59 SSH via PuTTY
  • 46. 46 / 59 SSH Console raspi-config
  • 47. Remote SSH Session #credential:pi/raspberry $sudoraspi-config #afterreboot $df-h $uname-a $lsb_release-a TightVNC Server $sudoapt-getinstalltightvncserver $tightvncserver #accesspassword,min6chars $vncserver:1-geometry800x600-depth24 $sudoservicelightdmstop 47 / 59 Some CLIs
  • 48. 48 / 59 VNC Client
  • 51. Node-RED is a tool for wiring together hardware devices, APIs and online services in new and interesting ways. Node-RED provides a browser-based ¯ow editor that makes it easy to wire together ¯ows using the wide range nodes in the palette. Flows can be then deployed to the runtime in a single-click. JavaScript functions can be created within the editor using a rich text editor. A built-in library allows you to save useful functions, templates or ¯ows for re-use. Ref: Node-RED 51 / 59 Node-RED A visual tool for wiring the Internet of Things
  • 56. 56 / 59 Python via IDLE importRPi.GPIOasGPIO importtime GPIO.setmode(GPIO.BCM) GPIO.setwarnings(False) led=4 GPIO.setup(led,GPIO.OUT) defblink(pin): GPIO.output(pin,1) time.sleep(1) GPIO.output(pin,0) time.sleep(1) foriinrange(0,10): blink(led) GPIO.cleanup()
  • 58. Refs 1. Top ten sub-$100 hacker SBCs for your holiday pleasure 2. Ringing in 2015 with 40 Linux-friendly hacker SBCs 3. Cli! Ortmeyer, Then and Now A Brief History of Single Board Computers, Electronic Design, Issue 6, December 2014 4. RPi Low-level peripherals - eLinux.org 5. Introducing the Raspberry Pi 3 | Hackaday 6. Adafruit Learning System 7. Je!rey Kopcak, An Introduction to the Credit-Card Sized Computer 8. The MagPi Magazine - The oþcial Raspberry Pi magazineThe MagPi Magazine 9. Mike Linnen, What can I do with a Raspberry Pi 10. Jon Holton and Tim Fratangelo, Raspberry Pi Architecture 58 / 59
  • 59. END Eueung Mulyana http://eueung.github.io/ET3010/raspi LTKA Labs | Attribution-ShareAlike CC BY-SA 59 / 59