SlideShare ist ein Scribd-Unternehmen logo
1 von 59
Downloaden Sie, um offline zu lesen
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

Weitere Àhnliche Inhalte

Was ist angesagt?

My arduino presentation
My arduino presentationMy arduino presentation
My arduino presentationSham Arsenal
 
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!
 
Introduction to Raspberrypi
Introduction to  RaspberrypiIntroduction to  Raspberrypi
Introduction to RaspberrypiIheb Ben Salem
 
Low power vlsi design ppt
Low power vlsi design pptLow power vlsi design ppt
Low power vlsi design pptAnil Yadav
 
Raspberry Pi (Introduction)
Raspberry Pi (Introduction)Raspberry Pi (Introduction)
Raspberry Pi (Introduction)Mandeesh Singh
 
Nodemcu - introduction
Nodemcu - introductionNodemcu - introduction
Nodemcu - introductionMichal Sedlak
 
Raspberry pi ppt
Raspberry pi pptRaspberry pi ppt
Raspberry pi pptPavanKumar3601
 
Raspberry pi
Raspberry piRaspberry pi
Raspberry piPravesh Sahu
 
Introduction to Arduino
Introduction to ArduinoIntroduction to Arduino
Introduction to Arduinoyeokm1
 
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
 
SoC: System On Chip
SoC: System On ChipSoC: System On Chip
SoC: System On ChipSantosh Verma
 
System On Chip
System On ChipSystem On Chip
System On ChipA B Shinde
 
Arduino
ArduinoArduino
Arduinovipin7vj
 

Was ist angesagt? (20)

My arduino presentation
My arduino presentationMy arduino presentation
My arduino presentation
 
What is Arduino ?
What is Arduino ?What is Arduino ?
What is Arduino ?
 
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...
 
Introduction to Raspberrypi
Introduction to  RaspberrypiIntroduction to  Raspberrypi
Introduction to Raspberrypi
 
Low power vlsi design ppt
Low power vlsi design pptLow power vlsi design ppt
Low power vlsi design ppt
 
Raspberry Pi (Introduction)
Raspberry Pi (Introduction)Raspberry Pi (Introduction)
Raspberry Pi (Introduction)
 
Nodemcu - introduction
Nodemcu - introductionNodemcu - introduction
Nodemcu - introduction
 
Raspberry pi
Raspberry piRaspberry pi
Raspberry pi
 
Raspberry pi ppt
Raspberry pi pptRaspberry pi ppt
Raspberry pi ppt
 
Raspberry pi
Raspberry piRaspberry pi
Raspberry pi
 
Esp8266 basics
Esp8266 basicsEsp8266 basics
Esp8266 basics
 
Embedded Systems and IoT
Embedded Systems and IoTEmbedded Systems and IoT
Embedded Systems and IoT
 
SOC design
SOC design SOC design
SOC design
 
Introduction to Arduino
Introduction to ArduinoIntroduction to Arduino
Introduction to Arduino
 
Raspberry Pi
Raspberry PiRaspberry Pi
Raspberry Pi
 
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
 
Arduino
ArduinoArduino
Arduino
 
SoC: System On Chip
SoC: System On ChipSoC: System On Chip
SoC: System On Chip
 
System On Chip
System On ChipSystem On Chip
System On Chip
 
Arduino
ArduinoArduino
Arduino
 

Andere mochten auch

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
 

Andere mochten auch (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
 

Ähnlich wie 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
 
Rassberry pi
Rassberry piRassberry pi
Rassberry piJunaid Raja
 
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
 
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
 
Raspberry pi Board Hardware & Software Setup
Raspberry pi Board Hardware & Software SetupRaspberry pi Board Hardware & Software Setup
Raspberry pi Board Hardware & Software SetupRANAALIMAJEEDRAJPUT
 

Ähnlich wie 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
 
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
 
Raspberry pi Board Hardware & Software Setup
Raspberry pi Board Hardware & Software SetupRaspberry pi Board Hardware & Software Setup
Raspberry pi Board Hardware & Software Setup
 

Mehr von 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
 
Basic onos-tutorial
Basic onos-tutorialBasic onos-tutorial
Basic onos-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
 

Mehr von 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
 

KĂŒrzlich hochgeladen

🐬 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
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
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
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxOnBoard
 
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
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024Results
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Igalia
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationRidwan Fadjar
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking MenDelhi Call girls
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountPuma Security, LLC
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Paola De la Torre
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Allon Mureinik
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | DelhiFULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhisoniya singh
 

KĂŒrzlich hochgeladen (20)

🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
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
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptx
 
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
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | DelhiFULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
 

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